Re: [R-sig-phylo] Why does ace set a random number generator seed?

2017-10-20 Thread David Bapst
Thanks, Emmanuel. I was not familiar with .Random.seed objects until R CHECK started complaining about such elements in saved workspaces within .rdata files within packages (requiring rm to remove them), and then was mainly familiar with them regarding set.seed() (and so I thought ace must be

Re: [R-sig-phylo] Why does ace set a random number generator seed?

2017-10-20 Thread Emmanuel Paradis
Hi Dave, The seed is created every time you generate random data (see details in ?.Random.seed): R> exists(".Random.seed") [1] FALSE R> sample(1) [1] 1 R> exists(".Random.seed") [1] TRUE So in your code below the seed is created by calling rtree(). Indeed, with ape 4.1: R>