Waichler, Scott R
2005-Apr-22 15:38 UTC
[R] Problem with R-2.1.0: install.packages() doesn't work
I installed R-2.1.0 from source on a Linux box running Red Hat Enterprise Linux WS release 4 but install.packages() wouldn't work (see below). When I install R-2.0.1 from RPM on the same system, everything is fine. Version 2.1.0 (2005-04-18), ISBN 3-900051-07-0 . . .> options(CRAN = "cran.fhcrc.org") > install.packages("rgenoud")--- Please select a CRAN mirror for use in this session --- Error in inherits(x, "factor") : Object "res" not found>Scott Waichler Pacific Northwest National Laboratory scott.waichler at pnl.gov
Roger D. Peng
2005-Apr-22 15:43 UTC
[R] Problem with R-2.1.0: install.packages() doesn't work
What happens if you don't set the 'CRAN' option via 'options()' first and just run 'install.packages()'? -roger Waichler, Scott R wrote:> I installed R-2.1.0 from source on a Linux box running Red Hat > Enterprise Linux WS release 4 but install.packages() wouldn't work (see > below). When I install R-2.0.1 from RPM on the same system, everything > is fine. > > Version 2.1.0 (2005-04-18), ISBN 3-900051-07-0 > . . . > >>options(CRAN = "cran.fhcrc.org") >>install.packages("rgenoud") > > --- Please select a CRAN mirror for use in this session --- > Error in inherits(x, "factor") : Object "res" not found > > > Scott Waichler > Pacific Northwest National Laboratory > scott.waichler at pnl.gov > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! R-project.org/posting-guide.html >
Uwe Ligges
2005-Apr-22 15:48 UTC
[R] Problem with R-2.1.0: install.packages() doesn't work
Waichler, Scott R wrote:> I installed R-2.1.0 from source on a Linux box running Red Hat > Enterprise Linux WS release 4 but install.packages() wouldn't work (see > below). When I install R-2.0.1 from RPM on the same system, everything > is fine. > > Version 2.1.0 (2005-04-18), ISBN 3-900051-07-0 > . . . > >>options(CRAN = "cran.fhcrc.org")options(CRAN = ...) is outdated. See ?options.>>install.packages("rgenoud") > > --- Please select a CRAN mirror for use in this session --- > Error in inherits(x, "factor") : Object "res" not foundQuite probably you have no X11 connection to this machine. R tries to ask you which CRAN mirror you are going to choose, and it fails to present the tcltk window. You might want to call chooseCRANmirror(graphics=FALSE) and setRepositories(graphics=FALSE) prior to install.packages(). Uwe Ligges> > Scott Waichler > Pacific Northwest National Laboratory > scott.waichler at pnl.gov > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! R-project.org/posting-guide.html
Liaw, Andy
2005-Apr-22 17:13 UTC
[R] Problem with R-2.1.0: install.packages() doesn't work
> From: Uwe Ligges > > Waichler, Scott R wrote: > > > I installed R-2.1.0 from source on a Linux box running Red Hat > > Enterprise Linux WS release 4 but install.packages() > wouldn't work (see > > below). When I install R-2.0.1 from RPM on the same > system, everything > > is fine. > > > > Version 2.1.0 (2005-04-18), ISBN 3-900051-07-0 > > . . . > > > >>options(CRAN = "cran.fhcrc.org") > > options(CRAN = ...) is outdated. See ?options.But section 5.1 of R-admin still has: <quote> Alternatively, packages can be downloaded and installed from within R. First set the option CRAN to your nearest CRAN mirror, for example > options(CRAN = "cran.us.r-project.org") (You can also supply this as the repos argument.) </quote> This should probably be updated, too... Cheers, Andy> > >>install.packages("rgenoud") > > > > --- Please select a CRAN mirror for use in this session --- > > Error in inherits(x, "factor") : Object "res" not found > > > Quite probably you have no X11 connection to this machine. > R tries to ask you which CRAN mirror you are going to choose, and it > fails to present the tcltk window. > You might want to call > chooseCRANmirror(graphics=FALSE) > and > setRepositories(graphics=FALSE) > prior to install.packages(). > > Uwe Ligges > > > > > > > > > > Scott Waichler > > Pacific Northwest National Laboratory > > scott.waichler at pnl.gov > > > > ______________________________________________ > > R-help at stat.math.ethz.ch mailing list > > stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide! > R-project.org/posting-guide.html > > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > R-project.org/posting-guide.html > > >
Apparently Analagous Threads
- Rounding parameter values in genoud(), Rgenoud package
- Parallel computing in R for dummies--how to optimize an external model?
- Can't get Sweave syntax highlighting with Emacs
- Possible to get a definition of a function from a package to use without invoking the package?
- Using an image background with graphics