From 3dcb56bc220ce48e07f74ef2a912794480f884ea Mon Sep 17 00:00:00 2001 From: Divay Prakash Date: Fri, 2 Nov 2018 14:47:22 +0530 Subject: Fix R ggplot error, closes #2237 --- r.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'r.html.markdown') diff --git a/r.html.markdown b/r.html.markdown index e7486e60..a8b04be2 100644 --- a/r.html.markdown +++ b/r.html.markdown @@ -789,7 +789,7 @@ install.packages("ggplot2") require(ggplot2) ?ggplot2 pp <- ggplot(students, aes(x=house)) -pp + geom_histogram() +pp + geom_bar() ll <- as.data.table(list1) pp <- ggplot(ll, aes(x=time,price)) pp + geom_point() -- cgit v1.2.3 From de134e941b73f1f079aaa17dbe50605e6466d97d Mon Sep 17 00:00:00 2001 From: Divay Prakash Date: Thu, 28 Feb 2019 18:40:00 +0530 Subject: Fix #3479 Change `http` to `https`. --- r.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'r.html.markdown') diff --git a/r.html.markdown b/r.html.markdown index a8b04be2..3e855602 100644 --- a/r.html.markdown +++ b/r.html.markdown @@ -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 -- cgit v1.2.3