RdataFile Class

Contains static methods for reading from R's .rdata and .rds files.

Definition

Namespace: Extreme.Data.R
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0
C#
public static class RdataFile
Inheritance
Object  →  RdataFile

Remarks

Use the RdataFile class to load or save data frames, vectors, or matrices in files stored in R's RDA or RDATA format.

Methods

Append Creates a new R data file in .rda format for writing.
Create Creates a new R data file in .rda format for writing.
Open(Stream) Opens an R data file in .rda format.
Open(String) Opens an R data file in .rda format.
ReadAll Reads all objects from the data stream.
ReadAllDataFrames(Stream) Reads all data frames from a stream.
ReadAllDataFrames(String) Reads all data frames from a file.
ReadAllDataFrames<R, C>(Stream) Reads all data frames from a stream.
ReadAllDataFrames<R, C>(String) Reads all data frames from a file.
ReadAllMatrices<T>(Stream) Reads all matrices from a stream.
ReadAllMatrices<T>(String, Boolean) Reads all matrices from a file.
ReadAllVectors<T>(Stream) Reads all vectors from a stream.
ReadAllVectors<T>(String, Boolean) Reads all vectors from a file.
ReadDataFrame(Stream) Reads a data frame from the specified file.
ReadDataFrame(String) Reads a data frame from the specified file.
ReadDataFrame(Stream, String) Reads the data frame with the specified name from a stream.
ReadDataFrame(String, String) Reads the data frame with the specified name from a file.
ReadDataFrame<R, C>(Stream) Reads a data frame from the specified file.
ReadDataFrame<R, C>(String) Reads a data frame from the specified file.
ReadDataFrame<R, C>(Stream, String) Reads the data frame with the specified name from a stream.
ReadDataFrame<R, C>(String, String) Reads the data frame with the specified name from a file.
ReadDataFrames(Stream, IEnumerable<String>) Reads the specified data frames from a stream.
ReadDataFrames(String, IEnumerable<String>) Reads the specified data frames from a file.
ReadDataFrames<R, C>(Stream, IEnumerable<String>) Reads the specified data frames from a stream.
ReadDataFrames<R, C>(String, IEnumerable<String>) Reads the specified data frames from a file.
ReadMatrices<T>(Stream, IEnumerable<String>) Reads the specified matrices from a stream.
ReadMatrices<T>(String, IEnumerable<String>, Boolean) Reads the specified matrices from a file.
ReadMatrix<T>(Stream) Reads a matrix from the specified file.
ReadMatrix<T>(Stream, String) Reads the matrix with the specified name from a stream.
ReadMatrix<T>(String, Boolean) Reads a matrix from the specified file.
ReadMatrix<T>(String, String, Boolean) Reads the matrix with the specified name from a file.
ReadVector<T>(Stream) Reads a vector from the specified file.
ReadVector<T>(Stream, String) Reads the vector with the specified name from a stream.
ReadVector<T>(String, Boolean) Reads a vector from the specified file.
ReadVector<T>(String, String, Boolean) Reads the vector with the specified name from a file.
ReadVectors<T>(Stream, IEnumerable<String>) Reads the specified vectors from a stream.
ReadVectors<T>(String, IEnumerable<String>, Boolean) Reads the specified vectors from a file.
Write(Stream, IDictionary<String, DataFrame<Int64, String>>, Boolean, Boolean) Writes the data frames in a collection to the specified file.
Write(Stream, IEnumerable<DataFrame<Int64, String>>, Boolean, Boolean) Writes a sequence of data frames to the specified file.
Write(String, IDictionary<String, DataFrame<Int64, String>>, Boolean, Boolean) Writes the data frames in a collection to the specified file.
Write(String, IEnumerable<DataFrame<Int64, String>>, Boolean, Boolean) Writes a sequence of data frames to the specified file.
Write(Stream, DataFrame<Int64, String>, String, Boolean, Boolean) Writes a data frame to the specified file.
Write(Stream, IEnumerable<DataFrame<Int64, String>>, IEnumerable<String>, Boolean, Boolean) Writes a sequence of data frames to the specified file.
Write(String, DataFrame<Int64, String>, String, Boolean, Boolean) Writes a data frame to the specified file.
Write(String, IEnumerable<DataFrame<Int64, String>>, IEnumerable<String>, Boolean, Boolean) Writes a sequence of data frames to the specified file.
Write<T>(Stream, IDictionary<String, Matrix<T>>, Boolean, Boolean) Writes the matrices in a collection to the specified file.
Write<T>(Stream, IDictionary<String, Vector<T>>, Boolean, Boolean) Writes the vectors in a collection to the specified file.
Write<T>(Stream, IEnumerable<Matrix<T>>, Boolean, Boolean) Writes a sequence of matrices to the specified file.
Write<T>(Stream, IEnumerable<Vector<T>>, Boolean, Boolean) Writes a sequence of vectors to the specified file.
Write<T>(String, IDictionary<String, Matrix<T>>, Boolean, Boolean) Writes the matrices in a collection to the specified file.
Write<T>(String, IDictionary<String, Vector<T>>, Boolean, Boolean) Writes the vectors in a collection to the specified file.
Write<T>(String, IEnumerable<Matrix<T>>, Boolean, Boolean) Writes a sequence of matrices to the specified file.
Write<T>(String, IEnumerable<Vector<T>>, Boolean, Boolean) Writes a sequence of vectors to the specified file.
Write<T>(Stream, Matrix<T>, String, Boolean, Boolean) Writes a matrix to the specified file.
Write<T>(Stream, Vector<T>, String, Boolean, Boolean) Writes a vector to the specified file.
Write<T>(Stream, IEnumerable<Matrix<T>>, IEnumerable<String>, Boolean, Boolean) Writes a sequence of matrices to the specified file.
Write<T>(Stream, IEnumerable<Vector<T>>, IEnumerable<String>, Boolean, Boolean) Writes a sequence of vectors to the specified file.
Write<T>(String, Matrix<T>, String, Boolean, Boolean) Writes a matrix to the specified file.
Write<T>(String, Vector<T>, String, Boolean, Boolean) Writes a vector to the specified file.
Write<T>(String, IEnumerable<Matrix<T>>, IEnumerable<String>, Boolean, Boolean) Writes a sequence of matrices to the specified file.
Write<T>(String, IEnumerable<Vector<T>>, IEnumerable<String>, Boolean, Boolean) Writes a sequence of vectors to the specified file.
Write<R, C>(Stream, IDictionary<String, DataFrame<R, C>>, Boolean, Boolean) Writes the data frames in a collection to the specified file.
Write<R, C>(Stream, IEnumerable<DataFrame<R, C>>, Boolean, Boolean) Writes a sequence of data frames to the specified file.
Write<R, C>(String, IDictionary<String, DataFrame<R, C>>, Boolean, Boolean) Writes the data frames in a collection to the specified file.
Write<R, C>(String, IEnumerable<DataFrame<R, C>>, Boolean, Boolean) Writes a sequence of data frames to the specified file.
Write<R, C>(Stream, DataFrame<R, C>, String, Boolean, Boolean) Writes a data frame to the specified file.
Write<R, C>(Stream, IEnumerable<DataFrame<R, C>>, IEnumerable<String>, Boolean, Boolean) Writes a sequence of data frames to the specified file.
Write<R, C>(String, DataFrame<R, C>, String, Boolean, Boolean) Writes a data frame to the specified file.
Write<R, C>(String, IEnumerable<DataFrame<R, C>>, IEnumerable<String>, Boolean, Boolean) Writes a sequence of data frames to the specified file.

See Also