Hello All Thanks for all responses in advance, I am invoking R from command line from C:\TEMP as
C:\Program Files\R\R-2.9.1\bin\R.exe --vanilla -f C:\temp\test.R On two different machines The test.R looks like: --SNIP- print(c("CurrDir=", getwd())) proc.time() warnings() --SNIP- On one machine I get the currDir Correctly printed as C:/TEMP But on another it gets printed as C:/ Does anyone know why this can be.. Is there some env variable that R is giving priority over current dir? Thanks Shank [[alternative HTML version deleted]] ______________________________________________ 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.