I am currently using R version 3.2.3 on Ubuntu 16.04 LTS. I am trying to install a package in R called kma which requires packages like devtools, data.table etc. When I try to install these packages, I get this :
install.packages(c("devtools", "data.table", "reshape2", "dplyr")) Warning in install.packages : download had nonzero exit status Installing packages into ‘/home/varun/R/x86_64-pc-linux-gnu-library/3.2’ (as ‘lib’ is unspecified) Warning in install.packages : packages ‘devtools’, ‘data.table’, ‘reshape2’, ‘dplyr’ are not available (for R version 3.2.3)
These packages are installed without any problems if the R version is 3.3 or above. How can I upgrade my R to version 3.3 or above from my current version of 3.2. Also all my packages are in 3.2. Do I have to install all these packages again?
Hope to hear soon.