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

Writes the matrices in a collection 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>(
	Stream stream,
	IDictionary<string, Matrix<T>> matrices,
	bool compress = true,
	bool ascii = false
)

Parameters

stream  Stream
The stream to write the matrices to.
matrices  IDictionary<String, Matrix<T>>
A dictionary that maps names to the matrices to write.
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 matrices.

See Also