我无法在R中下载reshape2软件包 [英] I am unable to download the reshape2 package in R

查看:1766
本文介绍了我无法在R中下载reshape2软件包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试安装R软件包时收到以下响应:

I am getting this response when trying to install the R package:

>installed.packages("reshape2")
     Package LibPath Version Priority Depends Imports LinkingTo Suggests Enhances
     License License_is_FOSS License_restricts_use OS_type Archs MD5sum
     NeedsCompilation Built

R版本3.2.2(2015-08-14) 平台:x86_64-w64-mingw32/x64(64位) 在以下环境中运行:Windows 8 x64(内部版本9200)

R version 3.2.2 (2015-08-14) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 8 x64 (build 9200)

推荐答案

您调用的函数不用于下载软件包.

installed.packages 返回有关R可用软件包的信息.第一个参数定义函数将在其中寻找软件包的位置.除非当前工作目录中的reshape2目录碰巧包含一些有效的软件包,否则该函数将不返回任何内容.

installed.packages returns information about packages available to R. The first argument defines places where the function will be looking for packages. Unless there is reshape2 directory in your current working directory that happens to contain some valid packages, the function will return nothing.

如果您要下载并安装软件包,请使用

If you want to download and install package, use install.packages:

install.packages("reshape2")

如果要下载软件包(但不安装),请使用

If you want to download package (but not install it), use download.packages.

这篇关于我无法在R中下载reshape2软件包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆