R and Plotting

In this example we will show you how to integrate our R code for generating plots into the R Code block and use the Image Box block to display it.

For this use case please pay attention that we save the image as a PNG file.

The PNG file is the output of our R Code block, and used further as an input in the Image Box block.

is loading …
is loading …

Next we will use ggplot2 to achieve the same goal. There is no need to use install.packages because the missing packages are downloaded by default (see the first line of code below and the docs)

is loading …
is loading …
is loading …
is loading …

First Published

in

Last Updated

Comments

Leave a Reply