Re: [Rd] mtext adj= wrong with several las= (PR#7188)

2004-08-24 Thread Uwe Ligges
Peter Dalgaard wrote: Paul Murrell <[EMAIL PROTECTED]> writes: I think the ideal would be to set padj automatically for multi-line text as well as single-line text (the current behaviour tries to set padj automatically for single-line text; it's just not very good at it :). But whatever first ste

Re: [Rd] function bug (PR#7199)

2004-08-24 Thread Byron Ellis
Its there so people can be lazy and say s= instead of sb=. That sort of thing happens all the time in interactive environments. However, I'd hardly call it obfuscating---it doesn't reverse a known practice within the language domain, though its activity is apparently somewhat surprising. No wor

Re: [Rd] mtext adj= wrong with several las= (PR#7188)

2004-08-24 Thread Peter Dalgaard
Paul Murrell <[EMAIL PROTECTED]> writes: > > I think the ideal would be to set padj automatically for multi-line > text as well as single-line text (the current behaviour tries to set > padj automatically for single-line text; it's just not very good at > it :). > But whatever first step is good

Re: [Rd] (PR#7199) function bug

2004-08-24 Thread Peter Dalgaard
Peter Kleiweg <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] schreef: > > > This is a misunderstanding, I think, not a bug. R is using partial > > matching and the `2', since it is not named, is being sent through the > > `...'. > > That is not very sensible behaviour, and it certainly doesn't

Re: [Rd] mtext adj= wrong with several las= (PR#7188)

2004-08-24 Thread Paul Murrell
Hi Uwe Ligges wrote: Paul Murrell wrote: Hi Uwe Ligges wrote: [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Dear all, Our quite basic function mtext() does wrong adjustments in some parameter configurations. This gets obvious when using multi line texts: There is no way to properly adjust te

Re: [Rd] License of Mathlib

2004-08-24 Thread cstrato
Dear Prof Ripley Thank you for this clarification. Best regards Christian Stratowa Prof Brian D Ripley wrote: On Tue, 24 Aug 2004, cstrato wrote: Dear R-Developers I have a question regarding the license of Mathlib: Is the license GPL or LGPL? I am confused, since the file "nmath.h" mentions GPL i

RE: [Rd] function bug (PR#7199)

2004-08-24 Thread Peter Kleiweg
Prof Brian Ripley schreef: > > > This is _not_ a bug. Please read `R Language Manual', section 4.3.2 Found it, without section numbers. I read it, and I can't think why anyone would come up with such a scheme. It goes against all practices in other programming languages. It is obfuscating. It's

RE: [Rd] function bug (PR#7199)

2004-08-24 Thread Liaw, Andy
> From: Prof Brian Ripley > > On Tue, 24 Aug 2004, Peter Kleiweg wrote: > > > Liaw, Andy schreef: > > > > > This is _not_ a bug. Please read `R Language Manual', > section 4.3.2 > > > > I don't have the `R Language Manual'. Is it explained somewhere > > in the docs that come with R? > > Amon

Re: [Rd] Changes to correct problems with classes in namespaces

2004-08-24 Thread John Chambers
Prof Brian Ripley wrote: > > John, > > Looks like several packages are failing to dump or load with messages like > (SparseM) > > Error in warning("Undefined slot classes in definition of \"", > [EMAIL PROTECTED], : > Object "classDef" not found > > So far I have seen this with SparseM

RE: [Rd] function bug (PR#7199)

2004-08-24 Thread Prof Brian Ripley
On Tue, 24 Aug 2004, Peter Kleiweg wrote: > Liaw, Andy schreef: > > > This is _not_ a bug. Please read `R Language Manual', section 4.3.2 > > I don't have the `R Language Manual'. Is it explained somewhere > in the docs that come with R? Amongst the docs that come with R is the `R Language Def

Re: [Rd] (PR#7199) function bug

2004-08-24 Thread Peter Kleiweg
[EMAIL PROTECTED] schreef: > This is a misunderstanding, I think, not a bug. R is using partial > matching and the `2', since it is not named, is being sent through the > `...'. That is not very sensible behaviour, and it certainly doesn't explain why 2 is set equal to 3. -- Peter Kleiweg htt

RE: [Rd] function bug (PR#7199)

2004-08-24 Thread Jeff Gentry
> I don't have the `R Language Manual'. Is it explained somewhere > in the docs that come with R? See: /doc/manual/ __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

typo in R-lang (was RE: [Rd] function bug (PR#7199))

2004-08-24 Thread Liaw, Andy
BTW, there's a small typo in section 4.1.2 of that manual. `A an argument that is ...' should be `An argument that is ...'. Andy > From: Liaw, Andy > > This is _not_ a bug. Please read `R Language Manual', > section 4.3.2 (as > well as the R FAQ on what constitute a bug). > > Andy > > > Fro

RE: [Rd] function bug (PR#7199)

2004-08-24 Thread Peter Kleiweg
Liaw, Andy schreef: > This is _not_ a bug. Please read `R Language Manual', section 4.3.2 I don't have the `R Language Manual'. Is it explained somewhere in the docs that come with R? -- Peter Kleiweg http://www.let.rug.nl/~kleiweg/ __ [EMAIL PROTE

Re: [Rd] License of Mathlib

2004-08-24 Thread Prof Brian D Ripley
On Tue, 24 Aug 2004, cstrato wrote: > Dear R-Developers > > I have a question regarding the license of Mathlib: > Is the license GPL or LGPL? > > I am confused, since the file "nmath.h" mentions GPL in the header, > while the file "Rmath.h0.in" mentions LGPL in the header. More importantly, the C

RE: [Rd] function bug (PR#7199)

2004-08-24 Thread Prof Brian D Ripley
I think you mean `I apologize for wasting your time by sending the same incorrect idea to both R-help and R-bugs without doing my homework.' It is *not* OK for those who have to clear up after you. On Tue, 24 Aug 2004, Richard Morey wrote: > Ok, thanks. > > On Tue, 24 Aug 2004, Liaw, Andy wrote

RE: [Rd] function bug (PR#7199)

2004-08-24 Thread Richard Morey
Ok, thanks. On Tue, 24 Aug 2004, Liaw, Andy wrote: > This is _not_ a bug. Please read `R Language Manual', section 4.3.2 (as > well as the R FAQ on what constitute a bug). > > Andy > > > From: [EMAIL PROTECTED] > > > > The following code prints [1] 2, as it should > > > > temp<-function(ab,.

RE: [Rd] function bug (PR#7199)

2004-08-24 Thread Liaw, Andy
This is _not_ a bug. Please read `R Language Manual', section 4.3.2 (as well as the R FAQ on what constitute a bug). Andy > From: [EMAIL PROTECTED] > > The following code prints [1] 2, as it should > > temp<-function(ab,...){ > print(ab) > } > temp(2,s=3) > > However, this code prints [1] 3:

Re: [Rd] (PR#7199) function bug

2004-08-24 Thread rpeng
This is a misunderstanding, I think, not a bug. R is using partial matching and the `2', since it is not named, is being sent through the `...'. -roger [EMAIL PROTECTED] wrote: > output of R.version > platform i686-pc-linux-gnu > arch i686 > os linux-gnu > system i686, linux-gnu >

[Rd] function bug (PR#7199)

2004-08-24 Thread morey
output of R.version platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status major1 minor9.1 year 2004 month06 day 21 language R The following code prints [1] 2, as it should temp<-function(ab,...){ print(ab) } temp(2,s=3) However, this co

[Rd] License of Mathlib

2004-08-24 Thread cstrato
Dear R-Developers I have a question regarding the license of Mathlib: Is the license GPL or LGPL? I am confused, since the file "nmath.h" mentions GPL in the header, while the file "Rmath.h0.in" mentions LGPL in the header. Best regards Christian _._._._._._._._._._._._._._._._ C.h.i.s.t.i.a.n S.t.

Re: [Rd] Changes to correct problems with classes in namespaces

2004-08-24 Thread Prof Brian Ripley
John, Looks like several packages are failing to dump or load with messages like (SparseM) Error in warning("Undefined slot classes in definition of \"", [EMAIL PROTECTED], : Object "classDef" not found So far I have seen this with SparseM, dynamicGraph (and hence deal and gRbase). Sho

Re: [Rd] error when unsubscribe (PR#7198)

2004-08-24 Thread Prof Brian Ripley
R-bugs is not a mailing list: have you sent this to the wrong place? On Tue, 24 Aug 2004 [EMAIL PROTECTED] wrote: > Full_Name: Huan Huang > Version: 1.9.1 > OS: Win NT > Submission from: (NULL) (155.140.122.227) > > > Traceback: > > Traceback (most recent call last): > File "/scratch/local/a

[Rd] Changes to correct problems with classes in namespaces

2004-08-24 Thread John Chambers
An extensive set of changes to the methods package has been committed today to allow non-exported classes from packages with namespaces (and some related fixes in dealing with generic functions from namespaces as well). The namespace mechanism requires packages to export any class definitions that

[Rd] error when unsubscribe (PR#7198)

2004-08-24 Thread huan . huang
Full_Name: Huan Huang Version: 1.9.1 OS: Win NT Submission from: (NULL) (155.140.122.227) Traceback: Traceback (most recent call last): File "/scratch/local/app/mailman-sfs/2.1.5/scripts/driver", line 87, in run_main main() File "/scratch/local/app/mailman-sfs/2.1.5/Mailman/Cgi/options.p

Re: [Rd] Need help debugging R.

2004-08-24 Thread Peter Dalgaard
Prof Brian Ripley <[EMAIL PROTECTED]> writes: > You need one of > > 1) gctorture(TRUE) > > 2) Run under valgrind to look for memory overruns. > > and patience. If it segfaults under gctorture you will probably see the > real culprit via gdb. > > I would try under R-devel, as quite a few memo

Re: [Rd] Need help debugging R.

2004-08-24 Thread Prof Brian Ripley
You need one of 1) gctorture(TRUE) 2) Run under valgrind to look for memory overruns. and patience. If it segfaults under gctorture you will probably see the real culprit via gdb. I would try under R-devel, as quite a few memory problems have been plugged there. Or at least under R-patched

[Rd] Need help debugging R.

2004-08-24 Thread Samuelson, Frank*
I originally posted this to R-help, but here is probably a better place. I have a rather complex routine which works great in R. Then I bootstrap it. After running a few minutes it typically segfaults, though it happens very randomly. This happens w/ 1.9.0 and 1.9.1 on Fedora1 and a Scyld (RH7.3

Re: [Rd] replacement functions and lists (PR#7196)

2004-08-24 Thread Prof Brian Ripley
A couple of incorrect range chacks, now fixed thank you. On Tue, 24 Aug 2004 [EMAIL PROTECTED] wrote: > Full_Name: David Meyer > Version: 2.0.0 > OS: linux > Submission from: (NULL) (137.208.224.32) > > > l = list() > l[[2:3]] = 1 > > segfaults at least since 1.8.1 > > ___

[Rd] replacement functions and lists (PR#7196)

2004-08-24 Thread david . meyer
Full_Name: David Meyer Version: 2.0.0 OS: linux Submission from: (NULL) (137.208.224.32) l = list() l[[2:3]] = 1 segfaults at least since 1.8.1 __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] additional examples for R-intro.texi (PR#7195)

2004-08-24 Thread bjg
Here are some patches to expand some of the examples in R-intro.texi. -- Brian Gough Network Theory Ltd, Publishing the R Reference Manuals --- http://www.network-theory.co.uk/R/ --- R-intro.texi~ Tue Aug 24 11:21:37 2004 +++ R-intro.texiTue Aug 24 11:21:37 2004 @@ -6288,6 +6288,2

Re: [Rd] idea for "virtual matrix/array" class

2004-08-24 Thread Barry Rowlingson
Thomas Lumley wrote: On Mon, 23 Aug 2004, Tony Plate wrote: One idea I was thinking about was to have a new class of object that referred to data in a file on disk, and which had all the standard methods of matrices and arrays, i.e., subsetting ("["), dim, dimnames, etc. This is what RPgSql does w

Re: [Rd] mtext adj= wrong with several las= (PR#7188)

2004-08-24 Thread Uwe Ligges
Paul Murrell wrote: Hi Uwe Ligges wrote: [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Dear all, Our quite basic function mtext() does wrong adjustments in some parameter configurations. This gets obvious when using multi line texts: There is no way to properly adjust text perpendicular to a