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

Writes a matrix to the specified file.


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


path  String
The file to write the matrix to.
matrix  Matrix<T>
The matrix to write.
name  String  (Optional)
A name for the matrix. The default is matrix.
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

The type of the elements of the matrix.

See Also