Skip to content
Snippets Groups Projects
Commit 55d39ff2 authored by Carine Rey's avatar Carine Rey
Browse files

update session7

parent 7c8b3a30
No related branches found
No related tags found
1 merge request!6Switch to main as default branch
--- ---
title: "R.7: String & RegExp" title: "R.7: String & RegExp"
author: "Laurent Modolo [laurent.modolo@ens-lyon.fr](mailto:laurent.modolo@ens-lyon.fr)" author: "Laurent Modolo [laurent.modolo@ens-lyon.fr](mailto:laurent.modolo@ens-lyon.fr)"
date: "2021" date: "2022"
output: output:
rmdformats::downcute: rmdformats::downcute:
self_contain: true self_contain: true
use_bookdown: true use_bookdown: true
default_style: "light" default_style: "light"
lightbox: true 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} ```{r setup, include=FALSE}
rm(list=ls()) rm(list=ls())
knitr::opts_chunk$set(echo = TRUE) knitr::opts_chunk$set(echo = TRUE)
...@@ -139,6 +146,13 @@ You need to install the `htmlwidgets` packages to use these functions ...@@ -139,6 +146,13 @@ You need to install the `htmlwidgets` packages to use these functions
<details><summary>Solution</summary> <details><summary>Solution</summary>
<p> <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} ```{r load_htmlwidgets, eval=T, message=F}
library(htmlwidgets) library(htmlwidgets)
``` ```
...@@ -429,4 +443,4 @@ sentences %>% ...@@ -429,4 +443,4 @@ sentences %>%
str_split("\\s") str_split("\\s")
``` ```
## See you in [R.8: Factors](http://perso.ens-lyon.fr/laurent.modolo/R/session_8/) ## See you in [R.8: Factors](https://can.gitbiopages.ens-lyon.fr/R_basis/session_8/)
\ No newline at end of file \ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment