Carl-Frederik.Scharffenorth@gmx.de
2002-Jul-30 12:20 UTC
[R] Some problems with installing a package under Windows
Hello! I've just installed R and I'm doing my first steps. I tried to install a package from a local zip.file. ------------------> {pkg <- select.list(sort(.packages(all.available = TRUE)))+ if(nchar(pkg)) library(pkg, character.only=TRUE)}> install.packages("C:/schacar/rw1051/RPgSQL.zip", .libPaths()[1], CRAN NULL)updating HTML package descriptions ----------------- But after installing it is not available within the library. -----------------> {pkg <- select.list(sort(.packages(all.available = TRUE)))+ if(nchar(pkg)) library(pkg, character.only=TRUE)} ---------------- By using the select I only can load pre-installed packages. Did anybody using R under Windows have the some problems? Do you know what I'm doing wrong? Thanks in advance... Calle -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
ripley@stats.ox.ac.uk
2002-Jul-30 12:42 UTC
[R] Some problems with installing a package under Windows
On Tue, 30 Jul 2002 Carl-Frederik.Scharffenorth at gmx.de wrote:> Hello! > > I've just installed R and I'm doing my first steps. I tried to install a > package from a local zip.file. > > ------------------ > > {pkg <- select.list(sort(.packages(all.available = TRUE))) > + if(nchar(pkg)) library(pkg, character.only=TRUE)} > > install.packages("C:/schacar/rw1051/RPgSQL.zip", .libPaths()[1], CRAN > NULL) > updating HTML package descriptions > ----------------- > > But after installing it is not available within the library. > ----------------- > > {pkg <- select.list(sort(.packages(all.available = TRUE))) > + if(nchar(pkg)) library(pkg, character.only=TRUE)} > ---------------- > > By using the select I only can load pre-installed packages. Did anybody > using R under Windows have the some problems? Do you know what I'm doing wrong?The most likely guess is that the local zip file is not in the correct format, so please ask the person who provided it. -- 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 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._