Re: [Rd] matrix name

2008-08-09 Thread mel
Martin Maechler a écrit : Well, dimnames can be named : Thanks Martin and Gabor for the trick. And apologies for not thinking on it. Thanks Vincent __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] axis() ignores supplied value of argument mgp[3]?

2008-08-09 Thread J. R. M. Hosking
Prof Brian Ripley wrote: Have you looked at the current documentation on the svn server? Yes, that is a lot clearer. Thank you. J. R. M. Hosking __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Suggestion for the optimization code

2008-08-09 Thread Ben Bolker
Mathieu Ribatet epfl.ch> writes: > > Ok, please consider it as a bad call. > Thanks for your answers. > Best, > Mathieu > Well, I don't think it's a _bad_ call; I think the underlying wish (more flexibility in moving between existing optimizers without changing the objective function, call

Re: [Rd] matrix name

2008-08-09 Thread Martin Maechler
> Vincent Nijs <[EMAIL PROTECTED]> > on Sat, 09 Aug 2008 18:34:09 +0200 writes: >>> Hello, >>> Presently, we are able to add additionnal info to a matrix >>> thanks to the nice comment() and attr() functions. >>> Maybe I miss some other functions ? >>> Since there

Re: [Rd] matrix name

2008-08-09 Thread Gabor Grothendieck
Try this: > matrix(1:9, 3, dim = list(x = letters[1:3], y = LETTERS[1:3])) y x A B C a 1 4 7 b 2 5 8 c 3 6 9 On Sat, Aug 9, 2008 at 12:34 PM, mel <[EMAIL PROTECTED]> wrote: > Hello, > > Presently, we are able to add additionnal info to a matrix > thanks to the nice comment() and attr(

[Rd] matrix name

2008-08-09 Thread mel
Hello, Presently, we are able to add additionnal info to a matrix thanks to the nice comment() and attr() functions. Maybe I miss some other functions ? Since there is a always a little remaining place on the top left when one print a matrix, I was wondering if it won't be interesting to offer t

Re: [Rd] (PR#12318) Bug in format.default(): na.encode does not have any effect for

2008-08-09 Thread Gorjanc Gregor
Hi to all! Prof Brian Ripley wrote: > Have you read the help page? It says > >na.encode: logical: should 'NA' strings be encoded? > > No mention of encoding NA numerical values that I can see, and it was > never intended to apply to other than *strings*. I did read the help page, however it

Re: [Rd] (PR#12318) Bug in format.default(): na.encode does not have any effect for

2008-08-09 Thread Prof Brian Ripley
Have you read the help page? It says na.encode: logical: should 'NA' strings be encoded? No mention of encoding NA numerical values that I can see, and it was never intended to apply to other than *strings*. Please do the homework the FAQ asks of you and only use R-bugs if you 'know for c