R.oo (version 1.22.0)

getKnownSubclasses.Class: Gets all subclasses that are currently loaded

Description

Gets all subclasses that are currently loaded.

Usage

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

Arguments

...

Not used.

Value

Returns a vector of character strings.

See Also

*getSuperclasses(). For more information see Class.

Examples

Run this code
# NOT RUN {
  
# }
# 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))
  
# }
# NOT RUN {
  
# }
# NOT RUN {
  returns
  [1] "Exception" "try-error" "Object"
  
# }

Run the code above in your browser using DataCamp Workspace