-
Notifications
You must be signed in to change notification settings - Fork 59
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
Treating Symbol
s like String
s?
#331
Comments
R has the concept of symbol (see e.g. The CategoricalArray issue sounds secondary to me: better decide what to do with |
|
Sorry, I guess I mixed that up. I guess I meant that |
No problem 😄. In DataFrames.jl we will likely switch to |
I think the actual problem here is that |
I often use
ggplot2
for plotting. I often find myself in the situation, where it doesn't work, becauseRCall.jl
cannot handleSymbol
s properly.CategoricalArray{Symbol}
(which occur naturally from reshapingstack
ing dataframes) are not converted into factors.Array{Symbol}
is converted to a list of symbols (dunno what that is), which cannot be processed byggplot2
.I don't understand, why R now uses the symbols as colornames, not as factor categories. Is this intended?
Would it be possible to convert all Symbols to strings automatically before sending them to R? Could we at least do the conversion automatically for
CategoricalArray{Symbol}
?The text was updated successfully, but these errors were encountered: