Assuming you are using the GUI you can use the Properties of the shortcut to tell R where to start.

On 07/08/2015 17:31, Mauricio Cornejo via R-help wrote:
Hi
After launching newly-installed R 3.2.1 (on Windows 7), I run the following two 
commands:
getwd()[1] "C:/ProgramData/Microsoft/Windows/Start Menu/Programs/R"
Sys.getenv('R_USER')[1] "C:\\Users\\<my username>\\Documents"
I would like the startup working directory to be that pointed to by R_USER.
I don't have administrative access to the machine.
Many thanks for any insight anyone can provide.
Mauricio
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


--
Michael
http://www.dewey.myzen.co.uk/home.html

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to