我是Ubuntu的新手,但我以前在Windows上有过R Studio的经验。在Windows上,如果我输入setwd("c:/users/me/desktop")或其他任何东西,我没有任何问题。然而,在使用Ubuntu时,我总是收到cannot change working directory错误,例如,如果我尝试setwd("home/me/desktop")、setwd("home")等,有没有某种方法可以更改Ubuntu的R Studio中的目录?
发布于 2015-12-23 13:27:57
我在我的终端中使用MacOS:> setwd("/home") >
所以你可以试试setwd("/home/me/desktop")
https://stackoverflow.com/questions/34429132
复制相似问题