6 January 2023
Let’s open up RStudio and explore.
When you open RStudio you see a number of windows (panes). Some of the key ones are
Let’s walk through each of these windows.
Packages are a collection of functions that allow you to easily perform useful operations. You can think of packages as “apps” (like you might install on a phone/computer) that add functionality to your phone/computer.
You can install packages directly in R by typing install.packages("package_name_here")
directly in the console or by using the install button in your “Package” pane.
Once you’ve installed a package you never need to install it again, but each time you open R and want to use it you need to load the package using library("package_name_here")
.
If you have R and RStudio on your computer, let’s go ahead and install the tidyverse package (if you haven’t yet done so)
>
is called the prompt. It indicates that R is ready to recieve commands>
then you may have typed an incomplete command. You can restart by pressing ESC or you can complete the command and hit EnterCtrl + L
Before we get started let’s discuss two important topics that are key to maintaining an organized and streamlined work environment.
ENS_215
.Lectures
Lectures
folderLectures
project and create a new R Notebook