Data reader of ConfigFile. The operations in this module will modify the environment configuration of the R# scripting engine and it also controls some of the behaviour of the sciBASIC.NET framework.
Options
01 Syntax
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| .ctor | 1 | |
| getOption | 1 | Get configuration value string, if the option is not exists in current configuration, then this function will create a new configuration value with use default value. |
| setOption | 1 | Set configuration value and update the configuration database. |
| flush | 1 | Save configuration file |
| getAllConfigs | 1 | |
| ToString | 1 | |
| hasOption | 1 | |
| Dispose | 1 |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| nwarnings | 1 | nwarnings, config the number of warning messages to display after done of run a script program. |
| lib | 1 | Package library repository file path. |
| lib_loc | 1 | the folder path for save the installed R# zip packages |
| maxPrint | 1 | Max count number for print vector. |
| digits | 1 | [digits]: controls the number of significant (see signif) digits to print when printing numeric values. |
| f64Format | 1 | [f64.format]: F or G |
| strict | 1 | turn strict mode on? |
| stdout_multipline | 1 | 在R#环境之中调用命令行,输出的stdout字符串是使用多行数据返回还是整个文本返回 |
| verbose | 1 | logical. Should R report extra information on progress? Set to TRUE by the command-line option --verbose |
| environments | 1 | get default script environments |
| localConfig | 1 | file path for save the config file |
| HTTPUserAgent | 1 | |
| log4vb_redirect | 1 | |
| memoryLoad | 1 | |
| python | 1 | |
| julia | 1 | |
| typescript | 1 | |
| enableWarning | 1 | |
| MimeType | 1 |
04 Fields
| Name | Overloads | Summary |
|---|---|---|
| configValues | 1 | The memory cache value of the configuration. |
| UnixLib | 2 | config folder on unix platform is a fixed directory. |
05 Members
String, Boolean)| Name | Type | Description |
|---|---|---|
configs | String | - |
saveConfig | Boolean | 为R解释器创建配置数据的时候,一般只是修改当前新创建的解释器的环境 并不需要写入配置文件,这个参数总是会设置为FALSE 当通过命令行修改默认参数配置的时候,才会将这个参数设置为TRUE 保存通过命令行工具所配置的R环境选项 新修改的配置文件将会作为默认配置作为后面启动的R脚本解释器的默认配置值 |
Get configuration value string, if the option is not exists in current configuration, then this function will create a new configuration value with use default value.
| Name | Type | Description |
|---|---|---|
opt | String | - |
default$ | String | - |
Set configuration value and update the configuration database.
This method will also join/update a variable into the sciBASIC.NET framework runtime.
| Name | Type | Description |
|---|---|---|
opt | String | - |
value | String | - |
Boolean)Save configuration file
nwarnings, config the number of warning messages to display after done of run a script program. default is 50 warning message.
Package library repository file path.
the folder path for save the installed R# zip packages
Max count number for print vector. integer, defaulting to 999. print or show methods can make use of this option, to limit the amount of information that is printed, to something in the order of (and typically slightly less than) max.print entries.
[digits]:
controls the number of significant (see signif) digits to print when printing numeric values. It is a suggestion only. Valid values are 1...22 with default
- See the note in print.default about values greater than 15.
[f64.format]: F or G
turn strict mode on?
option(strict = TRUE/FALSE);
在R#环境之中调用命令行,输出的stdout字符串是使用多行数据返回还是整个文本返回
logical. Should R report extra information on progress? Set to TRUE by the command-line option --verbose
debug模式下会默认将啰嗦模式打开
get default script environments
file path for save the config file
The memory cache value of the configuration.
config folder on unix platform is a fixed directory.
String)