Last active
December 9, 2020 17:38
-
-
Save verajosemanuel/71e125204971dbea3debfa14be1a7d3e to your computer and use it in GitHub Desktop.
from #Rscript to #Rmd and back in #R
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
knitr::spin() # to Rmd | |
knitr::curl() # to Rscript | |
rmarkdown::render("analysis.R") # to html | |
rmarkdown::render("analysis.R", "pdf_document") # to pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment