From aniko.szabo at hci.utah.edu  Fri Sep 23 21:54:39 2005
From: aniko.szabo at hci.utah.edu (aniko.szabo@hci.utah.edu)
Date: Fri, 23 Sep 2005 21:54:39 +0200 (CEST)
Subject: [Rd] reshape direction="long" does not drop temporary ID (PR#8152)
Message-ID: <20050923195439.40D9E1C68D@slim.kubism.ku.dk>

Full_Name: Aniko Szabo
Version: 2.1.0
OS: Windows XP
Submission from: (NULL) (155.100.234.96)


When using reshape with direction="long", multiple id variables and only one
column of varying data, the resulting data frame has a temporary ID variable.
Here is an example:

a <- data.frame(G=LETTERS[1:3], H=letters[1:3], x=1:3)
reshape(a, direction="long", varying=list(c("x")), idvar=c("G","H"))

  G H tempID29457 time x
1 A a         A.a    1 1
2 B b         B.b    1 2
3 C c         C.c    1 3

While I understand that there was not much point to reshaping, I think it is
still a bug.



[Rd] reshape direction="long" does not drop temporary ID (PR#8152)
aniko.szabo@hci.utah.edu