Skip to content

Navigation Menu

Sign in
Sign up

System Requirements

guxsousa edited this page Jul 5, 2018 · 3 revisions

R version

Requires R 3.4.3 version

  • Different versions may be employed, but some libraries are exclusively supported for the latest R versions.

R Libraries

Mandatory

library(Hmisc) # improved data analysis
library(reshape2) # restructure and aggregate data
library(plyr) # to summarise data by panels
library(dplyr) # to adapt plyr for data.frames
library(pbapply) # to add status in apply functions
library(scales) # to adjust scales in axis
library(stargazer) # to make Latex, html, ascii tables
library(colortools) # to make colour functions
library(lattice) # to enhance base graphics
library(gtable) # to improve tables
library(grid) # to improve charts
library(gridExtra) # to create composed graphs
library(ggfortify) # to extend ggplot2 functionalities (autoplot)
library(lubridate) # to deal with date format on plots and data.frames
library(ggplot2) # to improve plot generation
library(gplots) # to create panels
library(survey) # to work with weights and different stages
library(txtplot) # to plot txt charts while debugging
library(data.table) # to improve table processing
R> install.packages(c("Hmisc", "reshape2", "plyr", "dplyr", 
"pbapply", "scales", "stargazer", "colortools", "lattice", 
"gtable", "grid", "gridExtra", "ggfortify", "lubridate", 
"ggplot2", "gplots", "survey", "txtplot", "data.table"))

Recommended for Shiny GUI

library(colortools)
library(DT)
library(geojsonio)
library(ggfortify)
library(ggmap)
library(googleVis)
library(gpclib)
library(gridExtra)
library(leaflet)
library(mapdata)
library(mapproj)
library(maps)
library(maptools)
library(prettyR) 
library(proto)
library(psy)
library(RColorBrewer)
library(reshape2)
library(rgdal)
library(rgeos)
library(scales)
library(shiny)
library(sp)
library(spatstat)
library(stargazer)
library(XML)

Recommended for Reporting

library(psy)
library(prettyR)
library(stargazer)
library(fpca)
library(extrafont)
library(forecast)
library(fracdiff)
library(zoo)
library(treemapify)

Recommended for Reduction

library(clhs)
library(rpart)
library(party)
library(nnet)

EnergyPlus version

Requires EP version 8.7

  • Previous versions have been employed, but require additional changes to work with the platform.
  • In particular, 8.7 introduced changes to the representation of devices fuelled by alternative sources ...

❗ Replace the location of the Energy Plus installation folder defined inside the fnGetEPlusInstallationPath() function contained in Aux_Functions.R.

e.g.

linux = "local/usr/EnergyPlus-8.7.0/"

Shell version

GNU bash, version 3.2

  • Previous versions and alternative shells may be employed (rsh, zsh), but the workflow scripts may require additional adjustments.
  • This requirement becomes essential when using parallelisation; see below.

Additional libraries and executables

gzip

This library is employed to compress the simulation outputs in about 90%. R is able to directly read from compressed files, and so the processing times can be easily optimised.

parallel

To enable simultaneous processes, the software parallel has been tested. This software makes possible to request a given number of cores to distribute the processes.

.

Both libraries can be compiled or installed from base libraries. For example, in linux, these can be installed using pacman or apt; in OSX, using brew; and in windows, these should be downloaded and installed globally, or in the EnHub root folder (see fnGetEPlusInstallationPath in Aux_Functions.R)

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /