From 55d39ff2bbff9a227f4b62cf470d3be6cbcdd20f Mon Sep 17 00:00:00 2001 From: Carine Rey <carine.rey@ens-lyon.fr> Date: Tue, 6 Sep 2022 16:50:18 +0200 Subject: [PATCH] update session7 --- session_7/session_7.Rmd | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/session_7/session_7.Rmd b/session_7/session_7.Rmd index 3b2774f..e26c559 100644 --- a/session_7/session_7.Rmd +++ b/session_7/session_7.Rmd @@ -1,16 +1,23 @@ --- title: "R.7: String & RegExp" author: "Laurent Modolo [laurent.modolo@ens-lyon.fr](mailto:laurent.modolo@ens-lyon.fr)" -date: "2021" +date: "2022" output: rmdformats::downcute: self_contain: true use_bookdown: true default_style: "light" lightbox: true - css: "http://perso.ens-lyon.fr/laurent.modolo/R/src/style.css" + css: "../www/style_Rmd.css" --- +```{r include=FALSE} +library(fontawesome) +``` + + `r fa(name = "fas fa-house", fill = "grey", height = "1em")`  https://can.gitbiopages.ens-lyon.fr/R_basis/ + + ```{r setup, include=FALSE} rm(list=ls()) knitr::opts_chunk$set(echo = TRUE) @@ -139,6 +146,13 @@ You need to install the `htmlwidgets` packages to use these functions <details><summary>Solution</summary> <p> + +```{r install_htmlwidgets, eval=T, message=F, include=F, echo=F} +if (! require("htmlwidgets")) { + install.packages("htmlwidgets") +} +``` + ```{r load_htmlwidgets, eval=T, message=F} library(htmlwidgets) ``` @@ -429,4 +443,4 @@ sentences %>% str_split("\\s") ``` -## See you in [R.8: Factors](http://perso.ens-lyon.fr/laurent.modolo/R/session_8/) \ No newline at end of file +## See you in [R.8: Factors](https://can.gitbiopages.ens-lyon.fr/R_basis/session_8/) \ No newline at end of file -- GitLab