Skip to content
Prev 179620 / 398502 Next

A potential bug for paste() ?

Theoph is in the datasets package, so it should be 
available in all versions of R:
[1] "nfnGroupedData" "nfGroupedData"  "groupedData"    "data.frame"

The key to what's happening is that there are some methods
for groupedData objects in the nlme library, which I suspect
the original poster had loaded in Windows, but not Unix.

Here's what I see on a Linux system:
[1] FALSE
[1] TRUE

So if nlme is loaded, the following methods are available for 
groupedData objects:
[1] as.data.frame.groupedData* asTable.groupedData*
  [3] collapse.groupedData*      formula.groupedData*
  [5] [.groupedData*             isBalanced.groupedData*
  [7] lme.groupedData*           lmList.groupedData*
  [9] print.groupedData*         update.groupedData*

Thus subscripting for these objects is performed differently when
the nlme package is loaded.
                                        - Phil Spector
 					 Statistical Computing Facility
 					 Department of Statistics
 					 UC Berkeley
 					 spector at stat.berkeley.edu
On Thu, 7 May 2009, Gavin Simpson wrote: