diff --git a/_episodes_rmd/04-data-structures-part2.Rmd b/_episodes_rmd/04-data-structures-part2.Rmd index 077ce72a..d80aaa2c 100644 --- a/_episodes_rmd/04-data-structures-part2.Rmd +++ b/_episodes_rmd/04-data-structures-part2.Rmd @@ -64,7 +64,7 @@ gapminder <- read.csv("data/gapminder_data.csv") > your computer. For example, > > ```{r eval=FALSE, echo=TRUE} -> gapminder <- read.csv("https://raw.githubusercontent.com/datacarpentry/r-intro-geospatial/master/_episodes_rmd/data/gapminder_data.csv") +> gapminder <- read.csv("https://raw.githubusercontent.com/datacarpentry/r-intro-geospatial/master/_episodes_rmd/data/gapminder_data.csv", stringsAsFactors = TRUE) #in R version 4.0.0 the default stringsAsFactors changed from TRUE to FALSE. But because below we use some examples to show what is a factor, we need to add the stringAsFactors = TRUE to be able to perform the below examples with factor. > ``` > > * You can read directly from excel spreadsheets without