scalar

Convenience function to pull an int value out of R. Only used when embedding an R interpreter inside a D program.

Examples

int x = scalar!int("rx");
int x = "rx".scalar!int; // Same thing

Meta