You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[This is Figure 2.2 from "Programming with Data", Chapter 2 of *Data Science for Mathematicians*. Preview this notebook to see the rendered version in Figure 2.3.]
R notebooks don't use cells like Jupyter notebooks. They are plain text files with **Markdown formatting**. They can either be viewed as such, or processed into PDF, HTML, or Word files.
R notebooks have code "chunks" that run code. The chunks below run R code (and that's the standard way to use an R notebook), but they can also run other languages (like Python).
```{r}
2+2
```
```{r}
goals <- c('Study data science.', 'Find some data.',