Skip to content
Prev 286490 / 398502 Next

Help needed! Error in setwd(newdir) : cannot change working directory

On Sun, Feb 26, 2012 at 04:12:03PM -0500, ying chen wrote:
Print the variable "newdir" to see, whether it contains, what you expect.
Loading libraries in this way does not depend on the working directory.
Try print(newdir) before setwd(newdir).

Petr Savicky.