[R] Compilation errors when installing gee

2011-01-26 Thread adam_pgsql
Hi, I am trying to install gee on our server but I get the error below. I do not have root on this machine so no control on how R was installed itself. It looks like it cannot find blas libs, the only ones i can find on the machine are: /usr/lib64/libblas.so.3 -> libblas.so.3.0.3 /usr/lib64/li

[R] how to divide each element of a matrix by a specific value per column

2011-01-27 Thread adam_pgsql
Hi, I'd like to divide each element of a matrix by a specific value per column. These specific values are stored in a list. For example: > x <- c(1,2,3,4,5) > y <- matrix(c(1:30), nrow = 6) Now I want to divide each element in y[,1] by x[1], y[,2] by x[2] etc. I have tried this > my_function

Re: [R] Perl-R bridge

2009-01-19 Thread adam_pgsql
you could take a look at this: http://www.omegahat.org/RSPerl/ but I'm not sure how well maintained it is currently. adam On 19 Jan 2009, at 02:00, ANJAN PURKAYASTHA wrote: Hi, I'm planning to access R from my perl scripts. The only noteworthy bridge seems to be Statistics-R-0.03