Re: [Rd] idea for GSoC: an R package for fitting Bayesian Hierarchical Models

2008-03-24 Thread Antonio, Fabio Di Narzo
Above all, tnx Ben for taking time to read about my proposal! 2008/3/24, Ben Bolker <[EMAIL PROTECTED]>: > Antonio, Fabio Di Narzo gmail.com> writes: > > > > > I've put online a temp web page with some more info (and sources): > > > > http://antonio.fabio.googlepages.com/rgs%3Athergibbssample

Re: [Rd] idea for GSoC: an R package for fitting Bayesian Hierarchical Models

2008-03-24 Thread Ben Bolker
Antonio, Fabio Di Narzo gmail.com> writes: > I agree that quantitative differences in speed can make a qualitative difference in the way one works. Well, I'm somewhat interested, but don't feel that I'm necessarily appropriate as a mentor. I don't think it would be terrible if you contac

Re: [Rd] idea for GSoC: an R package for fitting Bayesian Hierarchical Models

2008-03-24 Thread hadley wickham
> Ya. But speeds are rather different. > I admittely missed a comparison with Umacs in my short demo. > However, from some early experiments (I'm doing while I'm writing), as > I suspected, my approach results being many times faster than Umacs, > even if one doesn't specify samplers as C code

Re: [Rd] idea for GSoC: an R package for fitting Bayesian Hierarchical Models

2008-03-24 Thread Antonio, Fabio Di Narzo
2008/3/24, hadley wickham <[EMAIL PROTECTED]>: > > Ya. But speeds are rather different. > > I admittely missed a comparison with Umacs in my short demo. > > However, from some early experiments (I'm doing while I'm writing), as > > I suspected, my approach results being many times faster tha

Re: [Rd] Roxygen

2008-03-24 Thread Manuel . Eugster
Hey Peter, sorry for the delay, I was on easter holiday. > Would it suffice, by the way, to source() a file and introspect upon > its objects with ls(), formals(), typeof(), mode(), and the like; or > should we formalize, say, a BNF and write the accompanying automaton? I agree with Duncan and H

[Rd] Inaccurate qgamma() (PR#11030)

2008-03-24 Thread murdoch
I haven't looked inside to see what is causing this, but there's a big discontinuity in qgamma: curve(qgamma(x, shape=19), from=1e-10, to=2e-10) This appears in both R-patched and R-devel. Duncan Murdoch __ R-devel@r-project.org mailing list https:

[Rd] resampling from string when it runs across multiple lines

2008-03-24 Thread Suraaga Kulkarni
Hi, I need to resample from a long string, which is written in many lines with carriage-return marks at the end of each line. Perhaps because the data looks like a matrix, using the code: sample(data, 25, replace=T) gives me 25 columns of characters from the data because it is resampling whole co

Re: [Rd] resampling from string when it runs across multiple lines

2008-03-24 Thread Dimitris Rizopoulos
try this: y <- as.matrix(read.table(textConnection( "A C G T T G C A G C A C G F F F F F F G A C G S S S S S G A A C G T T G C A G G A B B

[Rd] revision 44805 breaks promptMethods()

2008-03-24 Thread Michael Lawrence
Hi, It seems that promptMethods() was changed in revision 44805 to include a call to "isGenericFunction" that at least as of revision 44861 does not exist as far as I can tell. This results in: could not find function "isGenericFunction" when evaluating e.g. promptMethods("myGeneric") Thanks, M

Re: [Rd] Inaccurate qgamma() (PR#11030)

2008-03-24 Thread Duncan Murdoch
On 24/03/2008 1:35 PM, [EMAIL PROTECTED] wrote: > I haven't looked inside to see what is causing this, but there's a big > discontinuity in qgamma: > > curve(qgamma(x, shape=19), from=1e-10, to=2e-10) > > This appears in both R-patched and R-devel. With debugging turned on, the inaccurate val

Re: [Rd] revision 44805 breaks promptMethods()

2008-03-24 Thread John Chambers
I think, as of just 2 revisions later (44863) anyway, that problem has been fixed. Sitting in the methods/R directory: grep -nH -e "isGenericFunction" *.R Grep finished with no matches found at Mon Mar 24 16:55:39 Try updating & see if all is well. (r-devel is a moving target, particularly a

[Rd] regexp with [:upper:] (PR#11032)

2008-03-24 Thread mark . bravington
Full_Name: Mark Bravington Version: 2.6.2 patched OS: Windows XP Pro Submission from: (NULL) (140.79.22.104) > grep( '[:upper:]', letters, val=T) # shurely shouldn't match anything ?? [1] "e" "p" "r" "u" The converse ( '[:lower:]' and LETTERS) seems to work OK. --please do not edit the informat

Re: [Rd] regexp with [:upper:] (PR#11032)

2008-03-24 Thread Prof Brian Ripley
That is correct: I suspect you meant the character class [[:upper:]] > grep( '[[:upper:]]', letters, val=TRUE) character(0) You asked for matches amongst :upper:, and that is what you got. As ?rexexp does say (Note that the brackets in these class names are part of the symbolic names

Re: [Rd] regexp with [:upper:] (PR#11032)

2008-03-24 Thread Mark.Bravington
Aaargh, sorry. I thought it might be to do with Australian English... Prof Brian Ripley wrote: > That is correct: I suspect you meant the character class [[:upper:]] > >> grep( '[[:upper:]]', letters, val=TRUE) character(0) > > You asked for matches amongst :upper:, and that is what you got. > A