Skip to content

Executing R from perl script called from browser

2 messages · Carl pfisterer, Simon Urbanek

#
Carl,

any reason why you're not using more reliable and faster solutions like FastRWeb? ;)
Anyway, your R code is not syntactically legal, so I would not be surprised if you don't see anything (open2 doesn't cover STDERR AFAIR). If I were you, I'd not use embedded code to start with -- you'd make your life (=debugging) much easier if you simply evaluated something like try(source('..foo.R'),silent=TRUE) -- and you don't need such complicated contraptions for that, actually ...

Cheers,
Simon
On Mar 31, 2011, at 6:58 PM, Carl pfisterer wrote: