Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Float64 converting to complex when using globalEnv #39

Closed
colintbowers opened this issue Apr 7, 2015 · 0 comments · Fixed by #40
Closed

Float64 converting to complex when using globalEnv #39

colintbowers opened this issue Apr 7, 2015 · 0 comments · Fixed by #40

Comments

@colintbowers
Copy link

Fantastic package! I was hoping to wrap some R statistical functionality from Julia and this is perfect. One issue I have encountered follows (in Julia):

using RCall
y = randn(10)
globalEnv[:y] = y
rcopy("typeof(y)")

returns "complex". One can easily get around this by inserting the additional line:

reval("y <- Re(y)")

But I thought I would raise it as an issue here just in case there are situations where this work-around will fail.

Cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant