Pull the value out of an R object holding one double value.
double x = rx.scalar; double x = rx.scalar!double;
See Implementation
Pull the value out of an R object holding one double value.