• 首页 首页 icon
  • 工具库 工具库 icon
    • IP查询 IP查询 icon
  • 内容库 内容库 icon
    • 快讯库 快讯库 icon
    • 精品库 精品库 icon
    • 问答库 问答库 icon
  • 更多 更多 icon
    • 服务条款 服务条款 icon

没办法使用install_github()安装IRkernel:未安装Git吗?

用户头像
it1352
帮助1

问题说明

我试图让R在Windows计算机上与Jupyter Notebook一起使用.我遵循了 IRkernel教程. 但是,我无法安装GitHub存储库,总是会收到错误消息

I was trying to get R working with the Jupyter Notebook on my Windows machine. I followed the IRkernel tutorial. However, I can't install the GitHub repository, I always get the error

install_github("IRkernel/IRkernel") Downloading GitHub repo IRkernel/IRkernel@master Error: Git does not seem to be installed on your system.

install_github("IRkernel/IRkernel") Downloading GitHub repo IRkernel/IRkernel@master Error: Git does not seem to be installed on your system.

已安装devtools软件包(2.0.1). install_github也可以与install_github("StatsWithR/statsr")(Coursera软件包)一起使用(尽管devtools软件包甚至没有加载?).

The devtools package (2.0.1) is installed. install_github also works for example with install_github("StatsWithR/statsr") (Coursera package) (although the devtools package is not even loaded?).

不确定如何处理问题,有什么想法吗?我的devtools软件包坏了吗?

Not sure how to deal with the problem, any ideas? Is my devtools package broken?

更新: 刚刚执行了R的重新安装(删除了所有软件包):我仍然遇到相同的错误

Update: Just performed a re-installation of R (deleted all packages): I still get the same error

正确答案

#1

在这里我会发出声音.我有同样的问题.我碰到了这个帖子... https://github.com/IRkernel/IRkernel/issues/594 其中飞羊"仅声明要安装git.因此转到 https://git-scm.com/并下载并安装,然后运行说明 https://irkernel.github.io/installation/,一切正常.现在在Jupyter Nb中使用R.

Thought I would chime in here. I had the exact same problem. I came across this post...https://github.com/IRkernel/IRkernel/issues/594 where Flying Sheep simply states to install git. So went to https://git-scm.com/ and downloaded and installed, then ran the instructions https://irkernel.github.io/installation/ and everything worked. Now using R in Jupyter Nb.

这篇好文章是转载于:学新通技术网

  • 版权申明: 本站部分内容来自互联网,仅供学习及演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,请提供相关证据及您的身份证明,我们将在收到邮件后48小时内删除。
  • 本站站名: 学新通技术网
  • 本文地址: /reply/detail/tanhcbkgeg
系列文章
更多 icon
同类精品
更多 icon
继续加载