[R] Difficulties with setting working directory

Anže Dejak anze.dejak at gmail.com
Fri Oct 14 20:52:06 CEST 2016


Greetings,

Firstly, I'd hope this is the correct e-mail address to ask about specific
problems refering to problems with R. If it isn't, I kindly ask of you to
re-direct me to the correct contact person.

So, the thing with my version of R (I'm using RStudio for R x64 3.3.0 in,
currently, Windows 7) is, that I'm able to set the working directory
temporary (through using setwd() function), but once I try to set it
permanently (through "Session -> Set Working Directory -> Choose
Directory..."), this error appears: Error in setwd("~/...") : cannot change
working directory.

As I've seen online on certain forums, the problem, supposedly, is that R
in Windows is unable to recognize the ~ sign. But without it, I'm unable to
set the working directory for more than a session.

I'd hope you have a possible answer to this error.

Thank you for your time and for reading this long e-mail and I hope you
have a fine day, Anže D.

	[[alternative HTML version deleted]]



More information about the R-help mailing list