[Rd] unexpected result from reshape

2007-11-24 Thread Antonio, Fabio Di Narzo
Hi all. I have unexpected reshape results on datasets with certain variable names. Here a reproducible example: d <- matrix(seq_len(7*7), 1, 7*7) vnames <- c('acc','ppeGross','CF','ROA','DeltaSales','invTA','DeltaRevDeltaRec') varying <- unlist(lapply(vnames, paste, 1:7, sep='.')) d <- data.frame(

Re: [Rd] unexpected result from reshape

2007-11-24 Thread Antonio, Fabio Di Narzo
I got the problem: dataframe columns are re-ordered alfabetically, but variable names aren't reordered accordingly in the resulting dataframe. The problem disappears by specifying the 'varying' argument as a named list: d <- matrix(seq_len(7*7), 1, 7*7) vnames <- c('acc','ppeGross','CF','ROA','Del

[Rd] patch proposal for plot.ts

2007-11-24 Thread Antonio, Fabio Di Narzo
Hi all. Currently, if you try: > lag.plot(1:10) you get superposed labels '1' and '10'. Things go worse in more extreme cases: x <- ts(1:10) x1 <- lag(x, 4) plot(x1, x) This is due to a mistake in plot.ts. My suggestion is the following really minimal patch to plot.ts: @@ -530,7 +530,7 @@ plot

Re: [Rd] patch proposal for plot.ts

2007-11-24 Thread Martin Maechler
> Antonio, Fabio Di Narzo <[EMAIL PROTECTED]> > on Sat, 24 Nov 2007 12:35:25 +0100 writes: > Hi all. Currently, if you try: >> lag.plot(1:10) > you get superposed labels '1' and '10'. Things go worse in > more extreme cases: > x <- ts(1:10) > x1 <-

Re: [Rd] Bug in package stats function ar() (PR#10459)

2007-11-24 Thread Ben Bolker
Steven McKinney wrote: > > Full_Name: Steven McKinney > Version: 2.6.0 > OS: OS X > Submission from: (NULL) (142.103.207.10) > > > > Function ar() in package "stats" is showing > a quirky bug. Some calls to ar() run to > completion, others throw an error. > > The bug is reproducible by sev

Re: [Rd] unexpected result from reshape

2007-11-24 Thread Peter Dalgaard
Antonio, Fabio Di Narzo wrote: > Hi all. > I have unexpected reshape results on datasets with certain variable > names. Here a reproducible example: > > d <- matrix(seq_len(7*7), 1, 7*7) > vnames <- > c('acc','ppeGross','CF','ROA','DeltaSales','invTA','DeltaRevDeltaRec') > varying <- unlist(lapply

Re: [Rd] Bug in package stats function ar() (PR#10459)

2007-11-24 Thread Duncan Murdoch
On 24/11/2007 11:45 AM, Ben Bolker wrote: > > > Steven McKinney wrote: >> Full_Name: Steven McKinney >> Version: 2.6.0 >> OS: OS X >> Submission from: (NULL) (142.103.207.10) >> >> >> >> Function ar() in package "stats" is showing >> a quirky bug. Some calls to ar() run to >> completion, others

Re: [Rd] Bug in package stats function ar() (PR#10459)

2007-11-24 Thread Martin Maechler
> "DM" == Duncan Murdoch <[EMAIL PROTECTED]> > on Sat, 24 Nov 2007 16:08:31 -0500 writes: DM> On 24/11/2007 11:45 AM, Ben Bolker wrote: >> >> >> Steven McKinney wrote: >>> Full_Name: Steven McKinney Version: 2.6.0 OS: OS X >>> Submission from: (NULL) (142.103.

[Rd] r-forge http server down?

2007-11-24 Thread Ben Bolker
Trying to go to http://r-forge.r-project.org/ produces: An error occured in the logger. ERROR: could not access status of transaction 0 DETAIL: could not write to file "pg_subtrans/025C" at offset 122880: No space left on device however, update.packages(repos="http://r-forge.r-project.org";)