Saturday, October 2, 2010

tm package on R

R 2.11 is needed by tm (tm_0.5-4.1.tar.gz) but only R 2.10 is in the lucid ubuntu repo

so

http://ubuntuforums.org/showthread.php?t=639710

deb http://cran.r-project.org/bin/linux/ubuntu lucid/

gpg --keyserver subkeys.pgp.net --recv-key E2A11821 
   gpg -a --export E2A11821 | sudo apt-key add - 
 
 
My R libraries installed to
$HOME/R/x86_64-pc-linux-gnu-library/2.11
So you need to add this path in the 'R console' Run configuration
 
then I got a 'checking for xml2-config... no' error when doing
   install.packages('XML')
 
so do 
 
$ sudo apt-get install libxml2-dev

No comments: