Version 1.3

Downloads from the RStudio CRAN mirror

CRAN version

Alan T. Arnholt

PASWR: Functions and data sets for the text Probability and Statistics with R

Please report any bugs or suggestions at: https://github.com/alanarnholt/PASWR/issues.

Installation

The package is available for download from CRAN.

You may download the most recent version using the devtools function install_github() to install PASWR in R.

However, you need to make sure you’re set up to develop packages. This is platform specific:

  • On Windows, download and install Rtools.
  • On the Mac, make sure you have Xcode installed.
  • On Linux, make sure you have the R-dev packages installed.

You can check everything is installed correctly with the has_devel() function from the devtools package. Type the following at the R prompt:

install.packages("devtools", dependencies = TRUE)    
devtools::has_devel()

If everything is installed correctly, the function will print some output and then return TRUE.

To install the PASWR package, type the following at the R prompt:

devtools::install_github('alanarnholt/PASWR')

It is possible to install PASWR with GIT and the R CMD build assuming you have GIT installed and the appropriate tools to build R from source.

git clone https://github.com/alanarnholt/PASWR.git
R CMD build PASWR
R CMD INSTALL PASWR_*.tar.gz