Change `http` to `https`.
This commit is contained in:
Divay Prakash 2019-02-28 18:40:00 +05:30 committed by GitHub
parent 296e6ae620
commit de134e941b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -664,7 +664,7 @@ require(plyr)
# "pets.csv" is a file on the internet
# (but it could just as easily be a file on your own computer)
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
head(pets, 2) # first two rows
tail(pets, 1) # last row