From wl at eimb.ru  Fri May 16 17:15:45 2003
From: wl at eimb.ru (wl@eimb.ru)
Date: Fri May 16 16:16:50 2003
Subject: [Rd] possibly bug in 'reshape' (PR#3024)
Message-ID: <200305161415.h4GEFj2b026950@pubhealth.ku.dk>

Dear R-tists,

the source code of the 'reshape' function contains the following

reshapeLong <- function(data, varying, v.names = NULL, timevar,
       idvar, ids = 1:NROW(date), times, drop = NULL, new.row.names = NULL) {

I suspect the expression

ids=1:NROW(date)

is erroneous.
The 'date' variable doesn't appear anywhere else in this function.
Maybe, 'data' ?

-- 
Best regards
Wladimir Eremeev                                     mailto:wl@eimb.ru

==========================================================================
Research Scientist                                Leninsky Prospect 33,
Space Monitoring & Ecoinformation Systems Sector, Moscow, Russia, 119071,
Institute of Ecology,                             Phone: (095) 135-9972;
Russian Academy of Sciences                       Fax: (095) 954-5534


[Rd] possibly bug in 'reshape' (PR#3024)
wl@eimb.ru