diff --git a/session_3/session_3.Rmd b/session_3/session_3.Rmd index 10e14ed681ae4fcf14ad6b33beef57bfdd6fe629..3e08297880cf1dba9b04f38b7d23e128eb644aa1 100644 --- a/session_3/session_3.Rmd +++ b/session_3/session_3.Rmd @@ -370,9 +370,18 @@ Use the `openxlsx` package to save the [https://can.gitbiopages.ens-lyon.fr/R_ba <details><summary>Solution</summary> <p> -```{r load_xlsx} +2 solutions : + +Use directly the url +```{r load_xlsx_url, eval = F} gapminder <- read.xlsx("https://can.gitbiopages.ens-lyon.fr/R_basis/session_3/gapminder.xlsx") ``` + +Dowload the file, save it in the same directory as your script then use the local path +```{r load_xlsx} +gapminder <- read.xlsx("gapminder.xlsx") +``` + </p> </details>