Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

slidify is not on CRAN, replaced example with ggplot2 #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions 01_DataScientistToolbox/02_09_installingRPackages/index.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"))
```

---
Expand Down
10 changes: 5 additions & 5 deletions 01_DataScientistToolbox/02_09_installingRPackages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ <h2>Obtaining R Packages</h2>
</code></pre>

<ul>
<li><p>There are approximately 5600 packages on CRAN covering a wide range of topics</p></li>
<li><p>There are approximately 7100 packages on CRAN covering a wide range of topics</p></li>
<li><p>A list of some topics is available through the <a href="http://cran.r-project.org/web/views/">Task
Views</a> link, which groups
together many R packages related to a given topic</p></li>
Expand All @@ -103,14 +103,14 @@ <h2>Installing an R Package</h2>
function in R</p></li>
<li><p>To install a single package, pass the name of the package to the
<code>install.packages()</code> function as the first argument</p></li>
<li><p>The following the code installs the <strong>slidify</strong> package from CRAN</p></li>
<li><p>The following the code installs the <strong>ggplot2</strong> package from CRAN</p></li>
</ul>

<pre><code class="r">install.packages(&quot;slidify&quot;)
<pre><code class="r">install.packages(&quot;ggplot2&quot;)
</code></pre>

<ul>
<li><p>This command downloads the <strong>slidify</strong> package from CRAN and
<li><p>This command downloads the <strong>ggplot2</strong> package from CRAN and
installs it on your computer</p></li>
<li><p>Any packages on which this package depends will also be downloaded
and installed</p></li>
Expand All @@ -131,7 +131,7 @@ <h2>Installing an R Package</h2>
<li><p>Place the names of the R packages in a character vector</p></li>
</ul>

<pre><code class="r">install.packages(c(&quot;slidify&quot;, &quot;ggplot2&quot;, &quot;devtools&quot;))
<pre><code class="r">install.packages(c(&quot;ggplot2&quot;, &quot;swirl&quot;, &quot;devtools&quot;))
</code></pre>

</article>
Expand Down
10 changes: 5 additions & 5 deletions 01_DataScientistToolbox/02_09_installingRPackages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -94,7 +94,7 @@ install.packages("slidify")


```r
install.packages(c("slidify", "ggplot2", "devtools"))
install.packages(c("ggplot2", "swirl", "devtools"))
```


Expand Down