On 5/2/06, Charilaos Skiadas cskiadas@uchicago.edu wrote:
On May 2, 2006, at 8:26 PM, Peter Cowan wrote:
You can fake it by doing 'R --save --restore --slave' which saves a .Rdata file with stored functions and variables and restores whatever one it can find. There of course can be side effects if a workspace exists from a previous use.
The side effects here would really be very undesirable, I think. Plus, this does not solve my main problem, of accessing the file real- time, as it is being written, from within Ruby.
Yes, I agree there could be bad side effects. Btw the default behavior is to load the last saved workspace.
I guess I don't fully understand what you'd like to do, but you might find the following useful:
http://www.approximity.com/cgi-bin/blogtari/index.rb/Tools/R@RubybindingsforR.txt
Ruby, isn't my thing so I cannot assess the quality or completeness.
Peter