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

白昼怎懂夜的黑 提交于 2019-12-06 02:12:06

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/7978910/how-do-i-use-the-new-bytecompile-field-in-r-2-14

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!