[R] How to browse all the functions in a package?

2009-10-26 Thread Peng Yu
'?removeClass' shows that 'removeClass' is from package 'package:methods'. Is there a command which can show me all the functions and the classed defined in a package such as 'package:methods'? __ R-help@r-project.org mailing list

Re: [R] How to browse all the functions in a package?

2009-10-26 Thread Martin Morgan
Peng Yu wrote: '?removeClass' shows that 'removeClass' is from package 'package:methods'. Is there a command which can show me all the functions and the classed defined in a package such as 'package:methods'? getClasses(where=getNamespace('methods')) showMethods(where=getNamespace('methods'))