The R Project SVN R

Rev

Rev 52846 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 52846 Rev 52847
Line 176... Line 176...
176
Object of class "myFrame"
176
Object of class "myFrame"
177
  x          y z
177
  x          y z
178
1 1 -0.6264538 y
178
1 1 -0.6264538 y
179
2 2  0.1836433 f
179
2 2  0.1836433 f
180
Slot "timestamps":
180
Slot "timestamps":
181
[1] "2010-08-30 17:11:47 PDT" "2010-08-30 17:11:47 PDT"
181
[1] "2010-08-30 17:37:18 PDT" "2010-08-30 17:37:18 PDT"
182
 
182
 
183
> 
183
> 
184
> 
184
> 
185
> setClass("myDateTime", contains = "POSIXt")
185
> setClass("myDateTime", contains = "POSIXt")
186
[1] "myDateTime"
186
[1] "myDateTime"
Line 1317... Line 1317...
1317
> implicitGeneric("with")
1317
> implicitGeneric("with")
1318
standardGeneric for "with" defined from package "base"
1318
standardGeneric for "with" defined from package "base"
1319
 
1319
 
1320
function (data, expr, ...) 
1320
function (data, expr, ...) 
1321
standardGeneric("with")
1321
standardGeneric("with")
1322
<environment: 0x1024ab028>
1322
<environment: 0x10232f9f0>
1323
Methods may be defined for arguments: data
1323
Methods may be defined for arguments: data
1324
Use  showMethods("with")  for currently available ones.
1324
Use  showMethods("with")  for currently available ones.
1325
> 
1325
> 
1326
> 
1326
> 
1327
> 
1327
> 
Line 1816... Line 1816...
1816
> ### * refClass
1816
> ### * refClass
1817
> 
1817
> 
1818
> flush(stderr()); flush(stdout())
1818
> flush(stderr()); flush(stdout())
1819
> 
1819
> 
1820
> ### Name: ReferenceClasses
1820
> ### Name: ReferenceClasses
1821
> ### Title: Creating Classes With Fields Treated by Reference
1821
> ### Title: Creating Classes With Fields Treated by Reference (OOP-style)
1822
> ### Aliases: ReferenceClasses setRefClass refClassFields refClassMethods
1822
> ### Aliases: ReferenceClasses setRefClass refClassFields refClassMethods
1823
> ###   refClassRepresentation-class refClass-class refObject-class
1823
> ###   refClassRepresentation-class refClass-class refObject-class
1824
> ###   classMethodDef-class show,classMethodDef-method
1824
> ###   classMethodDef-class SuperClassMethod-class
1825
> ###   show,refClassRepresentation-method
1825
> ###   show,classMethodDef-method show,refClassRepresentation-method
1826
> ### Keywords: programming classes
1826
> ### Keywords: programming classes
1827
> 
1827
> 
1828
> ### ** Examples
1828
> ### ** Examples
1829
> 
1829
> 
1830
> ## a simple editor for matrix objects.  Method  edit() changes some
1830
> ## a simple editor for matrix objects.  Method  edit() changes some
Line 2889... Line 2889...
2889
        show(slot(object, what))
2889
        show(slot(object, what))
2890
        cat("\n")
2890
        cat("\n")
2891
    }
2891
    }
2892
    NULL
2892
    NULL
2893
}
2893
}
2894
<environment: 0x102013778>
2894
<environment: 0x101e7a178>
2895
 
2895
 
2896
Signatures:
2896
Signatures:
2897
        object    
2897
        object    
2898
target  "oldClass"
2898
target  "oldClass"
2899
defined "oldClass"
2899
defined "oldClass"
Line 3238... Line 3238...
3238
> 
3238
> 
3239
> 
3239
> 
3240
> ### * <FOOTER>
3240
> ### * <FOOTER>
3241
> ###
3241
> ###
3242
> cat("Time elapsed: ", proc.time() - get("ptime", pos = 'CheckExEnv'),"\n")
3242
> cat("Time elapsed: ", proc.time() - get("ptime", pos = 'CheckExEnv'),"\n")
3243
Time elapsed:  3.533 0.048 3.582 0 0 
3243
Time elapsed:  3.56 0.046 3.608 0 0 
3244
> grDevices::dev.off()
3244
> grDevices::dev.off()
3245
null device 
3245
null device 
3246
          1 
3246
          1 
3247
> ###
3247
> ###
3248
> ### Local variables: ***
3248
> ### Local variables: ***