[R] Behavior different inside function?

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Mon Mar 27 23:52:01 CEST 2000

Stuart Luppescu <s-luppescu at uchicago.edu> writes:

> I'm stumped with this. When I execute the lines in the function singly, they
> run fine, but when I run the function, I get this error on the read.table()
> line:
> Error in count.fields(file, sep, quote, skip) : 
>         can't open file fspci1.dat

Stupid question #1: did you type in the name correctly? Is there
really an fspci1.dat in your working directory?

   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
r-help 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-help-request at stat.math.ethz.ch

More information about the R-help mailing list