Skip to content

Commit

Permalink
updated filepath for OpenOnDemand
Browse files Browse the repository at this point in the history
  • Loading branch information
tylermcinnes committed Feb 27, 2024
1 parent 0729df3 commit 0a94b65
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/00-introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ the Source pane.
In the console, we expect to see the following output :

!!! solution ""
`[1] "/home/<USERID>/R4Genomics"`
`[1] "/home/shared/<USERID>"`

* Notice, at the Console, you will also see the instruction you executed above the output in blue.

Expand Down Expand Up @@ -269,7 +269,7 @@ include a comment on the purpose of commands you are learning, e.g.:
.challenge}

For the purposes of this exercise we want you to be in the directory
`"/home/<USERID>/R4Genomics"`. What if you weren't? You can set your home
`"/home/shared/<USERID>/R4Genomics"`. What if you weren't? You can set your home
directory using the `setwd()` command. Enter this command in your
script, but *don't run* this yet.

Expand All @@ -288,7 +288,7 @@ this:

!!! r-project

`# This sets the working directory setwd("/home/<USERID>/R4Genomics")`
`# This sets the working directory setwd("/home/shared/<USERID>/R4Genomics")`

When you run this command, the console repeats the command, but gives
you no output. Instead, you see the blank R prompt: `>`.
Expand Down
4 changes: 2 additions & 2 deletions docs/01-r-basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

=== "Keypoints"

- Effectively using R is a journey of months or years. Still you don't
- Effectively using R is a journey of months or years. Still, you don't
have to be an expert to use R and you can start using and analyzing
your data with with about a day's worth of training
your data with with about a day's worth of training.
- It is important to understand how data are organized by R in a given
object type and how the mode of that type (e.g. numeric, character,
logical, etc.) will determine how R will operate on that data.
Expand Down
4 changes: 2 additions & 2 deletions docs/03-basics-factors-dataframes.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ function called `read.csv()`.
they can do.

Now, let's read in the file `combined_tidy_vcf.csv` which will be
located in `/home/$USER/R4Genomics/`. Call this data `variants`. The first
located in `/home/shared/$USER/R4Genomics/`. Call this data `variants`. The first
argument to pass to our `read.csv()` function is the file path for our
data. The file path must be in quotes and now is a good time to remember
to use tab autocompletion. **If you use tab autocompletion you avoid
Expand All @@ -161,7 +161,7 @@ typos and errors in file paths.** Use it!
```r
# Read in a CSV file and save it as 'variants'

variants <- read.csv("/home/<USERID>/R4Genomics/combined_tidy_vcf.csv")
variants <- read.csv("/home/shared/<USERID>/R4Genomics/combined_tidy_vcf.csv")
```

One of the first things you should notice is that in the Environment
Expand Down

0 comments on commit 0a94b65

Please sign in to comment.