{"id":16704141,"url":"https://github.com/kevcaz/rmarkdowndocfr","last_synced_at":"2025-04-10T05:07:15.310Z","repository":{"id":36858268,"uuid":"41165226","full_name":"KevCaz/Rmarkdowndocfr","owner":"KevCaz","description":":notebook: Utiliser R Markdown pour créer et éditer des documents dynamiques","archived":false,"fork":false,"pushed_at":"2021-12-23T18:18:26.000Z","size":35337,"stargazers_count":2,"open_issues_count":7,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T06:12:26.313Z","etag":null,"topics":["pandoc","r","rmarkdown","rmarkdown-document"],"latest_commit_sha":null,"homepage":"http://kevcaz.github.io/Rmarkdowndocfr/","language":"TeX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc-by-4.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KevCaz.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-21T16:11:09.000Z","updated_at":"2021-12-23T18:14:00.000Z","dependencies_parsed_at":"2022-09-10T14:20:53.145Z","dependency_job_id":null,"html_url":"https://github.com/KevCaz/Rmarkdowndocfr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KevCaz%2FRmarkdowndocfr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KevCaz%2FRmarkdowndocfr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KevCaz%2FRmarkdowndocfr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KevCaz%2FRmarkdowndocfr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KevCaz","download_url":"https://codeload.github.com/KevCaz/Rmarkdowndocfr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248161273,"owners_count":21057555,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["pandoc","r","rmarkdown","rmarkdown-document"],"created_at":"2024-10-12T19:11:24.787Z","updated_at":"2025-04-10T05:07:15.226Z","avatar_url":"https://github.com/KevCaz.png","language":"TeX","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\ntitle: \"Utiliser R markdown\"\noutput: \n  github_document:\n    toc: true\n    toc_depth: 2\n---\n\n[![Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)\n[![Render and deploy HTML document](https://github.com/KevCaz/Rmarkdowndocfr/workflows/Render%20and%20deploy%20HTML%20document/badge.svg)](https://github.com/KevCaz/Rmarkdowndocfr/actions?query=workflow%3A\"Render+and+deploy+HTML+document\")\n\n\n# Objectif \n\n[Ce document](https://kevcaz.github.io/Rmarkdowndocfr/) est une introduction à R Markdown conçue pour répondre aux objectifs suivants:\n\n1. comprendre ce qu'est R Markdown;\n2. comprendre les liens entre R, Markdown et Pandoc;\n3. apprendre la syntaxe Pandoc Markdown;\n4. apprendre à créer des documents dynamiques avec le package `rmarkdown`.\n\n\nPour installer [`rmarkdown`](https://rmarkdown.rstudio.com/):\n\n```r\ninstall.packages(\"rmarkdown\")\n```\n\nNotez que ce package requiert [Pandoc](https://pandoc.org/), voir https://pandoc.org/installing.html si vous rencontrez des problèmes d'installation. Une fois le package installé, vous pouvez le charger et vérifier la version du package installé ainsi que celle de Pandoc comme suit: \n\n```{r version}\nlibrary(rmarkdown)\npackageVersion(\"rmarkdown\")\npandoc_available()\npandoc_version()\n```\n\n\n# Reproduire le document localement \n\n## Dépendances\n\nPour reproduire le document, en plus de `rmarkdown`, les packages suivants doivent être installés: \n\n- [`reticulate`](https://CRAN.R-project.org/package=reticulate) \n- [`JuliaCall`](https://CRAN.R-project.org/package=JuliaCall)\n\n```{r, eval = FALSE}\ninstall.packages(c(\"reticulate\", \"JuliaCall\"))\n```\n\nNotez que pour utiliser `reticulate`, Python doit être installé et pour utiliser `JuliaCall`, une version de Julia est requise.\n\n\n## Générer le document \n\nPour générer le fichier document en PDF:\n\n```r\nrender(\"UtiliserRMarkdown.Rmd\", \"pdf_document\")\n```\n\nPour générer le fichier document en HTML:\n\n```r\nrender(\"UtiliserRMarkdown.Rmd\", \"html_document\")\n```\n\nPour obtenir le document en html, Markdown, pdf et Word\u0026nbsp;:\n\n\n```r\nrender(\"UtiliserRMarkdown.Rmd\", \"all\")  \n```\n\n\n# Contribuer\n\nToutes les contributions sont les bienvenues et même souhaitées! Des fautes d'orthographe, de grammaire ou des coquilles? Il manque de l'information? N'hésitez pas à ouvrir un \"issue\" et même mieux, une PR!\n\n\n# Remerciements\n\nMerci à [Nicolas Casajus](https://github.com/ahasverus) pour avoir corrigé des coquilles dans une première version du document!\n\n\n# License\n\nLe document produit sous la license [*Creative Commons BY-NC-SA*](https://creativecommons.org/licenses/by-nc-sa/2.0/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevcaz%2Frmarkdowndocfr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevcaz%2Frmarkdowndocfr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevcaz%2Frmarkdowndocfr/lists"}