# no datageneration
Using the devtools
package, install the development version of the ggplot2
package, available in the Hadley Hickman repository. Load the package using library
and create a simple figure with the code qplot(y = rnorm(10), x = 1:10)
.
if (!require(devtools)) install.packages("devtools") devtools::install_github('hadley/ggplot2') library(ggplot2) qplot(y = rnorm (10), x = 1:10)
extype: string
exsolution: r mchoice2string(c(TRUE, FALSE, FALSE, FALSE, FALSE), single = TRUE)
exname: "install pkgs"
exshuffle: TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.