R Type Provider


Helpers

Namespace: RProvider

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.

Functions and values

Function or valueDescription
namedParams s
Signature: s:seq<string * '?86269> -> IDictionary<string,obj>
Type parameters: '?86269

Construct a dictionary of named params to pass to an R function.

Example

For example, if you want to call the R.plot function with named parameters specifying x, type, col and ylim, you can use the following:

1: 
2: 
3: 
4: 
5: 
[ "x", box widgets; 
  "type", box "o"; 
  "col", box "blue";
  "ylim", box [0; 25] ]
|> namedParams |> R.plot 
val box : value:'T -> obj

Full name: Microsoft.FSharp.Core.Operators.box
Fork me on GitHub