Perfect, that worked! Now running into issues with library packages though. Do I need to upload the R packages as well, or how can I change my code to better access/recognize the packages?
rm( list=ls( ) )
list.of.packages <- c("shiny", "shinythemes", "shinyBS", "dplyr", "leaflet", "xts","dygraphs","DT", "lubridate", "plotly", "gplots", "markdown", "shinyBS", "maps", "ggmap", "proto", "rjson",
"ini", "sp", "maptools", "raster", "rasterVis", "rgdal", "rgeos", "proj4", "RColorBrewer", "reshape2", "ggplot2", "RgoogleMaps", "geosphere", "jpeg", "mapproj",
"ggthemes", "gridExtra", "scales", "knitr", "rmarkdown", "pander", "zoo", "rts", "SDMTools", "ff", # "devtools", # "ggplotly",
"ncdf4", "glue", "dplyr" )
# I turned these two lines off as it was creating it's own error. Runs with those commented out but now running into another issue (seen in image).
# new.packages <- list.of.packages[!(list.of.packages %in% installed.packages()[,"Package"])]
# if(length(new.packages)) install.packages(new.packages)
lapply(list.of.packages, require, character.only = TRUE)
And then getting an issue with colorFactor from the leaflet package which is the part actually making it fail.