RdataFile.Write<T>(String, Vector<T>, String, Boolean, Boolean) Method

Writes a vector to the specified file.

Definition

Namespace: Extreme.Data.R
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0
C#
public static void Write<T>(
	string path,
	Vector<T> vector,
	string name = "vector",
	bool compress = true,
	bool ascii = false
)

Parameters

path  String
The file to write the vector to.
vector  Vector<T>
The vector to write.
name  String  (Optional)
A name for the vector. The default is vector.
compress  Boolean  (Optional)
Optional. Specifies whether the data should be compressed. The default is true.
ascii  Boolean  (Optional)
Optional. Specifies whether the data should be written in human-readable ASCII format. The default is false.

Type Parameters

T
The type of the elements of the vector.

See Also