search for: examplt

Displaying 1 result from an estimated 1 matches for "examplt".

Did you mean: example
2001 Nov 02
3
Testing for the existence of a file.
Is there any way to do this (test for the existence of a file) in R? In Splus (3.4) I can do unix(paste("test -r", fnm), output = F) where ``fnm'' is a character string giving the pathname of the file. This returns 0 if the file exists and 256 if it doesn't. I thought in R to do something like system(paste("test -r", fnm), intern =T) but this