Message-ID: <Pine.LNX.4.21.0104200834350.20588-100000@artemis.imbe.med.uni-erlangen.de>
Date: 2001-04-20T06:38:45Z
From: Torsten Hothorn
Subject: system.file
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._