RCall.jl
RCall.jl copied to clipboard
Ambiguity in getindex
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