Download specified version of EnergyPlus for your platform from GitHub and install it.
1 2 3
The EnergyPlus version number, e.g.,
Whether to install EnergyPlus even if it has already been installed.
Where to save EnergyPlus installer file. For
download_eplus() downloads specified version of EnergyPlus from
EnergyPlus GitHub Repository.
install_eplus() will try to install EnergyPlus into the default location,
C:\EnergyPlusVX-Y-0 on Windows,
/Applications/EnergyPlus-X-Y-0 on macOS.
Note that the installation process requires administrative privileges during the installation and you have to run R with administrator (or with sudo if you are on Linux) to make it work if you are not in interactive mode.
An invisible integer
0 if succeed. Moreover, some attributes will
also be returned:
path: the EnergyPlus installation path
installer: the path of downloaded EnergyPlus installer file
file: the path of downloaded EnergyPlus installer file
1 2 3 4 5 6 7 8 9 10 11
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.