Sitelet https://github.com/alexarmstrongvi/Tutorials/tree/main/Tutorial-R
Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

R Tutorial

Notes

  • History
    • Developed from the S language at Bell Laboratories
  • Running R
    • > Rscript myscript.r - running in terminal
    • > R - starting interactive session
      • help(foo) or ?foo - see help documentation
      • help.search(pattern) or ??pattern - search help files
      • example(foo) - see usage examples
      • source("file.r") - execute external file
      • objects() or ls() - print names of objects in workspace (aka environment)
      • rm(foo) - remove object from workspace

References