Hello,
Please I am a learner. My operating system is ubuntus and I am trying to
install raster package from R-forge site. I entered sudo apt-get install
r-base-dev on the command line and that worked fine. I then typed R at the
command line so as to run R. Inside R, I typed >
install.packages("raster",repos="http://R-Forge.R-project.org<http://r-forge.r-project.org/>")
so as to install the package, but no luck. Below is the error message:

Warning in install.packages("raster", repos =
"http://R-Forge.R-project.org<http://r-forge.r-project.org/>")
:
  argument 'lib' is missing: using
'/home/ogbos/R/x86_64-pc-linux-gnu-library/2.8'
Warning: unable to access index for repository
http://R-Forge.R-project.org/src/contrib<http://r-forge.r-project.org/src/contrib>
Warning message:
In install.packages("raster", repos =
"http://R-Forge.R-project.org<http://r-forge.r-project.org/>")
:
  package ‘raster’ is not available


Where did I mess things up?

Could you also please tell me how to run R as root.

Your kind help will be much appreciated.
Thanks
Ogbos

        [[alternative HTML version deleted]]

_______________________________________________
R-SIG-Debian mailing list
R-SIG-Debian@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-debian

Reply via email to