Here a list of useful commands to start with R and RStudio:
- help.start(): Starts the HTML version of R documentation
- help(command)/??command/help.search(command): Displays the help related to a specific command
- demo(): A user-friendly interface that runs some demonstrations of R scripts
- library(help=package): Lists functions and datasets in a package
- getwd(): Prints the directory that is currently active and working
- ls(): Lists the objects that are used in the current session
- setwd(mydirectory): Changes the working directory to mydirectory
- options(): Displays current settings in the options
- options(digits=5): You can print the specified digit as output
- history(): Displays previous commands until the limit of 25
- history(max.show=Inf) ...