Re: [R] cannot load shared object /usr/lib/R/library/grDevices/libs//cairo.so

2012-03-15 Thread beltrand
I have figured it out. It turns out that it is not a R problem. libfontconfig.so.1 links to libfreetype, it happens that there are two sets of libfreetype files in my system, one from Ubuntu and another from xampp. When the php script is run to invoke R it uses the libfreetype files in /opt/lampp

[R] cannot load shared object /usr/lib/R/library/grDevices/libs//cairo.so

2012-03-14 Thread beltrand
Hi, I am trying to test out the scripts here as a proof of concept http://www.r-bloggers.com/integrating-php-and-r/ However, I am not able to reproduce the output graph in the browser. Rscripts is working fine as I run the command "Rscript /home/username/R/testscript.R 1000" for example, and a