"Duncan Murdoch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On 12/11/2006 2:21 PM, Earl F. Glynn wrote: >> "Dieter Menne" <[EMAIL PROTECTED]> wrote in message >> news:[EMAIL PROTECTED] >>> Aimin Yan <aiminy <at> iastate.edu> writes: >>>> >>>> I want to set default directory for R when I start R. >>>> How to do this? >>> >>> In Windows, I prefer the method described in >>> >>> http://tolstoy.newcastle.edu.au/R/help/00b/2454.html
If R version-specific registry keys are used, one can even select from multiple versions of R by right clicking on a directory from Windows Explorer: To add key for R 2.4.0: R2.4.0.reg (delete the proxy part if not needed) ----- Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Folder\shell\R 2.4.0] [HKEY_CLASSES_ROOT\Folder\shell\R 2.4.0\command] @="C:\\Program Files\\R\\R-2.4.0\\bin\\Rgui.exe http_proxy=http://proxy01:8080 http_proxy_user=ask" ----- To delete this key: R2.4.0-Delete.reg ----- Windows Registry Editor Version 5.00 [-HKEY_CLASSES_ROOT\Folder\shell\R 2.4.0] ----- These files can be edited with Windows Notepad and modified for other versions. efg Earl F. Glynn Bioinformatics Stowers Institute for Medical Research ______________________________________________ R-help@stat.math.ethz.ch mailing list 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.