Description Usage Arguments Value Examples
View source: R/make_ari_document.R
Make an ari document
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | make_ari_document(
images,
script,
output_file = NULL,
open = interactive(),
use_knitr = FALSE,
...,
verbose = TRUE
)
pngs_to_ari(
images,
script,
output_file = NULL,
open = interactive(),
use_knitr = FALSE,
...,
verbose = TRUE
)
|
images |
a vector of paths to images. |
script |
a file or vector strings that will be spoken |
output_file |
a path to the Rmd file which will be created. |
open |
should the Rmd be opened after creating? |
use_knitr |
use an Rmarkdown type syntax for including the images |
... |
additional arguments to pass to ari::ari_spin |
verbose |
print diagnostic messages and also passed to ari::ari_stitch |
A path to the document
1 2 3 4 5 6 7 8 9 | images = system.file("extdata", c("example_1.png", "example_2.png"),
package = "ariExtra")
res = make_ari_document(images, script = c("hello", "how are you"))
res$output_file
res = make_ari_document(images, script = c("hello", "how are you"),
use_knitr = TRUE)
res$output_file
res = to_ari(images, script = c("hello", "how are you"), open = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.