Skip to content

danielvartan/r-course

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

r-course

Project Status: Inactive – The project has reached a stable, usable state but is no longer being actively developed; support/maintenance will be provided as time allows. DOI Badge FAIR checklist badge fair-software.eu License: GPLv3 License: CC BY-NC-SA 4.0 Contributor Covenant 3.0 code of conduct badge

Overview

This repository hosts the slides and materials for an introductory R programming course developed for the Center for Metropolitan Studies (CEM) at the University of São Paulo (USP).

The slides are available here.

Usage

The slides are built with the Quarto publishing system and the R programming language. The renv package manages the R environment to ensure reproducibility.

After installing these three dependencies, follow these steps to reproduce the results:

  1. Clone this repository to your local machine.
  2. Open the project in your preferred IDE.
  3. Restore the R environment by running renv::restore() in the R console.
  4. Open index.qmd and run the code as described.

Rendering

After installing all dependencies (see the Usage section), run the following command in the terminal from the project's root directory:

quarto render

This will start the rendering process, which may take some time depending on your machine. Once complete, the Quarto presentation will be available in the docs folder.

Links

You can access the latest course outputs (v2.0.0) at the following links:

Contributing

Contributor Covenant 3.0 code of conduct badge

Contributions are always welcome! Whether you want to report bugs, suggest new features, or help improve the code or documentation, your input makes a difference.

Before opening a new issue, please check the issues tab to see if your topic has already been reported.

License

License: GPLv3 License: CC BY-NC-SA 4.0

The code in this repository is licensed under the GNU General Public License Version 3, while the slides are available under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International.

Copyright (C) 2026 Daniel Vartanian

The code in this report is free software: you can redistribute it and/or
modify it under the terms of the GNU General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your option)
any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with
this program. If not, see <https://www.gnu.org/licenses/>.

Citation

DOI Badge

To cite this work, please use the following format:

Vartanian, D. (2026). An introduction to the R programming language. Center for Metropolitan Studies, University of São Paulo. https://doi.org/10.5281/zenodo.18332665

A BibLaTeX entry for LaTeX users is:

@software{vartanian2026,
  title = {An introduction to the R programming language},
  author = {{Daniel Vartanian}},
  year = {2026},
  address = {São Paulo},
  institution = {Center for Metropolitan Studies, University of São Paulo},
  langid = {en},
  doi = {10.5281/zenodo.18332665},
  note = {Computer software}
}

Acknowledgments

This work was developed with support from the Center for Metropolitan Studies (CEM) based at the School of Philosophy, Letters and Human Sciences (FFLCH) of the University of São Paulo (USP) and at the Brazilian Center for Analysis and Planning (CEBRAP).
This work was financed, in part, by the São Paulo Research Foundation (FAPESP), Brazil. Process Number 2025/17879-2.
Sustentarea Logo This work was developed with support from the Sustentarea Research and Extension Group at the University of São Paulo (USP).
This work was financed, in part, by the National Council for Scientific and Technological Development (CNPq), Brazil. Process Number 383443/2024-5.