Displaying 1 result from an estimated 1 matches for "fspci".
Did you mean:
lspci
2000 Mar 27
1
Behavior different inside function?
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
Can anyone tell my why this should be so? Here is the program:
library(rpart)
wait <- function(str="Press a key when ready...")
readline(str)
doit <- function (fn=" ", sesnum, tit=" ", fm=" ") {
dsn <- paste(fn, sesnum, ".dat",...