my_answers <- c('S+', 'C++', 'Python', 'Matlab', 'Javascript') #check_answers(my_answers)
Utilizando pacote devtools
, instale a versão de desenvolvimento do pacote ggplot2
, disponível no repositório de Hadley Hickman. Carregue o pacote usando library
e crie uma figura simples com o código 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.