You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@simonbyrne
I notice that when I subset a StrSxp object with multiple indexes, it returns a julia array of CharSxp's. I think most users (at least myself) is expecting a StrSxp object with the corresponding indexes.
Is there any reasons for this implementation?
To mirror the R behavior, should it be wrapped inside a StrSxp object and then returned to the user? This may be less important.
The text was updated successfully, but these errors were encountered:
randy3k
changed the title
Issue related to subsetting a VectorListSxp, particularly, a StrSxp
Issues related to subsetting a VectorListSxp, particularly, a StrSxp
Jan 26, 2016
@simonbyrne
I notice that when I subset a StrSxp object with multiple indexes, it returns a julia array of CharSxp's. I think most users (at least myself) is expecting a StrSxp object with the corresponding indexes.
Is there any reasons for this implementation?
Also, when only one element is being extracted from the StrSxp, the element of type CharSxp is returned to the user
To mirror the R behavior, should it be wrapped inside a StrSxp object and then returned to the user? This may be less important.
The text was updated successfully, but these errors were encountered: