Nothing
par(no.readonly = TRUE)
in functions created an empty plot if no graphics device was active.if (!is.null(dev.list()))
before saving and restoring graphical parameters.on.exit(par(oldpar))
is now conditionally applied only when a device is active, ensuring unintended side effects.message()
) when no active graphics device is detected, making the behavior transparent to users.inputDir
to outDir
for clarity and alignment with its intended purpose of storing output files.Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.