Chapter 5 Getting Help in R
5.1 Introduction
In this chapter, we will learn about the different methods of getting help in R. Often we get stuck while doing some analysis as either we do not know the correct function to use or its syntax. It is important for anyone who is new to R to know the right place to look for help. There are two ways to look for help in R:
- built in help system
- online
In the first section, we will look at various ways to access the built in help system of R. In the second section, we will look at various online resources that can supplement the built in help system. Let us get started!
5.2 Online Resources
5.2.1 R Bloggers
R Bloggers aggregates blogs written in english from across the globe. This is the first place you want to visit if you want help with R, data analysis, visualization and machine learning. There are blogs on a wide range of topics and the latest content is delivered to your inbox if you subscribe. If you are a blogger yourself, share it with the R community by adding your blog to R Bloggers.
5.2.2 Stack Overflow
Stack Overflow is a great place to visit if you are having trouble with R code or packages. Chances are high that someone has already encountered the same or similar problem and you can use the answers given by R experts. In case you have encountered a new problem or issue, you can ask for help by providing a reproducible example of your analysis along with the R code. Use the reprex package to create reproducible examples.
5.2.3 Twitter
The R community is very active on Twitter/X and there are lot of R experts who are willing to help those who are new to R. Use the hashtag #rstats if you are asking for help or guidance on Twitter/X. Many community members are also active on Mastodon, Bluesky, and LinkedIn.
5.2.4 RStudio Community
RStudio Community is similar to Stack Overflow. You can ask questions related to RStudio, Shiny and tidyverse.
5.2.5 RStudio
RStudio has very good resources including cheatsheets, webinars and blogs.
5.2.6 Reddit
Reddit is another place where you can look for help. The discussions are moderated by R experts. There are subreddits for Rstats, Rlanguage, Rstudio and Rshiny.
5.2.7 R Weekly
Visit RWeekly to get regular updates about the R community. You can find information about new packages, blogs, conferences, workshops, tutorials and R jobs.
5.2.8 R User Groups
There are several R User Groups active across the globe. You can find the list here. Join the local user group to meet, discuss and learn from other R enthusiasts and experts.
5.2.9 Data Helpers
Data Helpers is a list of data analysts, scientists and engineers willing to offer guidance put together by Angela Bassa. Visit the website to learn more about how you can approach for help and guidance. (Note: this site appears unmaintained as of 2026; treat links there with caution.)
5.3 Internal
In this section, we will look at the following functions:
help.start()help()???help.search()demo()example()library()vignette()browseVignettes()
5.3.1 help.start
The help.start() function opens the documentation page in your browser. Here you can find manuals, reference and other materials.
5.3.2 help
Use help() to access the documentation of functions and data sets. ? is a shortcut for help() and returns the same information.
5.3.3 help.search
help.search() will search all sources of documentation and return those that match the search string. ?? is a shortcut for help.search() and returns the same information.
5.4 Package Documentation
5.4.1 library
Access the documentation of a package using help() inside library(). The package need not be installed for accessing the documentation.
5.4.2 vignette
A vignette is a long form guide to a R package. You can access the vignettes available using vignette(). It will display a list of vignettes available in installed packages.
To access a specific vignette from a package, specify the name of the vignette and the package.
5.4.3 browseVignettes
browseVignettes() is another way to access the vignettes in installed packages. It will list the vignettes in each package along with links to the web page and R code.
5.4.4 RsiteSearch
RsiteSearch() will search for specified topics in help pages, vignettes and task views using the search engine at this link and return the result in a browser.