在R中安装Git/Github

1.查看是否安装Git命令:

执行安装命令:

which git
## /usr/bin/git
查看 git --version 版本:

git --version
## git version 2.35.1

2.Windows系统

安装Windows版Git客户端,也称为msysgit或“Git Bash”
Windows版RStudio默认将Git安装在C:/Program Files,在Windows系统上的Git可执行文件可在C:/Program Files/Git/bin/git.exe上找到

3.macOS

安装Xcode命令行工具,

转到shell并输入以下命令之一,以征求安装开发人员命令行工具的提议:

git --version
git config
接受报价!点击安装。

以下是请求此安装的另一种方式,更直接:

xcode-select --install

通过发行版的软件包管理器安装Git。

Ubuntu或Debian Linux:

sudo apt-get install git
Fedora或RedHat Linux:
sudo yum install git
各种Linux和Unix软件包管理器的综合列表:
https://git-scm.com/download/linux

如若转载,请注明出处:https://www.ouq.net/rinstallgitgithub.html

(0)
打赏 微信打赏,为服务器增加100M流量 微信打赏,为服务器增加100M流量 支付宝打赏,为服务器增加100M流量 支付宝打赏,为服务器增加100M流量
上一篇 2022年3月5日 上午1:10
下一篇 2022年3月5日 下午12:32

相关推荐

  • ggplot2绘图教程

    直方图:geom_histogram 分组直方图的排列方式 position=”dodge” ggplot(small)+geom_histogram(aes(x=price, f…

    2022年3月7日
  • Pheatmap包使用

    Pheatmap简介: Pretty Heatmaps——Implementation of heatmaps that offers more control over dime…

    R 2020年3月15日
  • R:cnetplot的使用

    cnetplot用于Gene-Concept Network,将位于一个GO Terms下的基因用线连接起来。 cnetplot(x, showCategory = 5, fold…

    R 2020年5月16日
  • R:使用R连接数据库处理数据

    1.数据库连接 library(DBI) library(dplyr) library(dbplyr) library(odbc) con <- dbConnect(odbc…

    2022年3月6日
  • 利用R读取h5ad文件

    安装包 install.packages(“remotes”)remotes::install_github(“mojaveazure/seur…

    R 2022年5月13日