From f91bfc164827b42fdfd2e1b2d2fa6f4de2c958b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laurent=20Sch=C3=BCpbach?= Date: Tue, 8 Sep 2015 11:13:23 +0200 Subject: [PATCH] slidify is not on CRAN, replaced example with ggplot2 --- .../02_09_installingRPackages/index.Rmd | 8 ++++---- .../02_09_installingRPackages/index.html | 10 +++++----- .../02_09_installingRPackages/index.md | 10 +++++----- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/01_DataScientistToolbox/02_09_installingRPackages/index.Rmd b/01_DataScientistToolbox/02_09_installingRPackages/index.Rmd index 769548003..0912289ba 100644 --- a/01_DataScientistToolbox/02_09_installingRPackages/index.Rmd +++ b/01_DataScientistToolbox/02_09_installingRPackages/index.Rmd @@ -64,13 +64,13 @@ n <- signif(nrow(a), 2) - To install a single package, pass the name of the package to the `install.packages()` function as the first argument -- The following the code installs the **slidify** package from CRAN +- The following the code installs the **ggplot2** package from CRAN ```{r, eval=FALSE} -install.packages("slidify") +install.packages("ggplot2") ``` -- This command downloads the **slidify** package from CRAN and +- This command downloads the **ggplot2** package from CRAN and installs it on your computer - Any packages on which this package depends will also be downloaded @@ -86,7 +86,7 @@ install.packages("slidify") - Place the names of the R packages in a character vector ```{r, eval=FALSE} -install.packages(c("slidify", "ggplot2", "devtools")) +install.packages(c("ggplot2", "swirl", "devtools")) ``` --- diff --git a/01_DataScientistToolbox/02_09_installingRPackages/index.html b/01_DataScientistToolbox/02_09_installingRPackages/index.html index db5febd43..fefce9983 100644 --- a/01_DataScientistToolbox/02_09_installingRPackages/index.html +++ b/01_DataScientistToolbox/02_09_installingRPackages/index.html @@ -83,7 +83,7 @@

Obtaining R Packages

-
install.packages("slidify")
+
install.packages("ggplot2")
 
    -
  • This command downloads the slidify package from CRAN and +

  • This command downloads the ggplot2 package from CRAN and installs it on your computer

  • Any packages on which this package depends will also be downloaded and installed

  • @@ -131,7 +131,7 @@

    Installing an R Package

  • Place the names of the R packages in a character vector

-
install.packages(c("slidify", "ggplot2", "devtools"))
+
install.packages(c("ggplot2", "swirl", "devtools"))
 
diff --git a/01_DataScientistToolbox/02_09_installingRPackages/index.md b/01_DataScientistToolbox/02_09_installingRPackages/index.md index bb50c21b1..eb7e4ebf0 100644 --- a/01_DataScientistToolbox/02_09_installingRPackages/index.md +++ b/01_DataScientistToolbox/02_09_installingRPackages/index.md @@ -53,7 +53,7 @@ head(rownames(a), 3) ## Show the names of the first few packages -- There are approximately 5600 packages on CRAN covering a wide range of topics +- There are approximately 7100 packages on CRAN covering a wide range of topics - A list of some topics is available through the [Task Views](http://cran.r-project.org/web/views/) link, which groups @@ -69,15 +69,15 @@ head(rownames(a), 3) ## Show the names of the first few packages - To install a single package, pass the name of the package to the `install.packages()` function as the first argument -- The following the code installs the **slidify** package from CRAN +- The following the code installs the **ggplot2** package from CRAN ```r -install.packages("slidify") +install.packages("ggplot2") ``` -- This command downloads the **slidify** package from CRAN and +- This command downloads the **ggplot2** package from CRAN and installs it on your computer - Any packages on which this package depends will also be downloaded @@ -94,7 +94,7 @@ install.packages("slidify") ```r -install.packages(c("slidify", "ggplot2", "devtools")) +install.packages(c("ggplot2", "swirl", "devtools")) ```