@@ -55,6 +55,11 @@ only distinction between the class given by data.class() and that
55
55
given by class() and used for dispatch by UseMethod is that
56
56
data.class() reports "numeric" for integer vectors.)
57
57
58
+ [If you want code to be compatible with < 1.7.0 versions of R, use
59
+
60
+ if(is.null(attr(x, "class"))) attr(x, "class") <- data.class(x)
61
+
62
+ ]
58
63
59
64
Unless the package makes use of setMethod (methods), loading can be
60
65
speeded up by having an object called .noGenerics (with any value) in
@@ -77,12 +82,15 @@ documentation is in `Writing R Extensions'.
77
82
Other changes
78
83
-------------
79
84
85
+ The default random number generators have been changed.
86
+
87
+
80
88
solve.default() now uses LAPACK by default, and works as documented,
81
- on square matrices `a'. Some packages have been using it for QR
82
- decompositions (which was documented in S but not in R: use qr. solve)
83
- or even for length-1 vectors (just divide). QR decompositions are
84
- accepted with a warning. One package was using it for over-determined
85
- rectangular systems: use qr() and qr.solve() for those.
89
+ on _square matrices_ `a'. Some packages have been using it for QR
90
+ decompositions (which was documented in S but not in R: use solve( )
91
+ but not solve.default()) or even for length-1 vectors (just divide).
92
+ One package was using it for over-determined rectangular systems: use
93
+ qr() and qr.solve() for those.
86
94
87
95
88
96
Packages should not execute code with side effects in their .R files.
@@ -91,13 +99,15 @@ files, please move them to .First.lib. This is necessary for the
91
99
experiments with saving objects in databases, a feature planned for
92
100
1.8.x.
93
101
102
+
94
103
A full double-precision LAPACK library Rlapack.{so,sl,dll,dynlib} is
95
104
installed with R, unless a high-performance LAPACK library was found
96
105
at configure time. If your package makes use of LAPACK, please
97
106
convert it to use this via
98
107
99
108
$(LAPACK_LIBS) $(BLAS_LIBS)
100
109
101
- in PKG_LIBS.
110
+ in PKG_LIBS in Makevars.
111
+
102
112
103
113
0 commit comments