Passing single variables from python to R fail

Issue #140 invalid
wabe created an issue

I'm new to python/ipython and had a really hard time to resolve the following issue in a script: %load_ext rmagic A=[1,2,3] B=10 %Rpush A B

Couldn't understand why this didn't work until I tried instead to make B=[10] and use %Rpush A B which then works perfect.

Is this really intentional??

Comments (1)

  1. Laurent Gautier

    What is happening comes from the rmagic extension in ipython, I think. I am marking this as "invalid" for this reason; feel free to revert it if you think that this is not the case.

    I am guessing that the idea to let a Python user understand that there are no scalar values in R, only vectors.

  2. Log in to comment