You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Open the lesson in RStudio (or whatever you use for R)
As someone totally new to R and RStudio, how do I "open a lesson in RStudio"? I have a lesson repo cloned to my local machine but how do I get RStudio to open it?
Some instructions covering:
how to open RStudio in a particular folder
how to change your working directory in RStudio
would be helpful.
The text was updated successfully, but these errors were encountered:
Hi @SJaffa - thanks for the great question. There are two ways to open a lesson in RStudio.
If your lesson has a .Rproj file, you can double click that file in your file browser and it will open in RStudio.
If your lesson doesn't have a .Rproj file, you can navigate to your local lesson repository in RStudio by using the setwd() command. Within setwd() you will enter the path to your lesson repository, in quotations, for example setwd("~/Documents/shell-novice").
Using either of the above options to open the lesson in RStudio, you can then build the lesson using sandpaper::build_lesson(). The lower right hand corner of RStudio has a Files tab that you can use to navigate to and open individual files within your lesson repository for editing.
Please let me know if this information was helpful. I will leave this issue open until these instructions have been incorporated into the documentation.
Yes that's great, thanks. If you don't want to add too much extra material to the lesson maybe a link to a good RStudio beginners tutorial would be appropriate?
sandpaper-docs/episodes/editing.md
Line 73 in ccf1ae4
As someone totally new to R and RStudio, how do I "open a lesson in RStudio"? I have a lesson repo cloned to my local machine but how do I get RStudio to open it?
Some instructions covering:
would be helpful.
The text was updated successfully, but these errors were encountered: