Rdata File.Read Vector Method
Definition
Namespace: Extreme.Data.R
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0
Overload List
Read | Reads a vector from the specified file. |
Read | Reads the vector with the specified name from a stream. |
Read | Reads a vector from the specified file. |
Read | Reads the vector with the specified name from a file. |
ReadVector<T>(Stream)
Reads a vector from the specified file.
public static Vector<T> ReadVector<T>(
Stream stream
)
Parameters
- stream Stream
- The stream to read from.
Type Parameters
- T
Return Value
Vector<T>The vector that was read from the stream.
ReadVector<T>(Stream, String)
Reads the vector with the specified name from a stream.
public static Vector<T> ReadVector<T>(
Stream stream,
string name
)
Parameters
Type Parameters
- T
Return Value
Vector<T>The vector that was read from the stream.
ReadVector<T>(String, Boolean)
Reads a vector from the specified file.
public static Vector<T> ReadVector<T>(
string path,
bool strict = false
)
Parameters
- path String
- The file to read from.
- strict Boolean (Optional)
- Specifies whether the element type should be matched exactly (true), or whether conversions are allowed (false).
Type Parameters
- T
Return Value
Vector<T>The vector that was read from the file.
ReadVector<T>(String, String, Boolean)
Reads the vector with the specified name from a file.
public static Vector<T> ReadVector<T>(
string path,
string name,
bool strict = false
)
Parameters
- path String
- The file to read from.
- name String
- The name of the vector to read.
- strict Boolean (Optional)
- Specifies whether the element type should be matched exactly (true), or whether conversions are allowed (false).
Type Parameters
- T
Return Value
Vector<T>The vector that was read from the file.