| Rev |
Age |
Author |
Path |
Log message |
Diff |
| 52864 |
5807 d 4 h |
urbaneks |
/branches/R-exp-R5/ |
Experinental branch implementing "R5" ideas - extending S language to
create a more intuitive object system |
|
| 52539 |
5855 d 21 h |
jmc |
/trunk/src/main/ |
more fixes to handle subclasses of environment |
|
| 51162 |
6000 d 10 h |
pd |
/trunk/ |
subassign with length zero (PR#14217) |
|
| 51067 |
6023 d 6 h |
ripley |
/trunk/src/main/ |
tighten down SET_STRING_ELT to only allow CHARSXPs |
|
| 50896 |
6047 d 0 h |
falcon |
/trunk/ |
Allow n-dim arrays to be subsetted by an n-column character matrix
The character matrix is converted to the corresponding integer matrix
by matching against the dimnames of the array. NA values in any row
of the character matrix are propagated to the result. Unmatched
values result in a subscript out of bounds error. Empty string "" is
not allowed to match and therefore always results in an error. |
|
| 50746 |
6068 d 7 h |
ripley |
/trunk/src/ |
more instances of value of vmaxget |
|
| 50745 |
6068 d 8 h |
ripley |
/trunk/ |
store vmax in const void *, consistently |
|
| 50609 |
6083 d 19 h |
jmc |
/trunk/ |
Changes to fix efficiency in dispatch, potential recursive loops, and
incorrect signatures, all for S4 methods for primitive functions.
1. A bug in get_primitive_methods prevented all quick dispatch of primitives from
working. Fixing this exposed a problem in quickDispatch in methods
that prevented matching methods with traiiling "missing" in the
signature.
2. A mechanism was added to temporarily turn off all dispatch of methods for
primitives. The code for findInheritedMethods activates the
mechanism. At the moment, this is just for efficiency, but in
principle it could be needed to avoid recursive calls to
findInheritedMethods.
3. The signatures for "$" and "$<-" were modified to remove "name",
since the grammar prevents general objects for this argument.
Some additional changes were tested but not installed to allow a
general signature in methods for "[", "[[" and their replacement
versions. Problems found with the Matrix package for this change. See
the commented calls to DiispatchAnyOrEval in src/main. |
|
| 49818 |
6149 d 15 h |
falcon |
/trunk/ |
Fix segfault when assigning to raw vector with NA index
This fixes the following issue reported by Hervé Pagès:
> x <- charToRaw("ABCDEFGx")
> x[c(1:3, NA, 6)] <- x[8]
*** caught segfault *** |
|
| 49594 |
6168 d 3 h |
murdoch |
/trunk/ |
Fix typo that disallowed assigning NULL to a zero length character vector; allow pairlists to be assigned anywhere that langsxps can be. |
|
| 49592 |
6168 d 4 h |
murdoch |
/trunk/ |
Indexing with a vector index to [[]] extended to all recursive types, minor changes to trace() to print messages that recognize this. |
|
| 47934 |
6369 d 21 h |
jmc |
/trunk/src/ |
.xData mechanism to inherit from abnormal object types |
|
| 47478 |
6412 d 9 h |
ripley |
/trunk/ |
fixed NAMED bug in $<- on pairlists |
|
| 47336 |
6422 d 9 h |
ripley |
/trunk/ |
fix for named subassignment on pairlists |
|
| 47040 |
6445 d 9 h |
maechler |
/trunk/src/main/ |
comments only |
|
| 46453 |
6542 d 7 h |
ripley |
/trunk/src/main/ |
more explicit error message |
|
| 46124 |
6576 d 8 h |
ripley |
/trunk/src/ |
rationalize some error messages |
|
| 46117 |
6577 d 7 h |
ripley |
/trunk/ |
Using $ on a function is now an error. |
|
| 45446 |
6670 d 8 h |
ripley |
/trunk/src/main/ |
whitespace cleanup |
|
| 44233 |
6754 d 5 h |
ripley |
/trunk/ |
allow NULL as a value in subassgnments, promoting to any vector type.
short-circuit the code for zero-length index in subassignments. |
|