View source: R/xgx_save_table.R
xgx_save_table | R Documentation |
Saving table as an image, also labeling the program that created the table and where the table is stored
xgx_save_table(data, dirs = NULL, filename_main = NULL)
data |
data.frame or table of results |
dirs |
list of directories. If NULL or if directories missing, there is default behavior below
|
filename_main |
main part of the filename, excluding prefix and extension. no default |
ggplot2 plot object
directory = tempdir()
dirs <- list(parent_dir = directory,
rscript_dir = directory,
rscript_name = "example.R",
results_dir = directory,
filename_prefix = "example_")
data <- data.frame(x = c(1, 2), y = c(1, 2))
xgx_save_table(data, dirs = dirs, filename_main = "test")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.