Class$forName | R Documentation |
Gets a Class object by a name of a class. If no such class exists and exception is thrown.
## Static method (use this):
## Class$forName(name, ...)
## Don't use the below:
## S3 method for class 'Class'
forName(static, name, ...)
... |
Optional arguments passed to internal lookup function. |
Returns a Class
.
Henrik Bengtsson
class
().
setConstructorS3
().
For more information see Class
.
print(Class$forName("Exception"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.