We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Can weave.jl support plot showing for RCall? The following are my codes
using RCall R""" # install 'ggalt' pkg # devtools::install_github("hrbrmstr/ggalt") options(scipen = 999) library(ggplot2) library(ggalt) midwest_select <- midwest[midwest$poptotal > 350000 & midwest$poptotal <= 500000 & midwest$area > 0.01 & midwest$area < 0.1, ] # Plot ggplot(midwest, aes(x=area, y=poptotal)) + geom_point(aes(col=state, size=popdensity)) + # draw points geom_smooth(method="loess", se=F) + xlim(c(0, 0.1)) + ylim(c(0, 500000)) + # draw smoothing line geom_encircle(aes(x=area, y=poptotal), data=midwest_select, color="red", size=2, expand=0.08) + # encircle labs(subtitle="Area Vs Population", y="Population", x="Area", title="Scatterplot + Encircle", caption="Source: midwest") """
The results are
# RCall.RObject{RCall.VecSxp}
But no plots.
I often use weave.jl to write reports and also use R to do data visualization. Really appreciate the enhancement if it works.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
description
Can weave.jl support plot showing for RCall?
The following are my codes
The results are
# RCall.RObject{RCall.VecSxp}
But no plots.
I often use weave.jl to write reports and also use R to do data visualization. Really appreciate the enhancement if it works.
The text was updated successfully, but these errors were encountered: