R

使用Rstudio进行project管理

1 创建Rstudio project 1.1 需要跟github配合使用,首先在github创建repo. 1.2 本地创建Rstudio project 2 创建必须文件夹 2.1 在Rstud

How to open the currect working directory in R

Sometimes we just want to open the work directory in R to process the files. In Linux shell, we can use open . comment. How to do in R? We can use the below comment: system(sprintf("open %s", shQuote(getwd()))) It this script, shQuote is ued to “Quote Strings for Use in OS Shells”.

Mac R在不同版本之间切换

Mac在R不同版本之间切换不如windows方便.可以使用Rswitch工具.链接地址如下: https://rud.is/rswitch/. 下载之后安装,然后就会出现在menu中. 然后切

Github多人协作

1 创建远程仓库 2 本地创建分支并推送到远程仓库 3 邀请合作者 4 合作者参与项目 4.1 克隆项目 5 开始工作 5.1 创建文件 5.2 提交 5.3 合并分支 5.4 推送到远程仓库 6 有冲

git和GitHub使用

1 Git配置 1.1 安装git之后,需要进行一些全局设置,比如用户名邮箱. 1.2 除了用户名邮箱之外,也可以对其他内容进行配置,如: 1.3 查看所有的配置 2 基