rmdfile | R Documentation |
This will place a link in the RMD document to a file in the Intro2R package
rmdfile(link, file, rootf)
link |
the name of the link to be shown in the rmd docyment |
file |
the file name in folder "rootf" |
rootf |
this is the folder in the root of the package where files are located |
This makes the construction of links easier
rmd code for setting up link
## Not run:
`r rmdfile("Lab2 exemplar code","Lab2.R", "Lab2")`
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.