Import fixes

This commit is contained in:
hadley 2016-07-14 10:05:20 -04:00
parent 353fa68df2
commit 3e177dd093
1 changed files with 6 additions and 6 deletions

View File

@ -126,7 +126,7 @@ If you've used R before, you might wonder why we're not using `read.csv()`. Ther
use `read_delim()` instead. What arguments do you need to specify
to read the following text into a data frame?
```{r}
```{r, eval = FALSE}
"x,y\n1,'a,b'"
```
@ -330,8 +330,8 @@ Day
: `%e` (optional leading space).
Time
: `%H` 0-24 hour.
: `%I` 1-12, must be used with `%p`.
: `%H` 0-23 hour.
: `%I` 0-12, must be used with `%p`.
: `%p` AM/PM indicator.
: `%M` minutes.
: `%S` integer seconds.
@ -382,8 +382,8 @@ parse_date("1 janvier 2015", "%d %B %Y", locale = locale("fr"))
d1 <- "January 1, 2010"
d2 <- "2015-Mar-07"
d3 <- "06-Jun-2017"
d4 <- "August 19 (2015)"
d5 <- "12/30/14" # Dec 12, 2014
d4 <- c("August 19 (2015)", "July 1 (2015)")
d5 <- "12/30/14" # Dec 30, 2014
t1 <- "1705"
t2 <- "11:15:10.12 PM"
```
@ -599,7 +599,7 @@ This makes csvs a little unreliable for caching interim results - you need to re
#> # ... with 1,994 more rows
```
feather tends to be faster than rds and is usable outside of R. `rds` supports list-columns (which you'll learn about in [[Many models]]), which feather currently does not.
feather tends to be faster than rds and is usable outside of R. `rds` supports list-columns (which you'll learn about in [Many models]), which feather currently does not.
```{r, include = FALSE}
file.remove("challenge-2.csv")