Hello, I installed R on Windows Terminal Server (a variant of NT) from the binary release. This is my first encounter with R. I have two questions. The initialization time is very long, several minutes between clicking on the "R 1.7.0" icon and getting to the ">" prompt. During that time, the machine appears to be idle. When it finally comes ready, I'm presented with a warning that might be related: [...] Type `q()' to quit R. > x <- rnorm(50) Warning message: package nls in options("defaultPackages") was not found Given that the CPU is idle during the delay, it seems likely R is waiting for, and timing out on, some resource. Can I perhaps restrict or display what happens at initialization? It may be I don't need whatever it is that's causing the delay. FWIW, the machine is a dual-processor Pentium something @ 450 MHz w/ 512 MB RAM. The second question is simple: How do I list the installed packages? I haven't found the answer in the "Introduction to R" or the data reference. I would just like to confirm that the ODBC package is included in the Win32 release binary. My next step is to hook up R to our database and compare its performance to SAS's. Some of my colleagues had bad experiences with S some years ago, and are wary of using R for that reason. Thank you for your kind attention. --jkl ----------------------------------------- The information contained in this transmission may contain privileged and confidential information and is intended only for the use of the person(s) named above. If you are not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender immediately by reply e-mail and destroy all copies of the original message. Please note that we do not accept account orders and/or instructions by e-mail, and therefore will not be responsible for carrying out such orders and/or instructions.
[Duncan Murdoch advised me offlist. Thanks for your help, Duncan. I tried to reply directly but your spam filter doesn't like my corporate email setup.] I turned off all the initialization options I could, and set --verbose. It seems like each step is slow, rather than racing to one point and stopping for a long time. The machine is behind a firewall with an http proxy, and I haven't found out how (if possible) to tell R about it. Does that matter at startup time? Trying to add a package yields:> local({a <- CRAN.packages()+ install.packages(select.list(a[,1],,TRUE), .libPaths()[1], available=a)}) trying URL `http://cran.r-project.org/bin/windows/contrib/1.7/PACKAGES' unable to connect to 'cran.r-project.org' on port 80. Error in download.file(url = paste(contriburl, "PACKAGES", sep = "/"), : cannot open URL `http://cran.r-project.org/bin/windows/contrib/1.7/PACKAGES' even though that URL works fine in IE. I understand I should be able to use Rcmd to install packages, but its perl scripts appear to be missing: $ rcmd --version Can't open perl script "D:\Programs\R\rw1070/bin/--version": No such file or directory Among the commands listed in in the appendix, the only installed script is rw1070\bin\BATCH. At the moment, it seems: 1. I cannot install packages via Rgui, because I don't have nonproxied access to the internet. 2. I cannot install packages via Rcmd. What to do? Thanks very much. --jkl ----------------------------------------- The information contained in this transmission may contain privileged and confidential information and is intended only for the use of the person(s) named above. If you are not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender immediately by reply e-mail and destroy all copies of the original message. Please note that we do not accept account orders and/or instructions by e-mail, and therefore will not be responsible for carrying out such orders and/or instructions.
> From: Lowden, James K [mailto:LowdenJK at bernstein.com] > Sent: June 2, 2003 5:09 PM > > At the moment, it seems: > > 1. I cannot install packages via Rgui, because I don't have > nonproxied access to the internet. > 2. I cannot install packages via Rcmd. > > What to do?Never mind. A little RTFM time found the "install from a zip file" option. I'm still stuck wrt the start up time, though. thanks. --jkl ----------------------------------------- The information contained in this transmission may contain privileged and confidential information and is intended only for the use of the person(s) named above. If you are not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender immediately by reply e-mail and destroy all copies of the original message. Please note that we do not accept account orders and/or instructions by e-mail, and therefore will not be responsible for carrying out such orders and/or instructions.