[Rd] system.file
Torsten Hothorn
Torsten.Hothorn@rzmail.uni-erlangen.de
Fri, 20 Apr 2001 08:38:45 +0200 (MEST)
I'm a little bit confused since this worked until R-1.2.2:
in a private package `maxstat' I added
Tab2 <- as.matrix(read.table(system.file("LausenTab2.dat",
+ package="maxstat")[1]))
to the examples of a function `pLausen92'.
`examples(pLausen92)' succeeds but
`R CMD check maxstat' fails with
> Tab2 <- as.matrix(read.table(system.file("LausenTab2.dat",
+ package="maxstat")[1]))
Error in file(file, "r") : cannot open file `'
Execution halted
`LausenTab2.dat' lives in `maxstat/inst'.
Torsten
> version
_
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status Under development (unstable)
major 1
minor 3.0
year 2001
month 04
day 19
language R
>
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._