Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/74.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
无法安装R程序包mnormt_R - Fatal编程技术网

无法安装R程序包mnormt

无法安装R程序包mnormt,r,R,我正在尝试安装程序包mnormt,但出现以下错误: > install.packages("mnormt") > Installing package into > ‘C:/Users/dalupus/Documents/R/win-library/3.2’ (as ‘lib’ is > unspecified) trying URL > 'http://cran.rstudio.com/bin/windows/contrib/3.2/mnormt_1.5-2.z

我正在尝试安装程序包mnormt,但出现以下错误:

> install.packages("mnormt") 
> Installing package into
> ‘C:/Users/dalupus/Documents/R/win-library/3.2’ (as ‘lib’ is
> unspecified) trying URL
> 'http://cran.rstudio.com/bin/windows/contrib/3.2/mnormt_1.5-2.zip'
> Warning in install.packages :   cannot open: HTTP status was '404 Not
> Found' Error in download.file(url, destfile, method, mode = "wb", ...)
> :    cannot open URL
> 'http://cran.rstudio.com/bin/windows/contrib/3.2/mnormt_1.5-2.zip'
> Warning in install.packages :   download of package ‘mnormt’ failed
查看cran,我看到当前版本是1.5-3,但不确定如何告诉R,以及为什么R认为当前版本是1.5-2


我尝试安装.packages(“”),但它不起作用。

所以我通过简单地重新启动R来解决这个问题。我想R在每个会话中都会获取一个新的包列表。

我无法复制这个。您需要提供更多信息。这是在Windows 7上使用R3.2。我不清楚的是R是如何决定安装哪个版本的,以及如何告诉它简单地获取1.5-3版本,因为我知道它在那里。现在它可以工作了。一定是因为克兰出了点小毛病。