[R] oldClass vs. class

ronggui 0034058 at fudan.edu.cn
Sat Aug 6 05:55:15 CEST 2005


Hi,When I read the source of str,i find  these code
-----
  ## Show further classes // Assume that they do NOT have an own Method --
    ## not quite perfect ! (.Class = 'remaining classes', starting with current)
    cl <- oldClass(object); cl <- cl[cl != "data.frame"]  #- not THIS class
-----
so I use ?oldClass to try to learn more about oldClass.But after I have reading all the help page ,I still have no idea the diiference between oldClass and class.

Anynone can help me ?


2005-08-06

------
Deparment of Sociology
Fudan University

Blog:http://sociology.yculblog.com




More information about the R-help mailing list