How can we see all available parameters (or view documentation more generally) for a class method?
For example, if we look at arguments for
?print x an object used to select a method. ... further arguments passed to or from other methods. quote logical, indicating whether or not strings should be printed with surrounding quotes. -- leaving others out for brevity -- useSource logical indicating if internally stored source should be used for printing when present, e.g., if options(keep.source = TRUE) has been in use.
Note that we do not see any documentation for the parameter
Now suppose we call
print() on something of class
library(rvest) library(dplyr) # Generate an object of class xml_nodes a <- rep("<p></p>", 30) %>% paste0(collapse="") %>% read_html %>% html_nodes("p") class(a) #  "xml_nodeset"
a is of class
xml_nodeset, and if we call
print(a), it prints only 20 results, and that's because (I think) the xml_nodeset class is configured such that when
How do we find the specific documentation for how
xml_nodeset? (preferably via RStudio/manuals)
Note that the example above is just a random example, I would like to find a general way of finding documentation for all class methods