Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

r

packages

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.

like image 581
power Avatar asked Nov 02 '11 10:11

power


1 Answers

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.

like image 81
David Heffernan Avatar answered Nov 15 '22 06:11

David Heffernan