Displaying 1 result from an estimated 1 matches for "kykladspecreg".
2012 Aug 21
1
R CMD build error with data files
...cified in my .R-file).
So I decided, following the advice in "Writing R extensions", to put these
files into a directory called inst/extdata.
The data directory now only has .R-files that read stuff from files in
inst/extdata.
This, unfortunately, doesn't seem to work.
For example,
kykladspecreg.R in data has one line reading
kykladspecreg <-
read.table(system.file("extdata","kykladspecreg.txt",package="prabclus")).
R CMD build gives
Warning in file(file, "rt") :
file("") only supports open = "w+" and open = "w+b"...