RdsFile Class

Contains static methods for reading from, writing to, or opening R's .rds files.

Definition

Namespace: Numerics.NET.Data.R
Assembly: Numerics.NET.Data (in Numerics.NET.Data.dll) Version: 4.0.1
C#
public static class RdsFile
Inheritance
Object  →  RdsFile

Remarks

Use the RdsFile class to load or save a single data frame, matrix, or vector from a file in R's RDS format.

Methods

Create Creates a new R data file in .rds format for writing.
Open(Stream) Opens an R data file in .rds format.
Open(String) Opens an R data file in .rds format.
ReadDataFrame(Stream) Reads a data frame from a stream in R's RDS format.
ReadDataFrame(String) Reads a data frame from an R file in RDS format.
ReadMatrix<T>(Stream, Boolean) Reads a matrix from a stream in R's RDS format.
ReadMatrix<T>(String, Boolean) Reads a matrix from an R file in RDS format.
ReadVector<T>(Stream, Boolean) Reads a vector from a stream in R's RDS format.
ReadVector<T>(String, Boolean) Reads a vector from an R file in RDS format.
WriteDataFrame Saves a data frame to an R data file.
WriteMatrix<T> Saves a matrix to an R data file.
WriteVector<T> Saves a vector to an R data file.

See Also