Windows 10,RStudio安装tsna,先帖一下报错提示

> install.packages("tsna")
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:https://cran.rstudio.com/bin/windows/Rtools/There is a binary version available but the source version is later:binary source needs_compilation
tsna  0.3.3  0.3.5             FALSEinstalling the source package ‘tsna’trying URL 'https://cran.rstudio.com/src/contrib/tsna_0.3.5.tar.gz'
Content type 'application/x-gzip' length 1988909 bytes (1.9 MB)
downloaded 1.9 MB* installing *source* package 'tsna' ...
** 成功将'tsna'程序包解包并MD5和检查
** using staged installation
** R
** data
** inst
** byte-compile and prepare package for lazy loading
Error: package or namespace load failed for 'networkDynamic' in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):不存在叫'rle'这个名字的程辑包
错误: 无法载入程辑包'networkDynamic'
此外: Warning messages:
1: 程辑包'network'是用R版本3.6.3 来建造的
2: 程辑包'networkDynamic'是用R版本3.6.3 来建造的
停止执行
ERROR: lazy loading failed for package 'tsna'
* removing 'F:/Rlanguage_install/R-3.6.0/library/tsna'
Warning in install.packages :installation of package ‘tsna’ had non-zero exit statusThe downloaded source packages are in‘C:\Users\ASUS\AppData\Local\Temp\RtmpAPKgkk\downloaded_packages’

根据错误提示,先执行了安装"rle"包

> install.packages("rle")
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:https://cran.rstudio.com/bin/windows/Rtools/
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/rle_0.9.2.zip'
Content type 'application/zip' length 65773 bytes (64 KB)
downloaded 64 KBpackage ‘rle’ successfully unpacked and MD5 sums checkedThe downloaded binary packages are inC:\Users\ASUS\AppData\Local\Temp\RtmpAPKgkk\downloaded_packages

然后再执行tsna包的安装

> install.packages("tsna")
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:https://cran.rstudio.com/bin/windows/Rtools/There is a binary version available but the source version is later:binary source needs_compilation
tsna  0.3.3  0.3.5             FALSEinstalling the source package ‘tsna’trying URL 'https://cran.rstudio.com/src/contrib/tsna_0.3.5.tar.gz'
Content type 'application/x-gzip' length 1988909 bytes (1.9 MB)
downloaded 1.9 MB* installing *source* package 'tsna' ...
** 成功将'tsna'程序包解包并MD5和检查
** using staged installation
** R
** data
** inst
** byte-compile and prepare package for lazy loading
Warning messages:
1: 程辑包'network'是用R版本3.6.3 来建造的
2: 程辑包'networkDynamic'是用R版本3.6.3 来建造的
** help
*** installing help indicesconverting help for package 'tsna'finding HTML links ... 好了create_tree                             html  density                                 html  finding level-2 HTML links ... donedurations                               html  incidence                               html  moodyContactSim                         html  pShiftCount                             html  paths                                   html  plotpath                                html  reachable                               html  reachable_set_sizes                     html  tDegree                                 html  tErgmStats                              html  tSnaStats                               html  tiedDuration                            html  timeProjectedNetwork                    html  tsna                                    html
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
*** arch - i386
Warning: package 'network' was built under R version 3.6.3
Warning: package 'networkDynamic' was built under R version 3.6.3
*** arch - x64
Warning: package 'network' was built under R version 3.6.3
Warning: package 'networkDynamic' was built under R version 3.6.3
** testing if installed package can be loaded from final location
*** arch - i386
Warning: package 'network' was built under R version 3.6.3
Warning: package 'networkDynamic' was built under R version 3.6.3
*** arch - x64
Warning: package 'network' was built under R version 3.6.3
Warning: package 'networkDynamic' was built under R version 3.6.3
** testing if installed package keeps a record of temporary installation path
* DONE (tsna)
Making 'packages.html' ... 好了The downloaded source packages are in‘C:\Users\ASUS\AppData\Local\Temp\RtmpAPKgkk\downloaded_packages’

虽然有很多wearning信息,但最终显示“好了”,也可以成功导入了,虽然还是在导入时显示了很多warning信息!

好神奇哦!

RStudio安装tsna时报错installation of package ‘tsna’ had non-zero exit status相关推荐

  1. R语言 Rstudio 安装 包 报错installation of package ‘*’ had non-zero exit status

    在安装r语言向量自回归包(vars)时候报错了  记录一下供其他朋友参考,有同类相似其他问题也可以联系我一起解决. ​​​​​​先贴报错信息 > install.packages("v ...

  2. CentOS中yum安装软件时报错:No package XXX available(转载)

    转自:https://www.cnblogs.com/xixihuang/p/5405188.html yum 安装软件时,报错:No package XXX available. 1 2 3 4 [ ...

  3. Android Studio安装应用时报错 installation failed with message Failed to finalize session......

    解决方法: 在AndroidManifest.xml中的provider中的authorities后加几个数字即可. 2017.09.01: 我发现有的项目AndroidManifest.xml中没有 ...

  4. python 调用 tensorflow.dll_解决windows上安装tensorflow时报错,“DLL load failed: 找不到指定的模块”的问题...

    最近打算开始研究一下机器学习,今天在windows上装tensorflow花了点功夫,其实前面的步骤不难,只要依次装好python3.5,numpy,tensorflow就行了,有一点要注意的是目前只 ...

  5. 安装RPM时报错Error: GPG check FAILED

    1. 问题描述 需要安装mysl及其连接器.但安装mysql-8.0.26后,在安装mysql-connector-java时报错,错误日志如下误: [SKIPPED] mysql-connector ...

  6. Ubuntu安装Ceres库-安装依赖时报错:E:无法定位软件包 libcxsparse3.1.2_朱国鑫的博客-CSDN博客

    Ubuntu安装Ceres库-安装依赖时报错:E:无法定位软件包 libcxsparse3.1.2_朱国鑫的博客-CSDN博客

  7. pip安装kolla-ansible时报错Cannot install ‘PyYAML‘的解决方法

    pip安装kolla-ansible时报错Cannot install 'PyYAML'的解决方法 参考文章: (1)pip安装kolla-ansible时报错Cannot install 'PyYA ...

  8. mac  安装brew时报错的问题及解决方式

    mac  安装brew时报错的问题及解决方式 参考文章: (1)mac  安装brew时报错的问题及解决方式 (2)https://www.cnblogs.com/ritte/p/11207036.h ...

  9. 安装 node-sass 时报错

    新建vue项目时,长串的报错,在模板存在且引用路径无误的情况下始终找不到某某模板,如 This dependency was not found: * !!vue-style-loader!css-l ...

最新文章

  1. History(历史)命令用法
  2. Centos-7.4_安装_Redis_4.0.8
  3. 服务化改造实践 | 如何在 Dubbo 中支持 REST 1
  4. 为什么WordPress网站应尽量避免使用过多插件
  5. php rewinddir(),PHP rewinddir() 函数 ——jQuery中文网
  6. 关于Unity中GrabPass截屏的使用和Shader的组织优化
  7. C#(winform)为button添加背景图片,并去掉各种边框
  8. php curl 命令行,curl 命令行教程
  9. ajax下载表格文件
  10. Mysql优化之explain你真的会吗?
  11. 如何在Android上关闭YouTube烦人的自动播放缩略图
  12. linux端口健康检查,linux – Systemd http健康检查
  13. Pr 入门系列之十四:导出
  14. 一台计算机怎样介绍自己,一台电脑的自我介绍作文
  15. 水刺无纺布滤芯详细说明
  16. 七日杀服务器无限刷空投,七日杀空投作弊代码 | 手游网游页游攻略大全
  17. python练习题——for循环之“一个整数,它加上100后是一个完全平方数,再加上168又是一个完全平方数,请问该数是多少?”
  18. 计算机英语论文及翻译,计算机英语 论文翻译例子(初级)
  19. C++ 11 特性:关联容器map、set的使用
  20. lucene tvx tvd tvf 文件

热门文章

  1. 天津达内聊H5 软键盘兼容方案
  2. 天津达内:大数据自学可以学会吗
  3. java使用freemarker实现word下载
  4. 探索艾利特机器人|EC66机器人在生猪疫苗注射中的应用
  5. PSI-Blast最新版单机安装,批量生成Pssm打分矩阵
  6. OpenWRT学习笔记(1)环境部署代码下载及编译
  7. 软考高级系统架构设计师论文系列三:论改进Web服务器性能的有关技术
  8. 数据库事务隔离发展历史
  9. 【排序】折半插入排序
  10. 微信读书项目记录(1)