How to automatically load data in an R package? -
this easy answer that's been answered numerous times. lack terminology search answer.
i'm creating package. when package loads want have instant access data sets.
so lets dictionary data set.
i want able dictionary rather data(dictionary) load. how go doing this?
from r-exts.pdf
the ‘data’ subdirectory data files, either made available via lazy-loading or loading using data(). (the choice made ‘lazydata’ field in ‘description’ file: default not so.)
adding following description file should it:
lazydata: true
Comments
Post a Comment