R.oo1.27.0 package

R Object-Oriented Programming with or without References

000.makeObjectFinalizer

Creates a standalone finalizer function for Object

abort

Aborts the current expression call

argsToString.Class

Gets the arguments of a function as a character string

argsToStringoc.Rd

Gets the arguments signature of a function

as.character.BasicObject

Gets a character string representing the object

as.character.Class

Returns a short string describing the class

as.character.Exception

Gets a character string representing of the Exception

as.character.Interface

Gets a character string representing the Interface

as.character.Object

Gets a character string representing the object

as.character.Package

Gets a string representation of this package

as.character.RccViolationException

Gets a string representing of the RCC violation

as.characterocException.Rd

Gets a character string representing of the RdocException

ASCII

8-bit ASCII table

attach.BasicObject

Attach a BasicObject to the R search path

attach.Object

Attaches an Object to the R search path

attachLocally.Object

Attaches an Object locally to an environment

BasicObject

A root class like Object but without references

charToInt

Converts a vector of ASCII characters into a vector of integers

checkoc.Rd

Checks the compiled Rd files

Class

The Class class describes an Object class

clearCache.Object

Clear fields that are defined to have cached values

clearLookupCache.Object

Clear internal fields used for faster lookup

clone.Object

Clones an Object

compileoc.Rd

Compile source code files containing Rdoc comments into Rd files

compiloc.Rd

Compiles the Rdoc help comments in a package

createManPathoc.Rd

Creates the directory where the Rd files should be saved

createNameoc.Rd

Creates a class-method name

declarationoc.Rd

Gets the class declaration

detach.BasicObject

Detach a BasicObject from the R search path

detach.Object

Detach an Object from the R search path

dimension

Gets the dimension of the object

DOLLAR.BasicObject

Makes the fields and methods of a BasicObject accessible via the $ and...

DOLLAR.Class

Makes the fields and methods of a Class accessible via the $ and the [...

DOLLAR.Object

Makes the fields and methods of an Object accessible via the $ and the...

DOLLARLT_-.BasicObject

Makes the fields and methods of a BasicObject assignable via the $<- a...

DOLLARLT_-.Class

Makes the fields and methods of a Class assignable via the $<- and the...

DOLLARLT_-.Object

Makes the fields and methods of an Object assignable via the $<- and t...

equals.BasicObject

Compares an object with another

equals.Object

Compares an object with another

equals

Compares an object with another

escapFilename.Rdoc.Rd

Escape non-valid characters in a filename

Exception

The Exception class to be thrown and caught

extend.BasicObject

Extends another class

extend.Interface

Extends another Interface class

extend.Object

Extends another class

extend

Extends a object

finalize.Object

Finalizer methods called when object is clean out

forName.Class

Gets a Class object by a name of a class

getAuthor.Package

Gets the Author of this package

getBundle.Package

Gets the Bundle that this package might belong to

getBundlePackages.Package

Gets the names of the other packages that is in the same bundle as thi...

getCalls.Exception

Gets the active calls saved when the exception was created

getChangeLog.Package

Gets the change log of this package

getClasses.Package

Gets all classes of a package

getClassS4Usageoc.Rd

Gets the usage of a S4 class

getConstructorS3

Get a constructor method

getContents.Package

Gets the contents of this package

getContribUrl.Package

Gets the URL(s) from where this package can be installed

getDataPath.Package

Gets the path to the data (data/) directory of this package

getDate.Package

Gets the date when package was build

getDescription.Package

Gets the description of the package

getDescriptionFile.Package

Gets the description file of this package

getDetails.Class

Lists the fields and methods of a class

getDevelUrl.Package

Gets the URL(s) from where the developers version of this package can ...

getDocPath.Package

Gets the path to the accompanying documentation (doc/) directory of th...

getEnvironment.Object

Gets the environment of this object

getEnvironment.Package

Gets the environment of a loaded package

getExamplePath.Package

Gets the path to the example (R-ex/) directory of this package

getFieldModifiers.Object

Gets all types of field modifiers

getFields.BasicObject

Returns the field names of a BasicObject

getFields.Class

Returns the field names of a class

getFields.Interface

Returns NULL

getFields.Object

Returns the field names of an Object

getHowToCite.Package

Gets the citation of this package

getInstantiationTime.BasicObject

Gets the time when the object was instantiated

getInstantiationTime.Object

Gets the time when the object was instantiated

getInternalAddress.Object

Gets the memory location where the Object resides

getKeywordsoc.Rd

Gets the keywords defined in R with descriptions

getKnownSubclasses.Class

Gets all subclasses that are currently loaded

getKnownSubclasses.classRepresentation

Gets the known subclasses

getLastException.Exception

Static method to get the last Exception thrown

getLicense.Package

Gets the License of this package

getMaintainer.Package

Gets the Maintainer of this package

getManPathoc.Rd

Gets the path to the directory where the Rd files will be saved

getMessage.Exception

Gets the message of the Exception

getMessage.InternalErrorException

Gets the message of the exception

getMethods.Class

Returns the method names of class and its super classes

getName.Class

Gets the name of the class

getName.environment

Gets the name of an environment

getName.Package

Gets the name of this package

getNameFormatoc.Rd

Gets the current name format

getPackage.Class

Gets the package to which the class belongs

getPackage.InternalErrorException

Gets the suspicious package likely to contain an error

getPackageNameOfoc.Rd

Gets the package of a method or an object

getPath.Package

Gets the library (system) path to this package

getPosition.Package

Gets the search path position of the package

getRccUrl.RccViolationException

Static method to get a URL where the RCC can be found

geDeclaration.Class.Rd

Gets the class declaration in Rd format

geDeclaration.classRepresentation.Rd

Gets the class declaration in Rd format

geHierarchy.Class.Rd

Gets the class hierarchy in Rd format

geHierarchy.classRepresentation.Rd

Gets the class hierarchy in Rd format

geMethods.Class.Rd

Gets the methods of a class in Rd format

geMethods.classRepresentation.Rd

Gets the methods in Rd format

geTitle.Rdoc.Rd

Extracts the title string of a Rd file

getSourceocException.Rd

Gets the source of the exception

getStackTrace.Exception

Gets the stack trace saved when the exception was created

getStackTraceString.Exception

Gets the stack trace as a string

getStaticInstance.Class

Gets the static instance of this class

getStaticInstance.Object

Gets the static instance of this objects class

getSuperclasses.Class

Gets the super classes of this class

getSuperclasses.classRepresentation

Gets the superclasses

getTitle.Package

Gets the Title of this package

getUrl.Package

Gets the URL of this package

getUsageoc.Rd

Gets the usage of a method

getVersion.Package

Gets the version of this package

getWhen.Exception

Gets the time when the Exception was created

hasField.BasicObject

Checks if a field exists or not

hasField.Object

Checks if a field exists or not

hashCode.BasicObject

Gets a hash code for the object

hashCode.Object

Gets a hash code for the Object

hashCode

Gets an integer hashcoded for R objects

hierarchyoc.Rd

Gets the class hierarchy

Interface

The Interface class

InternalErrorException

InternalErrorException represents internal errors

intToChar

Converts a vector of integers into a vector of ASCII characters

isAbstract.Class

Checks if a class is abstract or not

isBeingCreated.Class

Checks if a class is currently being initiated initiated

isDeprecated.Class

Checks if a class is deprecated or not

isKeywordoc.Rd

Checks if a word is a Rd keyword

isLoaded.Package

Checks if the package is installed on the search path or not

isOlderThan.Package

Checks if the package is older than a given version

isPrivate.Class

Checks if a class is defined private or not

isProtected.Class

Checks if a class is defined protected or not

isPublic.Class

Checks if a class is defined public or not

isReferable.BasicObject

Checks if the object is referable or not

isReferable.Object

Checks if the object is referable or not

isStatic.Class

Checks if a class is static or not

isVisibleoc.Rd

Checks if a member is visible given its modifiers

ll.Object

Generates a list of informative properties of all members of an Object

ll.Package

Generates a list of informative properties of all members of the packa...

ll

Generates a list of informative properties of all members of an enviro...

load.Object

Static method to load an Object from a file or a connection

load.Package

Loads a package

methodsInheritedFromoc.Rd

Gets all methods inherited from a class in Rd format

newInstance.BasicObject

Creates a new instance of the same class as this object

newInstance.Class

Creates a new instance of this class

newInstance.Object

Creates a new instance of the same class as this object

Non-documented_objects

Non-documented objects

novirtual.Object

Returns a reference to the same Object with virtual fields turned off

Object

The root class that every class must inherit from

objectSize.BasicObject

Gets the size of the BasicObject in bytes

objectSize.environment

Gets the size of an environment in bytes

objectSize.Object

Gets the size of the Object in bytes

objectSize

Gets the size of the object in bytes

Package

The Package class provides methods for accessing package information

print.BasicObject

Prints a BasicObject

print.Class

Prints detailed information about the class and its fields and methods

print.Exception

Prints the Exception

print.Interface

Prints an Interface

print.Object

Prints an Object

printStackTrace.Exception

Prints the stack trace saved when the exception was created

R.oo-package

Package R.oo

RccViolationException

An RccViolationException indicates a violation of the R Coding Convent...

Rdoc

Class for converting Rdoc comments to Rd files

RdocException

RdocException are thrown by the Rdoc compiler

save.Object

Saves an Object to a file or a connection

setConstructorS3

Defines a class in S3/UseMethod style

setManPathoc.Rd

Sets the path to the directory where the Rd files should be saved

setNameFormatoc.Rd

Sets the current name format

showChangeLog.Package

Show the change log of this package

showContents.Package

Show the CONTENTS file of this package

showDescriptionFile.Package

Show the DESCRIPTION file of this package

showHowToCite.Package

Show the HOWTOCITE file of this package

startupMessage.Package

Generates a 'package successfully loaded' package startup message

staticCode.Object

Method that will be call each time a new instance of a class is create...

throw.error

Throws (rethrows) an object of class 'error'

throw.Exception

Throws an Exception that can be caught

throw

Throws an Exception

trim

Converts to a string and removes leading and trailing whitespace

typeOfClass

Gets the type of a class (S3 or S4)

unload.Package

Unloads a package

uses.Interface

Specifies that an object uses this Interface

Methods and classes for object-oriented programming in R with or without references. Large effort has been made on making definition of methods as simple as possible with a minimum of maintenance for package developers. The package has been developed since 2001 and is now considered very stable. This is a cross-platform package implemented in pure R that defines standard S3 classes without any tricks.

  • Maintainer: Henrik Bengtsson
  • License: LGPL (>= 2.1)
  • Last published: 2024-11-01