Re: [Rd] 'sep' argument in reshape()

2009-04-01 Thread Martin Maechler
> "SW" == Stephen Weigand > on Tue, 31 Mar 2009 18:33:05 -0500 writes: SW> I wonder if the 'sep' argument in reshape() is being ignored SW> unintentionally: No. It is used much differently than you *assume* it's used. As always, ?reshape contains the answer. SW> #

Re: [Rd] Gamma funtion(s) bug

2009-04-01 Thread Martin Maechler
> "BB" == Ben Bolker > on Tue, 31 Mar 2009 15:08:45 + (UTC) writes: BB> Martin Maechler stat.math.ethz.ch> writes: >> >> But lgamma(x) is log(abs(gamma(x))), so it looks okay to me. >> >> >> >> Duncan Murdoch >> TH> Oops, yes! That's what comes of talkin

Re: [Rd] duplicated.data.frame {was "[R] which rows are duplicates?"}

2009-04-01 Thread Martin Maechler
> "WK" == Wacek Kusnierczyk > on Tue, 31 Mar 2009 21:58:52 +0200 writes: WK> Martin Maechler wrote: >> >> >> >> >> and then be helpful to the R community and send a bug report >> >> *with* a patch if {as in this case} you are able to... >> >> >> >> Well,

Re: [Rd] 'sep' argument in reshape()

2009-04-01 Thread Thomas Lumley
On Tue, 31 Mar 2009, Stephen Weigand wrote: I wonder if the 'sep' argument in reshape() is being ignored unintentionally: ## From example(reshape) df <- data.frame(id=rep(1:4,rep(2,4)), visit=I(rep(c("Before","After"),4)), x=rnorm(4), y=runif(4)) reshape(df, t

Re: [Rd] [R] variance/mean

2009-04-01 Thread Martin Maechler
> Wacek Kusnierczyk > on Tue, 24 Mar 2009 00:39:58 +0100 writes: > (this post suggests a patch to the sources, so i allow myself to divert > it to r-devel) > Bert Gunter wrote: >> x a numeric vector, matrix or data frame. >> y NULL (default) or a vector, matrix o

Re: [Rd] duplicated.data.frame {was "[R] which rows are duplicates?"}

2009-04-01 Thread Wacek Kusnierczyk
Martin Maechler wrote: > > WK> i attach the patch post for reference. note that you need to fix all > of > WK> the functions in duplicated.R that share the buggy code. (yes, this > was > WK> another thread; i submitted a bug report, and then sent a follow-up > WK> post with a p

Re: [Rd] Wishlist: optional svn-revision number tag in package DESCRIPTION file

2009-04-01 Thread Peter Ruckdeschel
Thanks Gabor, Duncan, and Dirk, for your replies. Gabor Grothendieck wrote: > We need to make sure we understand the implications > for packages developed under the other major version > control systems like git, bzr and hg. Ok for this --- of course it would even be "greater" to have a universa

Re: [Rd] [R] variance/mean

2009-04-01 Thread Wacek Kusnierczyk
Martin Maechler wrote: > > Your patch is basically only affecting the default > method = "pearson". For (most) other cases, 'y = NULL' would > still remain *the* way to save computations, unless we'd start > to use an R-level equivalent [which I think does not exist] of > your C trick (DATAPT

Re: [Rd] Gamma funtion(s) bug

2009-04-01 Thread Wacek Kusnierczyk
Martin Maechler wrote: > > Using 'bug' (without any qualifying "?" or "possible" ..) > in the subject line is still a bit unfriendly... > is suggesting that a poster includes 'excel bug' in the subject line [1] friendly?? vQ [1] https://stat.ethz.ch/pipermail/r-help/2009-March/190119.html

[Rd] License question (RUnit)

2009-04-01 Thread Pierre-Yves
Dear list, Sorry for the noise but I have a question regarding the license used in RUnit [1], I contacted the maintainer( burgerm -at- users -dot- sourceforge -dot- net ) on March 20th but I have received no answer. Could anyone help to solve this question ? Basically, my problem is that the web

[Rd] Typo in the documentation of model.extract()?

2009-04-01 Thread Christian Ritz
Hi, it seems that there is a minor typo in the last line of the "Details" section. Shouldn't "model.frame" be "model.extract" in the sentence "model.weights is slightly different from model.frame(, "weights") in not naming the vector it returns." ? Christian __

Re: [Rd] Possible bug in summary.survfit - 'scale' argument ignored?

2009-04-01 Thread Thomas Lumley
I've sent a fixed version 2.35-4 to CRAN. It turned out to be a fairly simple change. -thomas On Tue, 31 Mar 2009, Marc Schwartz wrote: On Mar 30, 2009, at 5:55 PM, Marc Schwartz wrote: Hi all, Using: R version 2.8.1 Patched (2009-03-07 r48068) on OSX (10.5.6) with survival versi

Re: [Rd] R in standalone application

2009-04-01 Thread Simon Urbanek
Eric, On Mar 31, 2009, at 10:50 PM, Eric wrote: I am trying to build a C application where I need to compute some statistics to take decisions about the direction to give to a user, knowing his/her habits. Because I used R back at school, I thought I can use some of his functions in my app

[Rd] Assignment to string

2009-04-01 Thread Stavros Macrakis
The documentation for assignment says: In all the assignment operator expressions, 'x' can be a name or an expression defining a part of an object to be replaced (e.g., 'z[[1]]'). A syntactic name does not need to be quoted, though it can be (preferably by backticks). But the

Re: [Rd] Assignment to string

2009-04-01 Thread Simon Urbanek
On Apr 1, 2009, at 15:49 , Stavros Macrakis wrote: The documentation for assignment says: In all the assignment operator expressions, 'x' can be a name or an expression defining a part of an object to be replaced (e.g., 'z[[1]]'). A syntactic name does not need to be quoted, thoug

Re: [Rd] License question (RUnit)

2009-04-01 Thread Christophe Dutang
Hi, Try to contact the other authors... I spent 5 min on google and found this http://www.uni-konstanz.de/FuF/Verwiss/koenig/ Regards Christophe Le 1 avr. 09 à 10:58, Pierre-Yves a écrit : Dear list, Sorry for the noise but I have a question regarding the license used in RUnit [1], I

Re: [Rd] Assignment to string

2009-04-01 Thread Stavros Macrakis
On Wed, Apr 1, 2009 at 4:21 PM, Simon Urbanek wrote: > > On Apr 1, 2009, at 15:49 , Stavros Macrakis wrote: > > The documentation for assignment says: >> >>In all the assignment operator expressions, 'x' can be a name or >>an expression defining a part of an object to be replaced (e.g., >

Re: [Rd] Assignment to string

2009-04-01 Thread Wacek Kusnierczyk
Stavros Macrakis wrote: > The documentation for assignment says: > > In all the assignment operator expressions, 'x' can be a name or > an expression defining a part of an object to be replaced (e.g., > 'z[[1]]'). A syntactic name does not need to be quoted, though it > can be

[Rd] RGoogleDocs so close but errors with spreadsheet reading

2009-04-01 Thread Farrel Buchinsky
I got RGoogleDocs to work. It works on documents but not on spreadsheets. I get the following error. getDocs(con, what ="http://docs.google.com/feeds/documents/private/full/-/spreadsheet";) assignment of an object of class "NULL" is not valid for slot "access" in an object of class "GoogleSpreads

Re: [Rd] RGoogleDocs so close but errors with spreadsheet reading

2009-04-01 Thread Farrel Buchinsky
Does it have anything to do with the following message when I load RGoogleDocs? The following object(s) are masked from package:methods : getAccess Farrel Buchinsky Google Voice Tel: (412) 567-7870 On Wed, Apr 1, 2009 at 18:36, Farrel Buchinsky wrote: > I got RGoogleDocs t

Re: [Rd] RGoogleDocs so close but errors with spreadsheet reading

2009-04-01 Thread Duncan Temple Lang
You might try my development version which I put at http://www.omegahat.org/Prerelease/RGoogleDocs_0.2-0.tar.gz I am not certain if there are any substantive differences with the one in the Omegahat repository, but it works for me with a document and a spreadsheet in an Google Docs account.

Re: [Rd] Assignment to string

2009-04-01 Thread Stavros Macrakis
On Wed, Apr 1, 2009 at 5:11 PM, Wacek Kusnierczyk < waclaw.marcin.kusnierc...@idi.ntnu.no> wrote: > Stavros Macrakis wrote: > ... > i think this concords with the documentation in the sense that in an > assignment a string can work as a name. note that > >`foo bar` = 1 >is.name(`foo`) >