Learn R Programming

R.oo (version 1.2.7)

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 DataLab