I have an AWS instance running ubuntu 12.04 and shiny server as well as Rstudio, however, when I try to add packages, I get an error when trying to load the library()
for the following command: install.packages("jsonlite", dependencies = TRUE, repos="http://cran.cs.wwu.edu")
terminal output shows the download happens without any issues with the following as the last line The downloaded source packages are in ‘/tmp/RtmpO02nLU/downloaded_packages’
Clearly library() shows an error eg// Error in library(jsonlite) : there is no package called ‘jsonlite’
Is there something wrong with this process? how can I install packages to work with my Instance/ environment?
EDIT:: I realise there is the option of creating a swap file, wondering with the t1 instance, is there something really inefficient with the set up? rather than doing this or just upgrading the instance with throwing more memory at it..