The in the package installation included plantuml
binary is executed using
the provided java and plantuml commands. This is effectively a wrapper around
system2()
with some values set to run plantuml
.
plantuml_run(
x = NULL,
file = "",
plantuml_jar = getPlantumlOption("jar_name"),
plantuml_opt = getPlantumlOption("plantuml_opt"),
java_bin = getPlantumlOption("java_bin"),
java_opt = getPlantumlOption("java_opt"),
wait = FALSE
)
plantuml code to draw the UML graph
file name, including extension, to which the generated plantUML graph
should be saved. The extension determines the format of the graph.
If NULL', the graph is returned as a ASCII art, i.e. a
character` vector..
path and name of the plantuml jar file. The dafault is read from
getPlantumlOption("plantuml_jar")
.
options for the call of java
. The default is
read from getPlantumlOption("plantuml_opt")
.
path to the java
binary. The dafault is read from
getPlantumlOption("java_bin")
.
options for the call of java
. The default is
read from getPlantumlOption("java_opt")
.
if TRUE
, wait until the process has finished. If FALSE
, return immediately.
if wait is TRUE
the pid of the process started. Otherwise the result from the call to system2()
if (FALSE) {
# This will take some time when you run it
# for the first time as it will download \code{plantuml.jar}
plantuml_run()
}