evalR

For embedding an R interpreter inside D.

version(standalone)
evalR
(
string cmd
)

Parameters

cmd
Type: string

String of R code that is passed to R and evaluated.

Return Value

Type: Robj

An Robj holding the result of the evaluation of cmd. If nothing is returned, as for instance when you evaluate y <- 3+2, the return value will be an Robj struct holding RNil.

See Also

Meta