[R] Running rscript in windows

vikrant vikrant.shimpi at tcs.com
Thu Feb 11 06:58:25 CET 2010


I saved the function in test.R file on Desktop. Then after starting R I
changed my directory to desktop.
and tried the command source("test.R") it gave me following error

Error in file(file, "r", encoding = encoding) : 
  cannot open the connection
In addition: Warning message:
In file(file, "r", encoding = encoding) :
  cannot open file 'test.R': No such file or directory
View this message in context: http://n4.nabble.com/Running-rscript-in-windows-tp1475671p1476891.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list