【发布时间】:2017-11-12 15:19:13
【问题描述】:
周末我一直在尝试在运行 Ubuntu 16.04 的 Jupyter Notebook 的 R 内核 (3.4.2) 上安装 mosaic、car 和其他一些软件包。我试过install.packages('car', '/home/jayaramdas/anaconda3/lib/R/library/', repos='http://cran.us.r-project.org'):它返回:
还安装依赖项'pbkrtest'
Warning message in install.packages("car", "/home/jayaramdas/anaconda3/lib/R/library/", :
“installation of package ‘pbkrtest’ had non-zero exit status”Warning message in install.packages("car", "/home/jayaramdas/anaconda3/lib/R/library/", :
“installation of package ‘car’ had non-zero exit status”
我尝试将它安装在原始 R 包中,我得到了这个:
Warning messages:
1: In install.packages("car", "/home/jayaramdas/anaconda3/lib/R/library/", :
installation of package ‘pbkrtest’ had non-zero exit status
2: In install.packages("car", "/home/jayaramdas/anaconda3/lib/R/library/", :
installation of package ‘car’ had non-zero exit status
我尝试使用 Rstudio 安装它,但它不会让我写文件。我还尝试下载 Ubuntu 的 zip 文件,但它仍然给出了“非零退出error. Is this a usual problem that people have withcar”和其他 R 包?我只是想弄清楚如何将一些包添加到我的 jupyter 笔记本中。
【问题讨论】:
-
我们能看到完整的错误日志吗?
-
@Daruchini:我刚刚更新了帖子以反映我收到的一些反馈。
-
检查以确保您已安装
pbkrtest或尝试使用dependancies = T安装软件包
标签: r ubuntu jupyter-notebook