[Rd] package Geneland / Rgui under windows

Gilles GUILLOT guillot at math.chalmers.se
Mon Oct 15 15:29:09 CEST 2007


Hi,
I experienced a problem with the package Geneland under R 2.6.0
with  windows XP professional.

The commands below should simulate a dataset,
then make an MCMC simulation stored in tempdir().

It works with R 2.5.1 (both GUI and command line)
It works with the command line of R 2.6.0
but not with the R GUI of 2.6.0: no output file is created in tempdir()
and R remains frozen.
I reported it as a bug
(PR#9964)  but did not get any feed back.

Thanks in advance for any help.

Gilles

set.seed(1)
data <- simdata(nindiv=200,
                coord.lim=c(0,1,0,1) ,
                number.nuclei=5 ,
                allele.numbers=rep(10,20),
                IBD=FALSE,
                npop=2,
                give.tess.grid=FALSE)


path.mcmc <- paste(tempdir(),"/",sep="")

mcmcFmodel(coordinates= t(data$coord.indiv),
           genotypes=data$genotypes,
           path.mcmc=path.mcmc,
           rate.max=10,
           delta.coord=0,
           npopmin=1,
           npopinit=5,
           npopmax=5,
           nb.nuclei.max=50,
           nit=500,
           thinning=1,
           freq.model="Dirichlet",
           varnpop=FALSE,
           spatial=TRUE)



More information about the R-devel mailing list