[R-SIG-Mac] mac-shell-r
jochen laubrock
jochen.laubrock at gmail.com
Wed Sep 8 11:46:51 CEST 2010
Hi Liv,
are you using vnc from the Finder ("Screen Sharing"), that is, press cmd-k and type vnc://linux.server.ip ?
If so, the Screen Sharing app has an "Edit...Send Clipboard" menu item.
best, jochen
On Sep 8, 2010, at 11:40 , Yingjie Zhang wrote:
> Hey, Jochen,
>
> I am using vnc for connecting sever instead of ssh, normally it's the middle button for copy-paste for window suer, but not for mac, maybe someone know the replacement of middle button.
>
> Cheers,
> liv
> On 08 Sep 2010, at 11:35, jochen laubrock wrote:
>
>> Don't know whether the following is the official procedure, but it might work:
>>
>> Do you have an account on the Linux server that you can login to, using ssh (*)?
>> Then you can probably use
>>
>> scp <localRscript.R> yourUserName at LinuxHost.domain:~/your/R/script/directory
>>
>> to copy the file localRscript.R to the Linux machine,
>> and then use something like
>>
>> ssh yourUserName at LinuxHost.domain
>> cd ~/your/R/script/direcory
>> R
>> > source("localRscript.R")
>>
>> You might have to enter your password at times, or you can use an authorized key (*).
>> If you don't want to keep the ssh connection alive, read the manual for the nohup command (*).
>>
>> (*) And, of course Ask your local Linux admin for details.
>>
>> Or is the server running Rserve?
>>
>> hth, jochen
>>
>> On Sep 8, 2010, at 10:08 , Yingjie Zhang wrote:
>>
>>> Dear all,
>>>
>>> I 've gotten a serious question, I have a iMac for work, and now I need to run some simulations in R on our sever, which has the system of Linux, the problem is: I can't copy the code from R script to R console! Anyone know the way?
>>>
>>> Thanks very much,
>>> Liv
>>> _______________________________________________
>>> R-SIG-Mac mailing list
>>> R-SIG-Mac at stat.math.ethz.ch
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>
>>
>>
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
More information about the R-SIG-Mac
mailing list