Description Usage Arguments Value Examples
Call a static method on a CLR type
1 | clrCallStatic(typename, methodName, ...)
|
typename |
type name, possibly namespace and assembly qualified type name, e.g. 'My.Namespace.MyClass,MyAssemblyName'. |
methodName |
the name of a static method of the type |
... |
additional method arguments passed to .External |
an object resulting from the call. May be a CLR object, or a native R object for common types. Can be NULL.
1 2 3 4 5 6 | ## Not run:
library(rClr)
cTypename <- "Rclr.TestCases"
clrCallStatic(cTypename, "IsTrue", TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.