[BioC] mt.sample.label RGui: Rgui.exe - Application Error

Vincent Carey 525-2265 stvjc at channing.harvard.edu
Fri Jun 27 08:31:33 MEST 2003


> I get an error when trying to use mt.sample.label:
>
> RGui: Rgui.exe - Application Error
> The instruction at "0x113d1734" referenced memory at "0x00000000". The memory could not be "written".  Click on OK to terminate the program...
>
> I am using R 1.7.1, multtest 1.0.2, windows 2000.  Here is the code that generates this fatal error
>
> library(multtest)
> vg  <- c(0,1,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,1,0)
> vgAll <- mt.sample.label(vg,B=0)

i reproduced this on XP, same versions.  the problem is that
the C code is not coping with B=0.  nor is it clear what B=0
is intended to do.  it seems that if B=1 then you get back
vg.  if you want a single  permutation of vg, use
sample(vg,size=length(vg),replace=FALSE)



More information about the Bioconductor mailing list