Possible Duplicate:
Change path.expand location (Win 7)
I would like to change the directory that path.expand("~/")
references on a windows system. Currently this goes to "C:/Users/home/Documents/" by default. How does one change this? Note that this is distinct from the working directory that is set with setwd()
You can change this by adding an R_USER variable to your Rprofile.site file.
Sys.setenv(R_USER="/my/desired/path/to/tilde")
This does not work on linux systems. See a related question: How to reset path.expand on tilde
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With