Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

getKnownSubclasses.Class

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

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)

R.oo

R Object-Oriented Programming with or without References

v1.24.0
LGPL (>= 2.1)
Authors
Henrik Bengtsson [aut, cre, cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.