is.rpi | R Documentation |
Returns TRUE if this code is running under Raspbian or return information about the operating system.
is.rpi(onlyThis = "IsThisRPI")
onlyThis |
If no value is passed to onlyThis, is.rpi() will return a logical If 'onlyThis' is specified, 'is.rpi()' will return the value for that field in /etc/os-release. Here are some typical values found in os-release
|
If 'onlyThis' is specified, returns that value. Otherwise returns TRUE if running Raspbian
is.rpi()
is.rpi("NAME")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.