Skip to main content

PutRNGstate

Function PutRNGstate 

Source
pub unsafe fn PutRNGstate()
Expand description

Restore the RNG state to R’s global state.

Must be called after using unif_rand(), norm_rand(), etc. to ensure R’s .Random.seed is updated. Checked wrapper for PutRNGstate. Calls PutRNGstate_unchecked and routes through with_r_thread. Generated from source location line 3241, column 12. Generated from source file miniextendr-api/src/ffi.rs.