# Set the seed of the first stream
.lec.SetPackageSeed(1:6)
# Create the first stream and print out its state
.lec.CreateStream("A")
.lec.WriteStateFull("A")
# Create two more streams
.lec.CreateStream(c("B", "C"))
.lec.WriteStateFull(c("A", "B", "C"))
# Cet the seed of the next stream and create it
.lec.SetPackageSeed(rep(5678, 6))
.lec.CreateStream("D")
.lec.WriteStateFull(c("A", "B", "C", "D"))
Run the code above in your browser using DataLab