tdaff / remote_ikernel

All your Jupyter kernels, on all your machines, in one place.
https://pypi.org/project/remote_ikernel/
BSD 2-Clause "Simplified" License
16 stars 14 forks source link

cannot get IRkernel for R to work remotely #15

Closed tdaff closed 8 years ago

tdaff commented 8 years ago

Original report by Anonymous.


Hi,

I have problems to get a rnning R remote kernel vio IRkernel. How do I have to config it? is there something different than e.g for bash/python?

I got e.g. bash working with ~/.local/bin/remote_ikernel manage --add --kernel_cmd="~/install/anaconda/bin/python -m bash_kernel -f {connection_file}" --name="Remote Bash" --interface=ssh --host=MYHOST

How can I get this running?
Thanks a lot!

tdaff commented 8 years ago

Original comment by Tom Daff (Bitbucket: tdaff, GitHub: tdaff).


Looks like bash gets upset about the brackets in the command. Does it work if you escape the brackets \(\)?

remote_ikernel manage --add --name="IRKernel test" --kernel_cmd="/usr/lib64/R/bin/R --slave -e IRkernel::main\(\) --args {connection_file}" --verbose --interface=ssh --host=MYHOST
tdaff commented 8 years ago

Original comment by Tom Daff (Bitbucket: tdaff, GitHub: tdaff).


do some checking when the kernel command has brackets

fixes #14