Create a new list element.

Share:

Description

Create a new list element.

Usage

1
2
3
  newFigure(file, ..., fileHighRes = NA,
    type = IMAGE.TYPE.RASTER, exportId = NULL,
    protection = PROTECTION.PUBLIC)

Arguments

file

Path or URL to the image file. Paths can be absolute or relative.

...

Strings that will be concatenated to form the figure caption.

fileHighRes

Path or URL to a high-resolution or vector-based version of the image file. Paths can be absolute or relative.

type

Currenlty only IMAGE.TYPE.RASTER is allowed.

exportId

Unique string to identify this element. Used to retrieve the element using getExportedElement.

protection

Procection level. One of PROTECTION.PUBLIC, PROTECTION.GROUP, PROTECTION.PRIVATE.

Value

New element.

Author(s)

Nils Gehlenborg nils@hms.harvard.edu

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.