RProvider Namespace

Type/Module Description

FSIPrinters

Print functions that may be used in F# interactive to 'pretty-print' R types to the console window. Use in your scripts by passing to `fsi.AddPrinter`.

Helpers

Contains helper functions for calling the functions generated by the R provider, such as the `namedParams` function for specifying named parameters. The module is automatically opened when you open the `RProvider` namespace.

IConvertFromR<'TOutType>

This interface can be used for providing new convertors that can convert R values to .NET types. The converter is used whenever the users calls the `se.GetValue<'TOutType>()` on a `SymbolicExpression` value returned from R provider.

IConvertToR<'TInType>

This interface can be used for providing new convertors that can convert custom .NET data types to R values. The converter is used whenever the user calls an R function (such as `R.foo(...)`) with an arguments that is of type `TInType`.

IDefaultConvertFromR

This interface can be used for providing a default converter that converts R value to .NET `obj` values. The converter is used whenever the user calls the `se.Value` member on `SymbolicExpression. This property should convert an R value to the "most appropriate" .NET object.

Operators

Custom operators that make composing and working with R symbolic expressions easier.

REnv

The object represents an R environment loaded from RData file. This type is typically used through an `RData` type provider. To get a statically typed R environment for a given file, use `RData<"C:\\myfile.rdata">`.