power
power

Reputation: 1760

How do I use the new 'ByteCompile' field in R-2.14?

I would like to the use the 'ByteCompile' field in R 2.14. However, "Writing R Extensions" only describes this field, but does not say what value it should be set to. How should i use it? Do you have examples?

Is it the same as "LazyData: yes"?

I also asked this question on the r-devel mailinglist.

Upvotes: 5

Views: 548

Answers (1)

David Heffernan
David Heffernan

Reputation: 613382

It's a boolean value. Set it to TRUE or FALSE. If you do not specify it in the DESCRIPTION file then it defaults to FALSE. For convenience you could alternatively use yes or no for these boolean fields.

Note that I too could find no documentation for this, or perhaps did not know how to interpret the documentation. I worked it out from the source.

Upvotes: 8

Related Questions