05:00
2024-10-09
We all have free access to OneDrive to store files
Let’s login into our online accounts
You can also download OneDrive for your desktop
Allows you to access the OneDrive from your computer’s interface instead of the browser
Creates a link between your computer and the cloud!
Let me show you mine
Let’s take a couple minutes to log into OneDrive
05:00
Make a folder for our class!
EPI_525_F24
to indicate the class and the termMake these folders in your computer
For a project, I have the following folders
For our class, I suggest making one folder for the course with the following folders in it:
05:00
There are a few good practices for naming files and folders for easy tracking:
R_activities
Make a folder called something like R04_work
We are going to stay in the R_activities
folder
Now that we have some folders in order, we can start creating a project
Way to designate a working directory: basically your home base when working in R
We have to tell R exactly where we are in our folders and where to find other things
A project makes it easier to tell R where we are
Basic steps to create a project
Go into RStudio
Create new project for this class (under File
or top right corner)
EPI_525_F24
folderOnce we have projects, we can open one and R will automatically know that its location is the start of our working directory
Research data and code can reach the same results regardless of who is running the code
We want to set up our work so the entire folder can be moved around and work in its new location
Let me show you my process
I will create one in my Sample_folder
I will show you how I switch between classes
Make a project file in your class folder!
05:00
R04 Slides