update
This commit is contained in:
parent
1cec12dbb9
commit
a1e5be0e8c
@ -1,2 +1,8 @@
|
||||
# R 配置
|
||||
options("repos" = c(CRAN = "https://mirrors.cernet.edu.cn/CRAN/"))
|
||||
|
||||
options("repos" = c(CRAN = "https://mirrors.cernet.edu.cn/CRAN/")) # 包的镜像源
|
||||
|
||||
if (Sys.getenv("VSCODE_DEBUG_SESSION") == "1") { # Debugger关联
|
||||
Sys.setenv(TERM_PROGRAM = "vscode")
|
||||
source(file.path(Sys.getenv(if (.Platform$OS.type == "windows") "USERPROFILE" else "HOME"), ".vscode-R", "init.R"))
|
||||
}
|
||||
|
6
.vscode/settings.json
vendored
6
.vscode/settings.json
vendored
@ -4,7 +4,7 @@
|
||||
"r.libPaths": [
|
||||
".conda/bin/R/library"
|
||||
],
|
||||
"r.rterm.linux": "${workspaceFolder}/.conda/bin/R",
|
||||
"r.rterm.linux": "${workspaceFolder}/.conda/bin/radian",
|
||||
"r.rterm.option": [
|
||||
"--no-save",
|
||||
"--no-restore"
|
||||
@ -22,6 +22,8 @@
|
||||
"editor.defaultFormatter": "REditorSupport.r",
|
||||
"editor.formatOnSave": true
|
||||
},
|
||||
"files.eol": "\n",
|
||||
"terminal.integrated.defaultProfile.linux": "R Terminal",
|
||||
"files.eol": "\n",
|
||||
"editor.tabSize": 2,
|
||||
"editor.detectIndentation": false
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user