try_transform_as_r_file | R Documentation |
If not successful, the file is most likely not a .R file, so saving the file and try styling again will work if the file is an .Rmd file. Otherwise, we can throw an error that the file must be a .R or .Rmd file.
try_transform_as_r_file(context, transformer)
context |
The context from |
transformer |
A transformer function most conveniently constructed with
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.