{"id":16274061,"url":"https://github.com/brunj7/rmarkdown-intro","last_synced_at":"2026-02-25T08:13:25.990Z","repository":{"id":87143803,"uuid":"151777738","full_name":"brunj7/rmarkdown-intro","owner":"brunj7","description":"Introduction to R Markdown","archived":false,"fork":false,"pushed_at":"2020-06-18T19:27:30.000Z","size":9389,"stargazers_count":2,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T16:14:18.858Z","etag":null,"topics":["data-science","reproducible-science","rmarkdown","training-materials"],"latest_commit_sha":null,"homepage":"https://brunj7.github.io/rmarkdown-intro/rmarkdown-intro_deck.html","language":"TeX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brunj7.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-05T21:02:58.000Z","updated_at":"2020-05-12T21:43:13.000Z","dependencies_parsed_at":"2023-03-13T19:46:53.023Z","dependency_job_id":null,"html_url":"https://github.com/brunj7/rmarkdown-intro","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/brunj7/rmarkdown-intro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brunj7%2Frmarkdown-intro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brunj7%2Frmarkdown-intro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brunj7%2Frmarkdown-intro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brunj7%2Frmarkdown-intro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brunj7","download_url":"https://codeload.github.com/brunj7/rmarkdown-intro/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brunj7%2Frmarkdown-intro/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29815020,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T05:36:42.804Z","status":"ssl_error","status_checked_at":"2026-02-25T05:36:31.934Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-science","reproducible-science","rmarkdown","training-materials"],"created_at":"2024-10-10T18:26:55.865Z","updated_at":"2026-02-25T08:13:25.975Z","avatar_url":"https://github.com/brunj7.png","language":"TeX","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction to `rmarkdown`\n\nThis is a 1h-1h30 workshop given at UCSB ([Eco-Data-Science Group](https://eco-data-science.github.io/) and [Center for Scientific Computing (CSC)](http://csc.cnsi.ucsb.edu/docs/seminars-workshops))\n\nThere are 2 main documents:\n- Presentation deck: https://brunj7.github.io/rmarkdown-intro/rmarkdown-intro_deck.html\n- R Markdown document we will be playing with: [rmarkdown-myfirst.Rmd](rmarkdown-myfirst.Rmd)\n\n\n## Preparing the workshop\n\n### Required software\n\nWe will primarily be using a web browser, `R`, `RStudio`. Please be sure these are all installed on your laptop, as follows:\n\n- **R:** We will use  the lastest R version, which you can download and install from [CRAN](https://cran.rstudio.com)\n\n- **RStudio**: RStudio is an excellent front-end (IDE) for R with integrated graphics and coding tools and is recommended (read: required) for this course. It is free and available for both Windows, Mac OS X and Linux.\nTo download RStudio, visit [RStudio's download page](https://www.rstudio.com/products/rstudio/download/).\n  *If you don't know how up to date your version of RStudio is, please download a recent version and install it*\n    \n- **R packages:** Please be sure you have installed or updated the following packages:\n\n    - `remotes` (not needed, if you have `devtools` already installed) \n    - `knitr`\n    - `rmarkdown`\n    - `bookdown`\n    - `DT`\n    - `tidyverse`\n    - `leaflet`\n    - `captioner`\n    \n    \n#### There are several ways to install a R package:\n\n- In the R console, type: `install.packages(\"package-name\")` Note that R is **case sensitive**, and that the **package name should be in quotes**.\n\n- In RStudio, click on the \"Packages\" tab in the bottom right quadrant of the interface, click Install, type the package name and click Istall _or_ click  Tools =\u003e Install Packages, type the package name and click Install\n\n- In R for Windows clients, go to the Packages menu =\u003e Install package(s).\n\n- In R for MacOS X clients, go to the Package \u0026 Data menu and click on Package Installer =\u003e CRAN (binaries) =\u003e Get list. Click on the box “install dependencies” in order to automatically install other necessary libraries while installing your R libraries.\n\nIn our case, you could type at the R console:\n\n```r\nworkshop_pkg \u003c- c(\"remotes\", \"knitr\", \"rmarkdown\", \"bookdown\", \"DT\", \"tidyverse\", \"leaflet\", \"captioner\")\ninstall.packages(workshop_pkg)\n```\n\n#### PDF rendering\n\nIf you want to generate PDF output from Markdown (we will mainly focus on html files), you will need to install LaTeX. For R Markdown users who have not installed LaTeX before, we recommend to follow the recommendations of [Xie et al, 2018] and that you install `TinyTeX` (https://yihui.name/tinytex/):\n\n```r\ninstall.packages(\"tinytex\")\ntinytex::install_tinytex()  # install TinyTeX\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrunj7%2Frmarkdown-intro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrunj7%2Frmarkdown-intro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrunj7%2Frmarkdown-intro/lists"}