Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

setwd() function in R does not work in Sage

Hello, I am trying to use setwd() for R in the sage notebook to set the current working directory. But it does not seem to work. I get the following

setwd("/home/foo/Code/")
getwd()   
[1] "/tmp/tmpR8Ukt0"

So as shown, the setwd() command has no effect. Any suggestions?