favicon | R Documentation |
Device driver for PNG favicons (Favorite icon) also known as shortcut icon, Web site icon, tab icon or bookmark icon. This driver is the same as the png driver where some arguments have different default values.
favicon(filename="favicon.png", width=32L, height=width, bg="transparent",
par=list(mar = c(0, 0, 0, 0)), ...)
filename |
Default file name (pattern). |
width , height |
The width and height of the figure. |
par |
A named |
... |
Other arguments accepted by |
A plot device is opened; nothing is returned.
Henrik Bengtsson
Internally, png
is used.
## Not run:
favicon(width=32L)
# is identical to
suppressWarnings({
png("favicon.png", width=32L, height=32L, bg="transparent",
par=list(mar=c(0,0,0,0)))
})
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.