Re: [Rd] Request: kronecker to get a sep= argument

2010-11-25 Thread Charles C. Berry
On Thu, 25 Nov 2010, Charles C. Berry wrote: On Thu, 25 Nov 2010, Michael Friendly wrote: kronecker, with make.dimnames=TRUE uses a hardwired sep=":" in the line tmp <- outer(dnx[[i]], dny[[i]], FUN = "paste", sep = ":") For an application in which dimnames arise from an n-way

Re: [Rd] Request: kronecker to get a sep= argument

2010-11-25 Thread Charles C. Berry
On Thu, 25 Nov 2010, Michael Friendly wrote: kronecker, with make.dimnames=TRUE uses a hardwired sep=":" in the line tmp <- outer(dnx[[i]], dny[[i]], FUN = "paste", sep = ":") For an application in which dimnames arise from an n-way array, where different dimensions have different

[Rd] Request: kronecker to get a sep= argument

2010-11-25 Thread Michael Friendly
kronecker, with make.dimnames=TRUE uses a hardwired sep=":" in the line tmp <- outer(dnx[[i]], dny[[i]], FUN = "paste", sep = ":") For an application in which dimnames arise from an n-way array, where different dimensions have different roles, and I would like to be able to use kro

Re: [Rd] Unexpected behavior with \r in Rgui 2.12.0

2010-11-25 Thread Henrik Bengtsson
On Thu, Nov 25, 2010 at 10:02 AM, Henrik Bengtsson wrote: > FYI, this topic was discussed in R-help thread 'cat(), Rgui, and > support for carriage return \r...' on March 17-29, 2006: > >  https://stat.ethz.ch/pipermail/r-help/2006-March/101863.html > > Some modifications to Rgui's behavior was b

Re: [Rd] Unexpected behavior with \r in Rgui 2.12.0

2010-11-25 Thread Henrik Bengtsson
FYI, this topic was discussed in R-help thread 'cat(), Rgui, and support for carriage return \r...' on March 17-29, 2006: https://stat.ethz.ch/pipermail/r-help/2006-March/101863.html Some modifications to Rgui's behavior was brought up and (I think) implemented at the time. As far as I remembe

Re: [Rd] Unexpected behavior with \r in Rgui 2.12.0

2010-11-25 Thread Russell Pierce
Prof. Ripley & Joris, I concur with Joris, the behavior persists in R version 2.12.0 Patched (2010-11-24 r53655) and under Windows XP. The current development build for Windows did not have an RGui at the time I wrote this. I did not realize that the functionality of "\r" to return to the begin

[Rd] minor typo in biplot.rd

2010-11-25 Thread William Revelle
Dear R developers, There is a minor typo in the documentation for biplot (in Version 2.12.0 as well as 2.13.0 ) "is the the dimname is NULL" should be "if the dimname is NULL" xlabs A vector of character strings to label the first set of points: the default is to use the row dimname of x,

Re: [Rd] installing RMySQL (PR#13633)

2010-11-25 Thread Wonsang You
I attempted to install the linux package "r-cran-rmysql", and it was successful to install the R package "RMySQL" in Ubuntu 10.10. Thank you. 2010/11/24 Dirk Eddelbuettel > > On 24 November 2010 at 04:06, Wonsang You wrote: > | > | I guess that you already solved the error in installing the R p

Re: [Rd] Reference Classes: how to clone/copy instances?

2010-11-25 Thread John Chambers
No reference class method explicitly does this, but it's a natural utility. Some form of $copy() will be added. It needs a shallow/deep option; i.e., if a field is itself a reference class object, should that field be cloned as well. The full reflectance available should make a single method

Re: [Rd] Unexpected behavior with \r in Rgui 2.12.0

2010-11-25 Thread Joris Meys
I downloaded the latest patch today and the problem still persists. AFAIK, "\r" can be useful to give a counter that stays in place, or is there another way of doing that in a Windows environment? Funny thing is : if you copy-paste the strange characters, you get the correct counts, but you get th

Re: [Rd] Unexpected behavior with \r in Rgui 2.12.0

2010-11-25 Thread Prof Brian Ripley
First, I don't think cat(70,"\r") has ever been useful in Rgui. It outputs and then deletes a line: Rgui has never supported overwriting. I think you really want cat('\r', i, sep=""). Second, in some circumstances in 2.12.0 only, some storage was discarded too early and so random characters