This looks great. Would it be possible to access an already running R session? Or is there currently a way of passing R objects to julia from R?
To avoid the XY problem, what I'm actually trying to do is call julia from R, passing to julia a data set from R, and getting results back into R. At this point what I'm planning to do is write a csv to a temp file in R, then call a julia script from R, then probably save results to a temp file or just print to STDOUT and deal with the rest in R. It's a bit tedious but it will work fine. If there is a better way to go about that I'm all hears though.
On Friday, January 30, 2015 at 4:45:34 PM UTC-6, Sam Lendle wrote:This looks great. Would it be possible to access an already running R session? Or is there currently a way of passing R objects to julia from R?I don't know how to attach an already running R session. I expect it would be difficult to do.To avoid the XY problem, what I'm actually trying to do is call julia from R, passing to julia a data set from R, and getting results back into R. At this point what I'm planning to do is write a csv to a temp file in R, then call a julia script from R, then probably save results to a temp file or just print to STDOUT and deal with the rest in R. It's a bit tedious but it will work fine. If there is a better way to go about that I'm all hears though.I have heard of an R package that calls Julia but I don't remember what it is called.