[R-sig-Geo] R from cgi and Xvfb

2008-01-16 Thread G. Allegri
Hi everyone. I'm sorry for the question maybe OT. I'm trying to use R and Python to run some scripts via web interface. I've successfully setup mod_python for Apache and the rpy module. R needs X11 to use png() and jpeg() devices, so I have installed Xvfb (X virtual framebuffer). I works

Re: [R-sig-Geo] regression kriging in gstat with skewed distributions

2008-01-16 Thread Tomislav Hengl
Dear Giovanni, Logit transformation can be automatically applied to any variables which has a lower and upper physical limits (e.g. 0-100%). In R, you can transform a variable to logits by e.g.: points = read.dbf(points.dbf) points$SANDt = log((points$SAND/100)/(1-(points$SAND/100))) After

Re: [R-sig-Geo] 4. R from cgi and Xvfb (G. Allegri)

2008-01-16 Thread Marcelo Oliveira
Giovanni, This issue could be related to user permissions. See if you can get Apache running under a user with display access rights. Good Luck, Marcelo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, January 16,

Re: [R-sig-Geo] 4. R from cgi and Xvfb (G. Allegri)

2008-01-16 Thread G. Allegri
Thanks Marcelo, I've tried using the suexec module in apache2 (it permits to change userid and groupid on the base of the scripts called), but from documentation appears to work only for CGI and SSI, not with mod_python. So, I change mailing-list, since the problem is almost OT now in this one :-)

Re: [R-sig-Geo] R from cgi and Xvfb

2008-01-16 Thread G. Allegri
GDD... I had troubles compiling thi package, and I can't solve it. It tries to create some objects it cannot, but headers and dependencies semm allright. I try again 2008/1/16, Don MacQueen [EMAIL PROTECTED]: Have you looked into the GDD package? -Don At 11:04 AM +0100 1/16/08, G. Allegri

Re: [R-sig-Geo] LL into national grid system, discrepancy between spTransform and Geocalc

2008-01-16 Thread Roger Bivand
On Wed, 16 Jan 2008, ahimsa campos-arceiz wrote: Dear sig-geo listeRs, I've been using an old version of the program geocalc (The geographic calculator) to transform my field GPS data from the original WGS84 lat-long to the local National_grid_system (Kandawala, in Sri Lanka) I recently