Hi I have tried to install some of the packages from the CRAN packages section. I am running a windows system. I did the following: (for example...) 1.downloaded the zip file (mgcv_0.9-5.tar) from http://cran.r-project.org/src/contrib/PACKAGES.html#sm 2.and saved it in the library folder of R 3.unzipped the file into the same folder 4.a folder named sm was created 5.from within R I loaded the package by using library(mgcv) Any help would be much appreciated.
allan clark wrote:> Hi > > I have tried to install some of the packages from the CRAN packages > section.This is a FAQ. See the R for Windows FAQs, Section 3.1: "Can I install packages (libraries) in this version?" BTW: Simply typing install.packages("mgcv") should do the trick. Uwe Ligges> I am running a windows system. > > I did the following: (for example...) > > 1.downloaded the zip file (mgcv_0.9-5.tar) from > http://cran.r-project.org/src/contrib/PACKAGES.html#sm > 2.and saved it in the library folder of R > 3.unzipped the file into the same folder > 4.a folder named sm was created > 5.from within R I loaded the package by using library(mgcv) > > Any help would be much appreciated. > > > ------------------------------------------------------------------------ > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the documentation. See rw-FAQ Q3.1. On Wed, 5 Nov 2003, allan clark wrote:> I have tried to install some of the packages from the CRAN packages > section. > > I am running a windows system. > > I did the following: (for example...) > > 1.downloaded the zip file (mgcv_0.9-5.tar) from > http://cran.r-project.org/src/contrib/PACKAGES.html#smThat is not a zip file, and you seem to be confusing mgcv and sm: mgcv comes with R so you don't need to install it (although you may now need to reinstall R).> 2.and saved it in the library folder of R > 3.unzipped the file into the same folder > 4.a folder named sm was created > 5.from within R I loaded the package by using library(mgcv) > > Any help would be much appreciated.-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
On Wed, 2003-11-05 at 09:45, allan clark wrote:> Hi > > I have tried to install some of the packages from the CRAN packages > section. > > I am running a windows system. > > I did the following: (for example...) > > 1.downloaded the zip file (mgcv_0.9-5.tar) fromA .tar file is not a ZIP file. It is a Unix/Linux archive file format. Please read Windows FAQ 3.1 on installing packages under Windows. http://cran.r-project.org/bin/windows/rw-FAQ.html There are several ways to install CRAN packages within the Windows GUI, either via menus or the command line, described there. If you should elect to download the .zip file directly from CRAN at: http://cran.r-project.org/bin/windows/contrib/ be sure that you are in the proper R version specific directory for the Contributed packages. You can then use the RGui menu option to install from a local zip file. HTH, Marc Schwartz