How to list functions, methods and objects in R