Re: [Rd] R 2.6.0 S4 data breakage, R _data_class(), class<-, etc.
Martin Morgan wrote: > But both 'new' and 'as' appear to produce invalid (in a different > sense, I guess) objects: > >> setClass("snp", contains="raw", > + validity=function(object) { > + if (length(object) < 1) "too short" > + else TRUE > + }) Well, you _have_ designed a class with an invalid prototype (as determined by your own validity function). :-) -- Bjørn-Helge Mevik __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
[Rd] Rmpi_0.5-4 and MPICH2 does not work
Hello, Rmpi_0.5-4 is not working with MPICH2. I have mpich2-1.0.6 on a windows cluster. R-2.5.1 and Rmpi_0.5-3 is working well. Running R-2.6.0 and Rmpi_0.5-4 on one PC is working! Using more PCs mpi.spawn.Rslaves(nslaves=4) hangs without any error. There is also no message in the mpi.log Any ideas for debugging? I build Rmpi by my self with Rtools: Rcmd build --binary Rmpi_0.5-4\Rmpi It is working well, but there is a warning: "this package has a configure script. It probably needs manual configuration" Are there any problems by this warning? Best Markus -- Dipl.-Tech. Math. Markus Schmidberger Ludwig-Maximilians-Universität München IBE - Institut für medizinische Informationsverarbeitung, Biometrie und Epidemiologie Marchioninistr. 15, D-81377 Muenchen URL: http://ibe.web.med.uni-muenchen.de Mail: Markus.Schmidberger [at] ibe.med.uni-muenchen.de __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] R 2.6.0 S4 data breakage, R _data_class(), class<-, etc.
[EMAIL PROTECTED] (Bjørn-Helge Mevik) writes: > Martin Morgan wrote: > >> But both 'new' and 'as' appear to produce invalid (in a different >> sense, I guess) objects: >> >>> setClass("snp", contains="raw", >> + validity=function(object) { >> + if (length(object) < 1) "too short" >> + else TRUE >> + }) > > Well, you _have_ designed a class with an invalid prototype (as > determined by your own validity function). :-) Yeah, its true I did, but the software let me get away with it. Even with a valid protoytpe I can as(raw(), "snp"). Martin > -- > Bjørn-Helge Mevik > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel