Learn R Programming

BayesFluxR (version 0.1.3)

.set_seed: Set a seed both in Julia and R

Description

Set a seed both in Julia and R

Usage

.set_seed(seed)

Value

No return value, called for side effects.

Arguments

seed

seed to be used

Examples

Run this code
if (FALSE) {
  ## Needs previous call to `BayesFluxR_setup` which is time
  ## consuming and requires Julia and BayesFlux.jl
  BayesFluxR_setup(installJulia=TRUE, seed=123)
  .set_seed(123)
}

Run the code above in your browser using DataLab