在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/1285.html

(0)
打赏 微信打赏,为服务器增加50M流量 微信打赏,为服务器增加50M流量 支付宝打赏,为服务器增加50M流量 支付宝打赏,为服务器增加50M流量
上一篇 03/05/2022 01:10
下一篇 03/05/2022 12:32

相关推荐

  • Rstudio/Rstudio Server enable Copilot-Rstudio Server打开Copilot

    Rstudio Server 默认是关闭Copilot Copilot is turned off by default. Copilot is turned off with copilot-enabled=0 in /etc/rstud…

    R 06/05/2025
    108
  • R_Code: KEGG analysis

    library(clusterProfiler) library(org.Hs.eg.db) # 读取输入数据文件 file_path <- “C:/Users/Lamarck/Desktop/UP_genes_ENSEMBL_ENT…

    R 06/02/2025
    130
  • R_Code:GO and Functional GO

    GO analysis: library(AnnotationDbi) library(org.Hs.eg.db) #基因注释包 library(clusterProfiler) #富集包 # 读取CSV文件 file_path <-…

    R 06/02/2025
    131
  • R_Code:WGCNA and WGCNA_Get_Gene_Length

    library(WGCNA) library(DESeq2) # enableWGCNAThreads(nThreads = 10) # 在处理数据框(data.frame)时,不会自动给将String类型转换成factor类型 optio…

    R 06/02/2025
    136
  • R_Code:RNAseq_GSEA_analysis

    library(clusterProfiler) # GSEA 和富集分析主力包 library(org.Hs.eg.db) # 人类注释数据库(ENTREZID 与 SYMBOL 等 ID 转换) library(enrichplot) …

    R 06/02/2025
    134