The R Project SVN R

Rev

Rev 62410 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 62410 Rev 66536
Line 75... Line 75...
75
	     "matrix"),
75
	     "matrix"),
76
	  is(a2, "matrix"), is(a2, "array"), is(a3, "array"), !is(a3, "matrix"),
76
	  is(a2, "matrix"), is(a2, "array"), is(a3, "array"), !is(a3, "matrix"),
77
	  ## and yes, "for now":
77
	  ## and yes, "for now":
78
	  identical(a2, matrix(1:12, 3)))
78
	  identical(a2, matrix(1:12, 3)))
79
 
79
 
-
 
80
## subclassing a class that did not allow new() w/o extra args failed
-
 
81
## through version 3.1.1
-
 
82
setClass("BAR", slots = c(y="integer"))
-
 
83
 
-
 
84
setMethod("initialize", "BAR", function(.Object, Y) {.Object@y <- Y; .Object})
-
 
85
 
-
 
86
setClass("BAR3", contains = "BAR")