mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-04-26 15:13:56 +00:00
parent
296e6ae620
commit
de134e941b
@ -664,7 +664,7 @@ require(plyr)
|
|||||||
# "pets.csv" is a file on the internet
|
# "pets.csv" is a file on the internet
|
||||||
# (but it could just as easily be a file on your own computer)
|
# (but it could just as easily be a file on your own computer)
|
||||||
require(RCurl)
|
require(RCurl)
|
||||||
pets <- read.csv(textConnection(getURL("http://learnxinyminutes.com/docs/pets.csv")))
|
pets <- read.csv(textConnection(getURL("https://learnxinyminutes.com/docs/pets.csv")))
|
||||||
pets
|
pets
|
||||||
head(pets, 2) # first two rows
|
head(pets, 2) # first two rows
|
||||||
tail(pets, 1) # last row
|
tail(pets, 1) # last row
|
||||||
|
Loading…
Reference in New Issue
Block a user