Re: [R] Apt-get

2012-03-07 Thread beltrand
You can install R 2.14 from this ppa https://launchpad.net/~marutter/+archive/rrutter In the terminal type: sudo add-apt-repository ppa:marutter/rrutter sudo apt-get update And then choose the packages you want to install. -- View this message in context: http://r.789695.n4.nabble.com/Apt

[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

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

Re: [R] Apt-get

2012-03-15 Thread beltrand
To add to the above, as far as I know Cran's Ubuntu repository is only available for LTS ( Ubuntu 10.04 and soon 12.04, whenever they put the repository together) and if you are using non LTS's versions of Ubuntu Michael Rutter's ppa is definitely the way to go, it is very up to date. -- View thi

Re: [R] Apt-get

2012-03-17 Thread beltrand
I don't know, see if this helps. http://askubuntu.com/questions/53146/how-do-i-get-add-apt-repository-to-work-through-a-proxy -- View this message in context: http://r.789695.n4.nabble.com/Apt-get-tp4453839p4480997.html Sent from the R help mailing list archive at Nabble.com. __

Re: [R] Linux R / Windows client

2012-03-18 Thread beltrand
Not really answering your question but as an alternative suggestion you can get a nice gui/ide for R on a server by using Rstudio server, which is for Linux only. That way you won't need Windows at all. http://rstudio.org/ -- View this message in context: http://r.789695.n4.nabble.com/Linux-R-W

[R] Converting php arrays to data frame

2012-04-11 Thread beltrand
Hi, I am working on an implementation of R within some web application (R is just a part of a larger project, so R has to be incorporated within an existing setup) Here is the scenario, PHP grabs a csv dataset from some server and turns it into a 2 dimensional array (with each row being an arra