I'm trying to get a plot to show up in the preview section of the xap builder as if it were the plot viewer from R Studio.
I'm starting out with a simple plot, but I've chosen to use R so that I can eventually add things like trend-lines.
What I'm working with for now:
x <- c(1,2,3,4)
y <- c(2,4,6,8)
plot(x~y)
What I'm looking into: outputting an svg element to the html.
Alanna Riederer
I'm trying to get a plot to show up in the preview section of the xap builder as if it were the plot viewer from R Studio.
I'm starting out with a simple plot, but I've chosen to use R so that I can eventually add things like trend-lines.
What I'm working with for now:
x <- c(1,2,3,4)
y <- c(2,4,6,8)
plot(x~y)
What I'm looking into: outputting an svg element to the html.