Re: [R] Generating R plots via Ruby CGI - solved

2009-09-03 Thread Michael Richardson
My original problem was an inability to generate R plots using the following scenario: 1. HTML page sends data to Ruby CGI 2. Ruby CGI passes on data to R plotting script, which generates a plot 3. Ruby CGI passes plot back to user With help from Scott Sherrill-Mix on this list and

[R] Generating R plots via Ruby CGI

2009-08-11 Thread Michael Richardson
Greetings, I'm trying to debug a simple two-line plot routine in R called test.R: cor(swiss) plot(swiss$Catholic, swiss$Examination) These commands work fine when typed into R. They also work fine when I invoke this routine by the following line into my terminal: R --slave