install.packages

R: "Error in m[, 1L] : incorrect number of dimensions" when installing a package

When trying to install a package in R I get the following odd error and R does not load and return the CRAN selection menu. What causes this? > install.packages("rJava") Warning in install.packages("rJava") : argument 'lib' is missing: using '/home/jal/R/x86_64-pc-linux-gnu-library/2.11' --- Please select a CRAN mirror for use in this...