当前位置: 动力学知识库 > 问答 > 编程问答 >

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 session ---

Loading Tcl/Tk interface ... done

Error in m[, 1L] : incorrect number of dimensions

>

网友答案:

It appears the error was caused by networking issues. My wifi was connected but the access point required loading a web form and entering a user name and password. I had been logged in but been dropped and had to re-authenticate. Once I logged back in it worked fine.

I think the error message could be a bit more insightful.

分享给朋友:
您可能感兴趣的文章:
随机阅读: