R.oo (version 1.0.3)

forName.Class: Gets a Class object by a name of a class

Description

Gets a Class object by a name of a class. If no such class exists and exception is thrown.

Usage

Class$forName(name, ...)

Arguments

...
Not used.

Value

synopsis

forName.Class(this, name, ...)

See Also

class(). setConstructorS3(). For more information see Class.

Examples

Run this code
print(Class$forName("Exception"))

Run the code above in your browser using DataCamp Workspace