emacs - Run remote R process using script on local machine -


I use R in Debian with emacs and ess. I will run R process on a remote machine in my laptop from an R script. Therefore, to connect my local R script to the remote R process using MX XR-Remote via RAP script from within MMax, I started the SSH and a new R session on the remote machine Want to As long as I try to load some functions from my laptop (local machine) and send it to remote r, all do good work. Whenever I try to do this, I get the following error:

  (file name, "R", encoding = encoding) in source ('file) error: connection can not open : Warning message: (File name, "R", encoding = encoding) in the file: File 'myFunction can not open R': No such file or directory:  

If I run on the R console Switching and I getwd () console says that I have a home directory I have followed the instruction from the ADWB-site. Where am I wrong?

What I do in this case opens the local file in MXS and then,

  Mx ess-eval-buffer  

This will take your content into the file and it will evaluate it on a remote connection.

Another option is to move your scripts in the remote machine and truncate them. Open from afar with P. After that you can use to them can be edited locally and all ESS. This second option will allow you to use the source as your query.

There is a short cut to open the remote script * R * buffer then cx cf to open a file.

I hope it helps.


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -