The filename of figure files is the combination of options fig.path
and label. This function returns the path of figures for the current
chunk by default.
a suffix of the filename; if it is not empty, nor does it
contain a dot ., it will be treated as the filename extension (e.g.
png will be used as .png)
options
a list of options; by default the options of the current chunk
number
the current figure number (by default the internal chunk option
fig.cur if available)
Value
A character vector of the form fig.path-label-i.suffix.