ch20: Print examples of chapter 20 of 'R for Dummies'.

View source: R/chapters-auto.R

ch20R Documentation

Print examples of chapter 20 of 'R for Dummies'.

Description

To print a listing of all examples of a chapter, use ch20(). To run all the examples of ch20(), use example(ch20).

Usage

ch20()

See Also

toc

Other Chapters: ch01(), ch02(), ch03(), ch04(), ch05(), ch06(), ch07(), ch08(), ch09(), ch10(), ch11(), ch12(), ch13(), ch14(), ch15(), ch16(), ch17(), ch18(), ch19()

Examples

if (interactive()) {
# Chapter 20 - Ten Tips on Working with Packages

## Poking Around the Nooks and Crannies of CRAN

options("repos" = c(CRAN = "https://cran.ma.imperial.ac.uk/"))

## Finding Interesting Packages

## Installing Packages

## Not run: 
install.packages("fortunes")

## End(Not run)

## Loading Packages

library("fortunes")

## Reading the Package Manual and Vignette

library(help=fortunes)
## Not run: 
vignette("fortunes")

## End(Not run)

## Updating Packages

## Not run: 
update.packages()

## End(Not run)

## Unloading Packages

search()
detach(package:fortunes, unload=TRUE)

## Forging Ahead with R-Forge

## Not run: 
install.packages("data.table", repos="https://R-Forge.R-project.org")

## End(Not run)

## Conducting Installations from BioConductor

## Not run: 
source("https://bioconductor.org/biocLite.R")

## End(Not run)

## Reading the R Manual

}

rfordummies documentation built on March 18, 2022, 6:04 p.m.