[R] Building package - tab delimited example data issue
johannes_graumann at web.de
Thu Dec 6 16:34:46 CET 2007
Peter Dalgaard wrote:
>> Answering to myself and staying with the same example:
>> allows direct access to the example file (name).
> Yes, but...
> This works right until you turn on LazyData for your package, then you
> end up with only
> 00Index Rdata.rdb Rdata.rds Rdata.rdx
> in the data directory.
How would you do it in that case?
> Use the "inst" source subdir for files you want
> to have installed explicitly.
Well: you provided the example ;0) - sort of ...
> Also, in principle, it is
> system.file("data", "stroke.csv", package="ISwR")
> although platforms that do not understand "/" as the path separator are
> rare nowadays.
Thanks for that hint!
More information about the R-help