R_info/doc/resources_in_R.org

1.6 KiB

Resources to learn R within R

There are many sources to learn about R. As any GNU project, the manuals and info documentation are the first and most important source to be used.

Most of the times it is not necessary to open a question in a community nor open a browser to search in the web. Most of the times the answer is on your own copy of the manual.

R and all the packages have extensive documentation and there are also packages that can be used to learn R within R.

Package swirl

Learnr: write interactive tutorials in R

R documentation

Use the following conde in R:

  help.start()

In order to check the information about a package use the function vignette() with the name of the package as argument:

  vignette(package = "data.table")

Find R documentation from emacs

If you use R in emacs, you can also the manuals can also be accessed using 'info' program, typing:

C-h i

Please note that "C" means "CTRL" key.

Then use 'ALT' + 'm' and write the initial words of the manual you are looking for:

M m R

Find R documentation from a shell in GNU-linux systems

All the R manual can be accesed from a shell using the command "man":

  man R

Typing in terminal 'info -f' followed by the name of each section will display manual in "info" version:

  • info -f R-intro
  • info -f R-data
  • info -f R-exts
  • info -f R-FAQ
  • info -f R-lang
  • info -f R-ints

Check the script to see additional resources.