[BioC] mt.sample.label RGui: Rgui.exe - Application Error
Dick Beyer
dbeyer at u.washington.edu
Fri Jun 27 08:27:14 MEST 2003
The B=0 option should create all permutations:
B: The number of permutations. For a complete enumeration, `B'
should be 0 (zero) or any number not less than the total
number of permutations.
*******************************************************************************
Richard P. Beyer, Ph.D. University of Washington
Tel.:(206) 616 7378 Env. & Occ. Health Sci. , Box 354695
Fax: (206) 685 4696 4225 Roosevelt Way NE, # 100
Seattle, WA 98105-6099
*******************************************************************************
On Fri, 27 Jun 2003, Vincent Carey 525-2265 wrote:
>
> > 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