Commit 5653482b authored by wuzekai's avatar wuzekai

Initial commit

parent d3861e30
{
"sortOrder": [
{
"columnIndex": 2,
"ascending": true
}
],
"path": "D:/R"
}
\ No newline at end of file
{
"activeTab": 2
}
\ No newline at end of file
{
"left": {
"splitterpos": 312,
"topwindowstate": "NORMAL",
"panelheight": 826,
"windowheight": 864
},
"right": {
"splitterpos": 518,
"topwindowstate": "NORMAL",
"panelheight": 826,
"windowheight": 864
}
}
\ No newline at end of file
{
"TabSet1": 0,
"TabSet2": 0,
"TabZoom": {}
}
\ No newline at end of file
{"active_set":"","sets":[]}
\ No newline at end of file
{
"id": "37A6706B",
"path": "D:/R/radiant.quickgen/R/quickgen_basic.R",
"project_path": "R/quickgen_basic.R",
"type": "r_source",
"hash": "2601472834",
"contents": "",
"dirty": false,
"created": 1756092822912.0,
"source_on_save": false,
"relative_order": 2,
"properties": {
"source_window_id": "",
"Source": "Source",
"cursorPosition": "18,40",
"scrollLine": "0"
},
"folds": "",
"lastKnownWriteTime": 1756087288,
"encoding": "UTF-8",
"collab_server": "",
"source_window": "",
"last_content_update": 1756087288,
"read_only": false,
"read_only_alternatives": []
}
\ No newline at end of file
{
"id": "7DCB57AF",
"path": "D:/R/radiant-master/inst/app/global.R",
"project_path": null,
"type": "r_source",
"hash": "1707112965",
"contents": "",
"dirty": false,
"created": 1756093055069.0,
"source_on_save": false,
"relative_order": 3,
"properties": {
"source_window_id": "",
"Source": "Source",
"cursorPosition": "13,70",
"scrollLine": "0"
},
"folds": "",
"lastKnownWriteTime": 1755759383,
"encoding": "UTF-8",
"collab_server": "",
"source_window": "",
"last_content_update": 1755759383,
"read_only": false,
"read_only_alternatives": []
}
\ No newline at end of file
library(shiny.i18n)
i18n <- Translator$new(translation_csvs_path = "../translations")
i18n$set_translation_language("zh")
## sourcing from radiant.data
options(radiant.path.data = system.file(package = "radiant.data"))
source(file.path(getOption("radiant.path.data"), "app/global.R"), encoding = getOption("radiant.encoding", default = "UTF-8"), local = TRUE)
if (getOption("radiant.development", default = TRUE)) {
ifelse(grepl("radiant", getwd()) && file.exists("../../inst"), "..", system.file(package = "radiant")) %>%
options(radiant.path = .)
}
options(radiant.path.design = system.file(package = "radiant.design"))
options(radiant.path.basics = system.file(package = "radiant.basics"))
options(radiant.path.model = system.file(package = "radiant.model"))
options(radiant.path.multivariate = system.file(package = "radiant.multivariate"))
# 添加quickgen模块路径
options(radiant.path.quickgen = "D:/R/radiant.quickgen/inst")
# sourcing from radiant base, note that path is set in base/global.R
#source(file.path(getOption("radiant.path.data"), "app/global.R"), encoding = getOption("radiant.encoding", default = "UTF-8"), local = TRUE)
## setting path for figures in help files
addResourcePath("figures_design", file.path(getOption("radiant.path.design"), "app/tools/help/figures/"))
addResourcePath("figures_basics", file.path(getOption("radiant.path.basics"), "app/tools/help/figures/"))
addResourcePath("figures_model", file.path(getOption("radiant.path.model"), "app/tools/help/figures/"))
addResourcePath("figures_multivariate", file.path(getOption("radiant.path.multivariate"), "app/tools/help/figures/"))
# 添加quickgen模块的figures路径
addResourcePath("figures_quickgen", file.path(getOption("radiant.path.quickgen"), "app/tools/help/figures/"))
## setting path for www resources
addResourcePath("www_design", file.path(getOption("radiant.path.design"), "app/www/"))
addResourcePath("www_basics", file.path(getOption("radiant.path.basics"), "app/www/"))
addResourcePath("www_model", file.path(getOption("radiant.path.model"), "app/www/"))
addResourcePath("www_multivariate", file.path(getOption("radiant.path.multivariate"), "app/www/"))
# 添加quickgen模块的www路径
addResourcePath("www_quickgen", file.path(getOption("radiant.path.quickgen"), "app/www/"))
## loading url information
source(file.path(getOption("radiant.path.design"), "app/init.R"), encoding = getOption("radiant.encoding"), local = TRUE)
source(file.path(getOption("radiant.path.basics"), "app/init.R"), encoding = getOption("radiant.encoding"), local = TRUE)
source(file.path(getOption("radiant.path.model"), "app/init.R"), encoding = getOption("radiant.encoding"), local = TRUE)
source(file.path(getOption("radiant.path.multivariate"), "app/init.R"), encoding = getOption("radiant.encoding"), local = TRUE)
# 添加quickgen模块的init.R
source(file.path(getOption("radiant.path.quickgen"), "app/init.R"), encoding = getOption("radiant.encoding"), local = TRUE)
options(radiant.url.patterns = make_url_patterns())
if (!"package:radiant" %in% search() &&
isTRUE(getOption("radiant.development")) &&
getOption("radiant.path") == "..") {
options(radiant.from.package = FALSE)
} else {
options(radiant.from.package = TRUE)
}
## to use an alternative set of .rda files with data.frames as the default adapt and
## un-comment the line below
## note that "data/" here points to inst/app/data in the radiant directory but can
## be any (full) path on a server
# options(radiant.init.data = list.files(path = "data/", full.names = TRUE))
{
"id": "AC1E4C1F",
"path": "D:/R/radiant.quickgen/inst/app/tools/analysis/quickgen_basic_ui.R",
"project_path": "inst/app/tools/analysis/quickgen_basic_ui.R",
"type": "r_source",
"hash": "953623402",
"contents": "",
"dirty": false,
"created": 1756092786308.0,
"source_on_save": false,
"relative_order": 1,
"properties": {
"source_window_id": "",
"Source": "Source",
"cursorPosition": "15,2",
"scrollLine": "0"
},
"folds": "",
"lastKnownWriteTime": 1756090465,
"encoding": "UTF-8",
"collab_server": "",
"source_window": "",
"last_content_update": 1756090465,
"read_only": false,
"read_only_alternatives": []
}
\ No newline at end of file
{
"source_window_id": "",
"Source": "Source",
"cursorPosition": "15,2",
"scrollLine": "0"
}
\ No newline at end of file
{
"source_window_id": "",
"Source": "Source",
"cursorPosition": "18,40",
"scrollLine": "0"
}
\ No newline at end of file
{
"source_window_id": "",
"Source": "Source",
"cursorPosition": "13,70",
"scrollLine": "0"
}
\ No newline at end of file
D%3A%2FR%2Fradiant-master%2Finst%2Fapp%2Fglobal.R="B388924E"
D%3A%2FR%2Fradiant.quickgen%2FR%2Fquickgen_basic.R="60F6F2DC"
D%3A%2FR%2Fradiant.quickgen%2Finst%2Fapp%2Ftools%2Fanalysis%2Fquickgen_basic_ui.R="279BFA89"
D:/R/radiant.quickgen/R/quickgen_basic.R="741A1A01"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment