Whenever I tried to install packages in R I got error "buffer overflow detected" or something like that. Somebody suggested to build R from sources and it was a real pain run the configure file:
Step 1:
Get the compressed R installer from CRAN, untar to a folder and go to that folder.
Step2:
run ./configure --with-readline=no. It will give error, fortran has to be installed by the following command:
sudo apt-get install fort77
Another error comes up which says:
checking whether mixed C/Fortran code can be run
Then put:
$ sudo mv /usr/lib/libf2c.so /usr/lib/libf2c.so_backup
$ sudo ln -s /usr/lib/libf2c.a /usr/lib/libf2c.so
Then:
sudo apt-get install libX11-dev
sudo apt-get install libxt-dev
Then :
make
make install etc.
No comments:
Post a Comment