[R-sig-Debian] Howto compile chemometrics package from source

Jose Brasil c2o.pro.br at gmail.com
Mon Sep 27 21:30:25 CEST 2010


Dear friends,

I'm confused about how to install packages from source.

I just updated R in Lenny from http://cran.fiocruz.br/bin/linux/debian/

I included in sources.list:

deb http://cran.fiocruz.br/bin/linux/debian lenny-cran/
deb-src  http://cran.fiocruz.br/bin/linux/debian lenny-cran/

Then:
apt-get update
apt-get install r-base r-base-dev

Then I downloaded the package chemometrics_0.8.tar.gz  from
http://cran.r-project.org/src/contrib/chemometrics_0.8.tar.gz

After untar I copied the dir chemometrics to /usr/lib/R/library and 
tried install.package(chemometrics) from R prompt (as root):

install.packages(chemometrics)
Erro em install.packages(chemometrics) : 
  objeto 'chemometrics' não encontrado

Could anyone give any help?

Thanks in advance,
Jose



More information about the R-SIG-Debian mailing list