Rds File.Write Vector<T> Method
Saves a vector to an R data file.
Definition
Namespace: Numerics.NET.Data.R
Assembly: Numerics.NET.Data (in Numerics.NET.Data.dll) Version: 4.0.3
C#
Assembly: Numerics.NET.Data (in Numerics.NET.Data.dll) Version: 4.0.3
public static void WriteVector<T>(
Vector<T> vector,
string path,
bool compress = true,
bool ascii = false
)
Parameters
- vector Vector<T>
- The vector to serialize.
- path String
- The path to the file to save to.
- compress Boolean (Optional)
- (Optional.) Specifies whether the output should be compressed using gzip compression. The default is true.
- ascii Boolean (Optional)
- (Optional.) Specifies whether the output should be written in ASCII format as opposed to binary. The default is false.
Type Parameters
- T