R – Reference environment & settings commands

A list of commands I have used in R for information about the environment or general settings.

  • Version info: R.Version()
  • Clear the terminal console: cat(“\014”) – In effect, this sends the ‘Ctrl L’  keystroke to the console
  • Workspace info:
    •   Show the current workspace: getwd()
    •   Set the workspace to use: setwd(‘folder path goes here…’)


Leave a Reply

Your email address will not be published. Required fields are marked *