View source: R/print_tex_value.R
print_tex_value | R Documentation |
Print values out of a values-tex file
print_tex_value(file_name, path = NULL, names = NULL)
file_name |
File name to read from disk. file_name should have either a .tex extension or no extension at all. |
path |
Path to the directory to save the file to. |
names |
Character vector of names for printing. |
## Not run: file <- tempfile() save_tex_value(values = 1:3, names = c("a","b","c"), file_name = file) # Print "a" and "b" out of file print_tex_value(file_name = files, names = c("a", "b")) # delete file with base::unlink() unlink(paste0(file,".tex")) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.