Sign in
third-party-mirror
/
R
/
refs/heads/main
/
.
/
src
/
library
/
parallel
/
tests
/
multicore3.RR
blob: 4a353cb20455be61abe1a9cc78d57cb13f18223c [
file
] [
log
] [
blame
]
library
(
parallel
)
# use the same random numbers for all values
set
.
seed
(
1
)
simplify2array
(
mclapply
(
rep
(
4
,
5
),
rnorm
))
set
.
seed
(
1
)
simplify2array
(
mclapply
(
rep
(
4
,
5
),
rnorm
,
mc
.
preschedule
=
FALSE
,
mc
.
set
.
seed
=
FALSE
))