RdataFile.ReadDataFrame Method

Definition

Namespace: Numerics.NET.Data.R
Assembly: Numerics.NET.Data (in Numerics.NET.Data.dll) Version: 4.0.3

Overload List

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.

ReadDataFrame(Stream)

Reads a data frame from the specified file.
C#
public static DataFrame<long, string> ReadDataFrame(
	Stream stream
)

Parameters

stream  Stream
The stream to read from.

Return Value

DataFrame<Int64, String>
The data frame that was read from the stream.

ReadDataFrame<R, C>(Stream)

Reads a data frame from the specified file.
C#
public static DataFrame<R, C> ReadDataFrame<R, C>(
	Stream stream
)

Parameters

stream  Stream
The stream to read from.

Type Parameters

R
The type of the row keys of the data frame.
C
The type of the column keys of the data frame.

Return Value

DataFrame<R, C>
The data frame that was read from the stream.

ReadDataFrame(String)

Reads a data frame from the specified file.
C#
public static DataFrame<long, string> ReadDataFrame(
	string path
)

Parameters

path  String
The file to read from.

Return Value

DataFrame<Int64, String>
The data frame that was read from the file.

ReadDataFrame<R, C>(String)

Reads a data frame from the specified file.
C#
public static DataFrame<R, C> ReadDataFrame<R, C>(
	string path
)

Parameters

path  String
The file to read from.

Type Parameters

R
The type of the row keys of the data frame.
C
The type of the column keys of the data frame.

Return Value

DataFrame<R, C>
The data frame that was read from the file.

ReadDataFrame(Stream, String)

Reads the data frame with the specified name from a stream.
C#
public static DataFrame<long, string> ReadDataFrame(
	Stream stream,
	string name
)

Parameters

stream  Stream
The stream to read from.
name  String
The name of the data frame to read.

Return Value

DataFrame<Int64, String>
The data frame that was read from the stream.

ReadDataFrame<R, C>(Stream, String)

Reads the data frame with the specified name from a stream.
C#
public static DataFrame<R, C> ReadDataFrame<R, C>(
	Stream stream,
	string name
)

Parameters

stream  Stream
The stream to read from.
name  String
The name of the data frame to read.

Type Parameters

R
The type of the row keys of the data frame.
C
The type of the column keys of the data frame.

Return Value

DataFrame<R, C>
The data frame that was read from the stream.

ReadDataFrame(String, String)

Reads the data frame with the specified name from a file.
C#
public static DataFrame<long, string> ReadDataFrame(
	string path,
	string name
)

Parameters

path  String
The file to read from.
name  String
The name of the data frame to read.

Return Value

DataFrame<Int64, String>
The data frame that was read from the file.

ReadDataFrame<R, C>(String, String)

Reads the data frame with the specified name from a file.
C#
public static DataFrame<R, C> ReadDataFrame<R, C>(
	string path,
	string name
)

Parameters

path  String
The file to read from.
name  String
The name of the data frame to read.

Type Parameters

R
The type of the row keys of the data frame.
C
The type of the column keys of the data frame.

Return Value

DataFrame<R, C>
The data frame that was read from the file.

See Also