I was going through your R Crash Course and found this segment to have what appears to be a little mistake. Instead of giving an example of read.csv(), read.delim() has been repeated.
|
# Getting data in and out of R |
|
|
|
There are several ways to get your data in and out of R. Let's start with getting data in. |
|
|
|
Base R includes a series of `read.` functions that can be used |
|
|
|
* For csv files |
|
|
|
```r |
|
read.delim("file location", header = TRUE, sep = "\t", |
|
quote = "\"", dec = ".", fill = TRUE, comment.char = "", ...) |
|
``` |
|
* For other delimited files |
|
|
|
```r |
|
read.delim("file location", header = TRUE, sep = "\t", |
|
quote = "\"", dec = ".", fill = TRUE, comment.char = "", ...) |
|
``` |
I was going through your R Crash Course and found this segment to have what appears to be a little mistake. Instead of giving an example of read.csv(), read.delim() has been repeated.
R-Crash-Course/Crash_course_in_R.md
Lines 525 to 542 in e5f1721