getKnownSubclasses.Class {R.oo}R Documentation

Gets all subclasses that are currently loaded

Description

Gets all subclasses that are currently loaded.

Usage

## S3 method for class 'Class':
getKnownSubclasses(this, sort=TRUE, ...)

Arguments

... Not used.

Value

Returns a vector of character strings.

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

*getSuperclasses(). For more information see Class.

Examples

  ## Not run: 
  # Due to a bug in R CMD check (R v1.7.1) the MicroarrayData$read() call
  # below will call getKnownSubclasses(), which will generate
  #   "Error in exists(objectName, mode = "function") :
  #        [2003-07-07 23:32:41] Exception: F used instead of FALSE"
  # Note that the example still work, just not in R CMD check

  print(getKnownSubclasses(Exception))
  ## End(Not run)
  ## Not run: 
  returns
  [1] "Exception" "try-error" "Object"
  
## End(Not run)

[Package R.oo version 1.6.5 Index]