Is there an easy way to view the source of an R package (or a method in a package), from within the interactive environment?
Is there an easy way to view the source of an R package (or a method in a package), from within the interactive environment?
Download package source from https://cloud.r-project.org/src/contrib and open it with your favorite editor. Find the function definition (you can use grep for that). Sometimes you can find a useful introduction as well.