How to install baseballr package in RStudio
There are several ways to install packages in RStudio IDE. Typically, packages can be installed in the console window using
install.packages()
command. Alternatively, you can use Tools | Install Packages menu or the Packages pane.Some packages such as baseballr have their own installation procedure. Baseballr installation procedure is described in the GitHub repository for this package:
Baseballr can be installed by using devtools
:
require(devtools) install_github("BillPetti/baseballr") require(baseballr)