[Rd] RSPerl...

Peter Dalgaard BSA p.dalgaard@biostat.ku.dk
02 Nov 2000 15:04:53 +0100

rossini@blindglobe.net (A.J. Rossini) writes:

> Duncan -
> (but sent to R-devel, for any other thoughts?)
> How do you envision RSPerl being used?  Without having seen the
> details, I can think of playing with strings; is there a preferred
> incantation for stringification of R objects (serialization)?

I don't know if it's preferred, but the default thing you get if you
edit() an R object is that the editor is started on the results of
dput() and the result is subjected to eval(parse(...)). Perl might
just be smart enough to handle data in that form.

Another idea would be to use mechanisms like in .Tcl.args where
there's a layer that stringifies R objects (into what? Perl code?)
before passing them to Perl. With Perl's well-known ojections to fixed
rules, that might be tricky, but who knows?

Seeing some sketches of the functionality you want to achieve might be

   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch