{"id":15150831,"url":"https://github.com/tuliohrc/r-markless","last_synced_at":"2026-01-27T05:31:25.183Z","repository":{"id":254756000,"uuid":"847430553","full_name":"TulioHRC/R-markless","owner":"TulioHRC","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-04T22:20:51.000Z","size":112,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T00:25:37.488Z","etag":null,"topics":["documentation","latex","markdown","r-markdown"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TulioHRC.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-08-25T19:52:41.000Z","updated_at":"2024-11-04T22:20:55.000Z","dependencies_parsed_at":"2024-08-25T22:51:45.981Z","dependency_job_id":"a3b9c905-bd89-4380-b676-ec9001dca0b8","html_url":"https://github.com/TulioHRC/R-markless","commit_stats":null,"previous_names":["tuliohrc/r-markless"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TulioHRC%2FR-markless","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TulioHRC%2FR-markless/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TulioHRC%2FR-markless/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TulioHRC%2FR-markless/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TulioHRC","download_url":"https://codeload.github.com/TulioHRC/R-markless/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237932070,"owners_count":19389560,"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":["documentation","latex","markdown","r-markdown"],"created_at":"2024-09-26T14:43:06.479Z","updated_at":"2025-10-24T07:30:58.923Z","avatar_url":"https://github.com/TulioHRC.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# R-markless \n\nA simple and lighter way to use R-markdown without needing to download Rstudio.\n\n## How to setup?\n\n#### 1. Install R\n\nDepending on your OS the installation process can be different, but it won't be hard, for linux on ubuntu distros, we use:\n\n```bash\nsudo apt update\nsudo apt install r-base\nsudo apt install pandoc\n```\n\nIf you want a smaller R version, install ```r-base-core``` and also run ```sudo apt-get autoremove``` to uninstall unnecessary packages.\n\n\n#### 2. Install R packages\n\nWith your R installed, we can run it and install some packages (rmarkdown and reticulate), rmarkdown installation can take a while:\n\n```bash\nR\n\u003e install.packages(\"rmarkdown\")\n\u003e install.packages(\"tinytex\")\n\u003e tinytex::install_tinytex()\n\u003e install.packages(\"reticulate\") # optional: to run any programming language inside your documentation\n```\n\n#### 3. Install Watch software\n\nTo update your document while you're editting it, we're going to use nodemon, but you can configure whatever you prefer.\n\nAgain I'm going to use linux ubuntu distros download method.\n\n```bash\nsudo apt install npm\nsudo npm i -g nodemon\n```\n\n#### 4. Configure your development environment\n\nCreate a Makefile to automate the running process:\n\n```Makefile\nfilename ?= test.Rmd\n\nrender:\n\tRscript -e \"rmarkdown::render('$(filename)')\"\n\ndev:\n\tnodemon -w \"$(filename)\" --exec \"make render\"\n```\n\n#### 5. Testing\n\nThen, just run make dev, and 'voilà' it's working, just open the pdf file and see what you've made. If you want to see what's changing in real time, some apps have this syncronization, including the default PDF reader of ubuntu and vscode-pdf extension.\n\nJust rename the filename in the Makefile, and run ```make dev``` on your project folder. Or run ```make dev filename=myfile.Rmd```.\n\n#### 6. Bonus\n\nI added a templateScript.sh file, to setup a terminal command to create new .Rmd documents from the template (also with the Makefile). Just run:\n\n```bash\nchmod +x \"./templateScript.sh\"\n./templateScript.sh\n```\n\nAnd the you can run ```Rmarkless``` to create a new document based on the template file.\n\n#### I hope you enjoyed it!\n\n## References\n\n- [R-markdown documentation](https://rmarkdown.rstudio.com/lesson-1.html)\n- [Motivacional video](https://www.youtube.com/watch?v=uccEhThn0ls)  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuliohrc%2Fr-markless","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftuliohrc%2Fr-markless","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuliohrc%2Fr-markless/lists"}