Learn R Programming

R.devices (version 2.11.0)

DevEvalFileProduct: The DevEvalFileProduct class

Description

Package: R.devices Class DevEvalFileProduct character ~~| ~~+--BasicObject ~~~~~~~| ~~~~~~~+--DevEvalProduct ~~~~~~~~~~~~| ~~~~~~~~~~~~+--DevEvalFileProduct Directly known subclasses: public class DevEvalFileProduct extends DevEvalProduct A DevEvalFileProduct is a DevEvalProduct refering to a image file created by devEval().

Usage

DevEvalFileProduct(filename=NULL, path=NULL, ...)

Arguments

filename, path
The filename and the optional path of the image file product.
...
Additional arguments passed to DevEvalProduct.

Fields

The following (virtual; calculate on-the-fly) fields are available:
  • pathname: the (relative) pathname of the image file, e.g. 'figures/foo,a,b.png'. This can be used tolink toimage files in for instance HTML and Markdown documents.
  • path, the (relative) path to the image file, e.g. 'figures/'
  • filename: the filename ("basename") of the image file, e.g. 'foo,a,b.png'
  • fullname: the fullname (the filename without the filename extension), e.g. 'foo,a,b'. It is recommended to use this when including images in LaTeX documents that use the\usepackage{graphicx}package.
  • name: the part of the fullname before the first comma, e.g. 'foo'
  • tags: the part of the fullname after the first comma, e.g. 'a,b'
  • dataURI: the Base64-encoded Data URI representation of the image, e.g. 'data:image/png;base64,iVBORw0KGgoAAAA...'. This can be used toinclude("inlining") image files in for instance self-contained HTML and Markdown documents.

See Also

In order to retrieve the Data URI, the base64enc package must be installed.