the global environment of the R# interpreter runtime.
GlobalEnvironment
00 Remarks
R#之中的全局环境对象
01 Syntax
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| .ctor | 1 | copy environment |
| GetResourceFile | 1 | system.file export to clr function for get the package data file |
| doCall | 1 | invoke a R function by name |
| GetType | 1 | get type definition from a given type object or type name |
| LoadLibrary | 2 | load library module |
| defaultEmpty | 1 | |
| SetDebug | 1 | |
| RedirectOutput | 1 |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| polyglot | 1 | Enable programming in multiple kind of programming language |
| Rscript | 1 | the R# script host object |
| stdout | 1 | a TextWriter wrapper object |
| debugMode | 1 | RInterpreter.debug |
| lastException | 1 | 用于traceback进行脚本函数调试使用 |
| types | 1 | wrap runtime data type of RType or S4Object |
| scriptDir | 1 | if current executation is comes from the R script executation then this property will returns the directory path in the !script magic symbol object, otherwise will returns nothin… |
| options | 1 | |
| packages | 1 | |
| attachedNamespace | 1 | |
| profiler2 | 1 | |
| log4vb_redirect | 1 | |
| debugLevel | 1 | |
| factors | 1 | |
| symbolLanguages | 1 |
04 Members
copy environment
| Name | Type | Description |
|---|---|---|
globalEnv | GlobalEnvironment | - |
String, String)system.file export to clr function for get the package data file
| Name | Type | Description |
|---|---|---|
resource | String | - |
package | String | - |
the full file path of the package internal resource data file
String, NamedValue(Of Object)())invoke a R function by name
| Name | Type | Description |
|---|---|---|
func | String | the R function name |
args | NamedValue(Of Object)() | the named parameter list |
Object)get type definition from a given type object or type name
| Name | Type | Description |
|---|---|---|
typeof | Object | the object type value, and it should be one of the:
|
this function returns nothing if the given typeof type information is nothing
String, Boolean, Boolean)load library module
| Name | Type | Description |
|---|---|---|
packageName | String | the library package name |
silent | Boolean | quietly option, suppress of print message? |
ignoreMissingStartupPackages | Boolean | debug used only |
this function returns an error message object instance if load package error, otherwise returns nothing means load the required package correctly.
Type, String, Boolean)Imports static api function from given package module
| Name | Type | Description |
|---|---|---|
package | Type | - |
Enable programming in multiple kind of programming language
the R# script host object
a TextWriter wrapper object
用于traceback进行脚本函数调试使用
if current executation is comes from the R script executation then this property will returns the directory path in the !script magic symbol object, otherwise will returns nothing
StreamWriter, OutputEnvironments)