I have managed to get rid the two warning messages simply by uninstalling and installing again R. Very likely that I disrupted the installation of a large package.
> Date: Fri, 12 Dec 2008 15:07:38 +0100 > From: lig...@statistik.tu-dortmund.de > To: dare...@hotmail.com > CC: r-h...@stat.math.ethz.ch > Subject: Re: [R] setting the R_Libs gives warning message from Rgui.exe > > > > Daren Tan wrote: >> Hi, >> >> I keep getting the error message and a pop-up window for selecting CRAN >> mirror server from Rgui.exe after setting the R_Libs >> >> Warning in install.packages(necessary[!installed], dep = T) : >> argument 'lib' is missing: using 'D:/Program Files/R/R-2.8.0.libs' > > This is a warning that R chooses the first library in the current list, > and this is obviously the one you intended, isn't it? > >> --- Please select a CRAN mirror for use in this session --- >> Error in contrib.url(repos, type) : > > This is the more interesting error. What is the whole message? > You may have chosen a non-working mirror or your internet connectrion is > broken, or ...or... or > ... > > > Uwe Ligges > > > >> >> I set the command for Rgui.exe to be >> "D:\Program Files\R\R-2.8.0\bin\Rgui.exe" --no-restore --no-save >> --max-mem-size 2000MB R_LIBS="D:/Program Files/R/R-2.8.0.libs" >> >>> sessionInfo() >> R version 2.8.0 (2008-10-20) >> i386-pc-mingw32 >> locale: >> LC_COLLATE=English_United States.1252;LC_CTYPE=English_United >> States.1252;LC_MONETARY=English_United >> States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252 >> attached base packages: >> [1] stats graphics grDevices datasets utils methods base >> other attached packages: >> [1] qvalue_1.1 >> loaded via a namespace (and not attached): >> [1] tools_2.8.0 >> >> >> >> _________________________________________________________________ >> [[elided Hotmail spam]] >> >> ______________________________________________ >> R-help@r-project.org 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. ______________________________________________ R-help@r-project.org 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.