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

Ambiguity in getindex #422

Closed
rapus95 opened this issue Jun 29, 2021 · 1 comment
Closed

Ambiguity in getindex #422

rapus95 opened this issue Jun 29, 2021 · 1 comment

Comments

@rapus95
Copy link

rapus95 commented Jun 29, 2021

Is this intended? 🙈

MethodError: getindex(::RCall.RObject{RCall.VecSxp}, ::UnitRange{Int64}) is ambiguous. Candidates:

getindex(r::RCall.RObject{S}, I...) where S<:RCall.VectorListSxp in RCall at C:\Users\Aaron\.julia\packages\RCall\3mHXJ\src\methods.jl:155

getindex(r::RCall.RObject{S}, I::AbstractArray) where S<:RCall.VectorSxp in RCall at C:\Users\Aaron\.julia\packages\RCall\3mHXJ\src\methods.jl:89

Possible fix, define

getindex(::RCall.RObject{S}, ::AbstractArray) where S<:RCall.VectorListSxp
@palday
Copy link
Collaborator

palday commented Jul 16, 2024

Closing as stale. If you can still provide an MWE on a recent Julia/RCal release, then I'm happy to re-open.

@palday palday closed this as not planned Won't fix, can't repro, duplicate, stale Jul 16, 2024
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

No branches or pull requests

2 participants