RStudio

2024-09-04

The panes

The Basics

Let’s try a few things together:

  • Open a new R script file.
  • Learn tab complete.
  • Run commands while editing scripts.
  • Run the entire script.
  • Make a plot.
  • Change options to never save workspace.
  • Change IDE appearance.

Projects

Let’s try this together:

  • Start new project in new directory.
  • Start new project in existing directory.
  • Change projects.

Type of editor

Let’s examine the two types of editors available:

  • Source - See the actual code (WYSIWYG)
  • Visual - Partial preview of final document.

Note: You can state your preference in a the header:

editor: source
  • We learn about headers in the Quarto lecture.