An Rscript source wrapper
Rscript
01 Syntax
SMRUCC.Rsharp.Runtime.Components.Rscript
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| GetTokens | 2 | Get language Scanner tokens |
| FromFile | 1 | R script from local file |
| AutoHandleScript | 1 | auto handle Rscript text from: + plain text input + local file + network file on a web server |
| FromText | 1 | R script from in memory plain text input |
| GetByLineNumber | 1 | |
| GetSourceDirectory | 1 | |
| GetFileNameDisplay | 1 | |
| GetRawText | 1 | |
| ToString | 1 | |
| GetByLineRange | 1 |
03 Properties
04 Members
GetTokens
Get language Scanner tokens
FromFile(
String)R script from local file
Parameters
| Name | Type | Description |
|---|---|---|
path | String | - |
AutoHandleScript(
String)auto handle Rscript text from:
- plain text input
- local file
- network file on a web server
Parameters
| Name | Type | Description |
|---|---|---|
handle | String | - |
FromText(
String)R script from in memory plain text input
Parameters
| Name | Type | Description |
|---|---|---|
text | String | - |
source
If the script is load from a text file, then property value of Rscript.source is the file location Otherwise this property is value nothing
script
The script text
fileName
GetByLineNumber(
Int32)GetSourceDirectory()
GetTokens(
String)GetFileNameDisplay(
String)GetRawText(
IEnumerable(Of Token))ToString()
GetByLineRange(
IntRange)