RBigData / remoter

Control a remote R session from your local R session.
Other
83 stars 11 forks source link

Using `batch` #32

Closed seblamydlc closed 7 years ago

seblamydlc commented 7 years ago

Hi,

I saw that you implemented a batch fonction to send code to the server without opening the REPL. I get the following error when trying to use it: error in if (get.status(need_auto_rpng_off)) auto_rpng_off_local(get.status(ret)) : argument is of length zero I guess you are still working on it. But please let me know if you are able to make a quick fix. This function will be definitely very useful. The whole pbdR project is really great and pbdCS and remoter are definitely a huge addition to the suite. Thanks!

seblamydlc commented 7 years ago

It seems to be a problem of R version. I upgraded to 3.3.1 and it worked

wrathematics commented 7 years ago

Thanks for the kind words. I'm a little surprised that updating the R version fixed the problem. We try to be fairly conservative about R features we adopt, and I thought 3.2.0 was accurate. I'll take a closer look.

rsmith54 commented 7 years ago

I also had this problem. It seems to have been caused by a version mismatch between the server and client R processes, and worked fine after making sure both are running the current github version 0.4-0.