Description Usage Arguments Value Note Examples
A stock icon requires a name and url. The name can be used to look
up the css class used by the widgets using the function
getStockIconByName
.
1 | addStockIcons(iconNames, iconFiles, ..., parent)
|
iconNames |
character vector of names. May be data frame with first two columns being names, then urls |
iconFiles |
character vector of icon urls (not files, despite the name of the function) |
... |
ignored |
parent |
a |
Modifies internal stock icon list, but has no useful return value
Although this function can be called more than once, some browsers will balk if called more than 31 times.
1 2 3 | w <- gwindow()
addStockIcons("rlogo", "http://www.r-project.org/Rlogo.jpg", parent=w) ## add one
getStockIconByName("rlogo") ## check
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.