Re: [Rd] doc buglet / as.Date method

2008-06-07 Thread Martin Maechler
> "PR" == Paul Roebuck <[EMAIL PROTECTED]> > on Thu, 5 Jun 2008 10:55:54 -0500 (CDT) writes: PR> Under Details section for as.Date: PR> as.Date will accept numeric data (the number of days PR> since an epoch), but only is origin is supplied. PR>

[Rd] Computational singularity of a positive definite matrix

2008-06-07 Thread ZT2008
I'm trying to use function "solve" to find the inverse of a matrix, which is positive definite in theory. But for some situations, I get error message because of computational singularity. I'm wondering if I can set the tolerance for detecting linear independence to an infinitely small value to av

[Rd] slot(obj, "nosuch") documentation question

2008-06-07 Thread Paul Roebuck
Using slot() on object (or "@") and using a nonexistent slotname returns an error (see example code). R> setClass("foobar", representation=list(a="numeric")) [1] "foobar" R> foobar <- new("foobar", a=5) R> [EMAIL PROTECTED] [1] 5 R> [EMAIL PROTECTED] Error: no slot of name "b" for this object of c

Re: [Rd] Posting Guide

2008-06-07 Thread Gabor Grothendieck
Here is another update. I have added the following: - info about using a fresh R session. (In that case ls() output is less essential; however, the developers of sessionInfo() might consider adding that as a default or as an option.) - questioner should consider use of functions. - for dat

Re: [Rd] Posting Guide

2008-06-07 Thread Charilaos Skiadas
Might I suggest the following two additions: For item (1), I suggest adding to the end of it something like "Consider attaching this output/data as a txt file if it is too large, or consider using one of the built in data sets (as produced e.g. by data() ) if they suffice to illustrate the

Re: [Rd] Posting Guide

2008-06-07 Thread hadley wickham
Here's my attempt at making a little more friendly: Removed self-contained - implied by reproducible Used slightly less formal language (and you instead of the questioner) Fixed a couple of spelling mistakes Removed references to testing framework - I don't think that that term needs to be introdu

Re: [Rd] Posting Guide

2008-06-07 Thread Gabor Grothendieck
Here is a second version of the summary. Its been rearranged to place most important info at top. Also shortened it a bit. It still needs links to example posts, as suggested. Anyone? Summary Surprisingly, the main problem for responders is not to answer the posted questions but to quickly fi

Re: [Rd] Fail to call AC_CACHE_CHECK on R 2.7.0 for Solaris

2008-06-07 Thread Dr. David Kirkby
Prof Brian Ripley wrote: This is covered in the 'R Installation and Administration' manual that INSTALL asked you to read. Specifically for Solaris: Modern Solaris systems allow a large selection of Open Source software to be installed via @command{pkg-get}: a Sparc Solaris 10 system came wi

Re: [Rd] Fail to call AC_CACHE_CHECK on R 2.7.0 for Solaris

2008-06-07 Thread Prof Brian Ripley
This is covered in the 'R Installation and Administration' manual that INSTALL asked you to read. Specifically for Solaris: Modern Solaris systems allow a large selection of Open Source software to be installed via @command{pkg-get}: a Sparc Solaris 10 system came with @code{libreadline} and

[Rd] Fail to call AC_CACHE_CHECK on R 2.7.0 for Solaris

2008-06-07 Thread Dr. David Kirkby
I've tried to build R 2.6.1 and 2.7.0 on Solaris 10 update 4 (SPARC) and both configure ok, so you might ask why I suspect there is a problem. I tried to build the maths program Sage http://www.sagemath.org/ version 3.0.3alpha1. Sage fails when building R 2.6.1 - (Sage includes R in the packa

Re: [Rd] Posting Guide

2008-06-07 Thread Sean O'Riordain
Gabor, I agree. Furthermore I think it might be useful to add that in my experience (and I'm sure others as well) that the process of creating a simple reproduceable example for an email to r-help will in most cases clarify what I'm trying to do and actually solve my own problem for me - once or t