[R] package install error in CentOS

2008-12-19 Thread Jeroen Ooms
I am trying to install package Cairo on CentOS 5.2, but I keep getting this error: * Installing *source* package 'Cairo' ... /usr/lib64/R/bin/INSTALL: ./configure: /bin/sh: bad interpreter: Permission denied ERROR: configuration failed for package 'Cairo' ** Removing '/usr/lib64/R/library/Cairo'

Re: [R] package install error in CentOS

2008-12-19 Thread Jeffrey Horner
Check that your data partitions have the 'exec' flag set in /etc/fstab, particulary the /tmp partition: http://www.centos.org/modules/newbb/viewtopic.php?topic_id=1687forum=31 Jeff Jeroen Ooms wrote: I am trying to install package Cairo on CentOS 5.2, but I keep getting this error: *

Re: [R] package install error in CentOS

2008-12-19 Thread Jeroen Ooms
solved: There was indeed a problem with exec rights in the /tmp dir as they were set by my VPS host. I fixed it by creating a dir 'tempdir' in my homedir, and giving it 777 rights. Then set the environment variable TMPDIR in R: Sys.setenv(TMPDIR=/home/jeroen/tempdir); install.packages(Cairo);