Re: [R] Lazy loading of CSV file

2014-04-16 Thread Luca Cerone
I just found out that the function "delayedAssign" is what I was looking for. 2014-04-16 16:51 GMT+02:00 Luca Cerone : > Hi Jeff, > thanks for your reply. > > I read about it in the documentation and I plan to build the functions to > download the csv and convert to rda in the future. > At the mo

Re: [R] Lazy loading of CSV file

2014-04-16 Thread Luca Cerone
Hi Jeff, thanks for your reply. I read about it in the documentation and I plan to build the functions to download the csv and convert to rda in the future. At the moment, however, I am looking for a quick and dirty solution to lazy load the files I already have. (I know I could convert them strai

Re: [R] Lazy loading of CSV file

2014-04-16 Thread Jeff Newmiller
The standard way to put data into a package is to convert it to RDA as described in the Writing R Extensions document. This is faster and more compact than CSV. --- Jeff NewmillerThe . ..

[R] Lazy loading of CSV file

2014-04-16 Thread Luca Cerone
Hi, in a package I am developing some functions need to use some external data. I have these data as a set of .csv files that I have placed in the inst/extdata folder. At the moment I have a file "db-internal.r" where I load all the internal databases that could be used by the functions in my pac