[R] file.info returning NA
Erich Neuwirth
erich.neuwirth at univie.ac.at
Thu Oct 7 14:37:45 CEST 2010
Windows 7, R-2.11.1 and R-2.12.0beta
When I do
file.info(list.files(getwd()))
I get what I expect, a dataframe with a lot of variables,
especially isdir, which tells me if the named object
is a file or a directory.
In the result of
file.info(list.files(paste(R.home(),"library",sep="/")))
all variables have only NA values, even when I start R
in elevated mode.
More information about the R-help
mailing list