The R# method argument wrapper
RMethodArgument
01 Syntax
SMRUCC.Rsharp.Runtime.Interop.RMethodArgument
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| GetRawVectorElementType | 1 | Get element type of the target raw vector |
| ToString | 1 | show markdown document of this parameter |
| getDefaultValue | 1 | get the default value of this parameter |
| ParseArgument | 1 |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| name | 1 | The argument name |
| type | 1 | the type of this parameter that required |
| default | 1 | default value |
| isOptional | 1 | is an optional parameter? |
| isObjectList | 1 | is a ... list argument? |
| isByrefValueParameter | 1 | is a parameter that accept the byref value to this function? |
| isRequireRawVector | 1 | Do not apply the RVectorExtensions.getFirst()) operation |
| requireRawExpression | 1 | |
| acceptFormula | 1 |
04 Members
GetRawVectorElementType
Get element type of the target raw vector
ToString
show markdown document of this parameter
get the default value of this parameter
Parameters
| Name | Type | Description |
|---|---|---|
rawVector | RRawVectorArgumentAttribute | - |
defaultScript | RDefaultValueAttribute | - |
paramType | Type | - |
hasExpression | Boolean | - |
[default] | Object | - |
name
The argument name
Remarks
is a reference of MemberInfo.Name
type
the type of this parameter that required
default
default value
isOptional
is an optional parameter?
isObjectList
is a ... list argument?
isByrefValueParameter
is a parameter that accept the byref value to this function?
Remarks
byref call: func(...) <- value;
call in normal function invoke style: func(value, ...);
if this property is TRUE, then it meansthe byref assign of the value will passing to this parameter.
isRequireRawVector
Do not apply the RVectorExtensions.getFirst() operation
requireRawExpression
acceptFormula
ParseArgument(
ParameterInfo, Boolean)