On Mon, 2008-10-20 at 21:12 -0700, Eric Bell wrote:
> Resolved ... or a least made to go away.
> 
> It appears that the problem was caused in part due to loading another
> apache module supplied by R/Apache, as described at
> http://biostat.mc.vanderbilt.edu/rapache/ "R/Apache is a project
> dedicated to embedding the R interpreter inside the Apache 2.0 (and
> beyond) web server"
> 
> I was looking through the apache error log, and noticed the lines:
> 
>         Error in .Call("R_isMethodsDispatchOn", onOff, PACKAGE =
>         "base") : 
>           Incorrect number of arguments (2), expecting 1 for
>         R_isMethodsDispatchOn
>         
> I don't know if the R/Apache r_module is causing this or rpy2, but I
> decided to disable the r_module and voila, my script works ...

One possibility is that R gets initialized twice then (and R does not
like that). I'll look into having rpy2 detect this kind of situation.

>  well
> actually it doesn't, because now I get another error, but that's due to
> trying to use a call to JPEG, which requires that an X11 device be
> present, which it won't be running inside a web server.

R's man page for jpeg() states it, and alternatives to use when no X11.

> --eric
> 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to