Pass some preliminary sampling control to R for debug purposes.
This functionality is important, but will need to be standardized and cleaned up.