setting the home directory in windows R
directory, r, windows
Solution
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
Problem
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()`