- I was using RStudio for my project
- I'm trying out EMACS+ESS as an IDE since it can also serve as latex/python IDE
- previously i installed R packages in D (because they take up chunk of HDD)
- when i started ESS the R buffer only recognized the R library in C
- when i started R.exe from C and used library() it recognized the library in D
EDIT
apparently i can use .libPaths("d:/libpathhere")
to add a libpath
but if i restarted the emacs i found that i need to run this command again to add the libpath again
from the above, it seems the R run in the ESS stored its profile in a place different with R run from C:\program files
Another Question
1. how to make R-ESS autoload my R project folder on start
2. how to permanently store the setting of that other libpath in D drive in ESS's R so that it stays recognized after restarting emacs