get.defaults | R Documentation |
Returns the value for the property requested
get.defaults(
property = 'fontfamily',
os.type = .Platform$OS.type,
add.to.list = NULL,
use.legacy.settings = FALSE
);
property |
The property to be retrieved |
os.type |
operating system (optional). valid values are: “windows”, “unix” |
add.to.list |
appends the requested property to this parameter |
use.legacy.settings |
boolean to set wheter or not to use legacy mode settings (font) |
Returns the value (list if add.to.list is passed) for the property requested given the os.type parameter. If latter is missing, it attempts to find user's operating system
Syed Haider
# returns the fontfamily for current OS
get.defaults(property = "fontfamily");
# returns the fontfamily for unix
get.defaults(property = "fontfamily", os.type = 'windows');
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.