Learn R Programming

eplusr (version 0.8.2)

install_eplus: Download and Install EnergyPlus

Description

Download specified version of EnergyPlus for your platform from GitHub and install it.

Usage

install_eplus(ver = "latest", force = FALSE)

download_eplus(ver = "latest", dir = getwd())

Arguments

ver

The EnergyPlus version number, e.g., 8.7; the special value "latest" means the latest version (fetched from GitHub releases).

force

Whether to install EnergyPlus even if it has already been installed.

dir

Where to save EnergyPlus installer file. Default is current working directory. Only applicable to download_eplus(). For install_eplus(), it will be saved into tempdir().

Details

This function will try to install EnergyPlus into the default location, e.g. C:/EnergyPlusVX-Y-0 on Windows, /usr/local/EnergyPlus-X-Y-0 on Linux, and /Applications/EnergyPlus-X-Y-0 on MacOS.

Note that the installation process requires administrative privileges required during the installation and you may need to pass password to enable sudo commands used for installation.