vikrant wrote:
Thanks a lot, really. dir() option showd my desktop files and "test.R" was
shown as "test.R.txt"
when I run source("test.R.txt") it worked.

Just for your information,
I changed the directory using Menu options File-> change dir.
I verified the same using getwd() command in R. '


This is due to the bizarre default in Windows of suppressing file extensions. Turn that off, so you can see what files are really named, and you will not be confused by secret renamings like this one.

Duncan Muroch

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to