I get a
warning: package ‘grid’ is not available (for R version 3.1.2)
but I am using R studio Version 1.0.153? I do have R 3.1.1 on my computer.
There are two warnings about,
warning:package ‘gridExtra’ was built under R version 3.1.3
warning: package ‘ggplot2’ was built under R version 3.1.3
I have checked the most viewed question, learned a lot, but still not solving my issue here..
--update--the detailed console is--
install.packages("grid")
Installing package into ‘C:/Users/Documents/R/win-library/3.1’ (as ‘lib’ is unspecified)
Warning in install.packages : package ‘grid’ is not available (for R version 3.1.2)
R.Version()$version.string
. This answer might also be helpful: stackoverflow.com/questions/13656699/update-r-using-rstudio – Mike H.