求助!R语言安装swirl包出错,请教问题出在哪里?谢谢!

COS论坛 | 统计之都 COS论坛 | 统计之都 软件应用 S-Plus & R语言 求助!R语言安装swirl包出错,请教问题出在哪里?谢谢!

Tagged: 

该主题包含 0 条回复,1个帖子,最后由  buleiba4 年, 1 月 之前 更新。

查看 1 个帖子(总计 1 个)
  • 作者
    帖子
  • 1 楼

    buleiba
    Participant

    R version 3.4.0(2017-04-21) — “You Stupid Darkness”
    Copyright (C) 2017 The R Foundation forStatistical Computing
    Platform: x86_64-apple-darwin15.6.0(64-bit)
    R是自由软件,不带任何担保。
    在某些条件下你可以将其自由散布。
    用’license()’或’licence()’来看散布的详细条件。
    R是个合作计划,有许多人为之做出了贡献.
    用’contributors()’来看合作者的详细情况
    用’citation()’会告诉你如何在出版物中正确地引用R或R程序包。
    用’demo()’来看一些示范程序,用’help()’来阅读在线帮助文件,或
    用’help.start()’通过HTML浏览器来看帮助文件。
    用’q()’退出R.
    Microsoft ROpen 3.4.0
    The enhanced R distribution from Microsoft
    Microsoft packages Copyright (C) 2017 MicrosoftCorporation
    Multithreaded BLAS/LAPACK librariesdetected. Using 2 cores for math algorithms.
    Default CRAN mirror snapshot taken on2017-05-01.
    See: https://mran.microsoft.com/.
    > install.packages(“swirl”)
    Installing package into ‘/Users/uu/Library/R/3.4/library’
    (as ‘lib’ is unspecified)
    also installing the dependencies ‘openssl’,‘httr’
    试开URL’https://mran.microsoft.com/snapshot/2017-05-01/src/contrib/openssl_0.9.6.tar.gz’
    Content type ‘application/octet-stream’length 1239339 bytes (1.2 MB)
    ==================================================
    downloaded 1.2 MB
    试开URL’https://mran.microsoft.com/snapshot/2017-05-01/src/contrib/httr_1.2.1.tar.gz’
    Content type ‘application/octet-stream’length 133398 bytes (130 KB)
    ==================================================
    downloaded 130 KB
    试开URL’https://mran.microsoft.com/snapshot/2017-05-01/src/contrib/swirl_2.4.3.tar.gz’
    Content type ‘application/octet-stream’length 108666 bytes (106 KB)
    ==================================================
    downloaded 106 KB
    ERROR: failed to lock directory ‘/Users/uu/Library/R/3.4/library’for modifying
    Try removing ‘/Users/uu/Library/R/3.4/library/00LOCK-openssl’
    Warning in install.packages :
    installation of package ‘openssl’ had non-zero exit status
    ERROR: dependency ‘openssl’ is notavailable for package ‘httr’
    * removing‘/Users/uu/Library/R/3.4/library/httr’
    Warning in install.packages :
    installation of package ‘httr’ had non-zero exit status
    ERROR: dependency ‘httr’ is not availablefor package ‘swirl’
    * removing‘/Users/uu/Library/R/3.4/library/swirl’
    Warning in install.packages :
    installation of package ‘swirl’ had non-zero exit status
    The downloadedsource packages are in
    ‘/private/var/folders/89/65p1hr_9305053xkm8_j37b00000gp/T/RtmpAKvLeP/downloaded_packages’ :?:

查看 1 个帖子(总计 1 个)

您必须先登录才能回复该主题。