The R Project SVN R

Rev

Hide changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
52864 5807 d 22 h urbaneks /branches/R-exp-R5/ Experinental branch implementing "R5" ideas - extending S language to
create a more intuitive object system
 
/branches/R-exp-R5
52539 5856 d 14 h jmc /trunk/src/main/ more fixes to handle subclasses of environment  
/trunk/src/main/envir.c
/trunk/src/main/eval.c
/trunk/src/main/subassign.c
51162 6001 d 3 h pd /trunk/ subassign with length zero (PR#14217)  
/trunk/NEWS
/trunk/src/main/subassign.c
51067 6023 d 23 h ripley /trunk/src/main/ tighten down SET_STRING_ELT to only allow CHARSXPs  
/trunk/src/main/memory.c
/trunk/src/main/subassign.c
/trunk/src/main/subscript.c
50896 6047 d 18 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.
 
/trunk/tests/array-subset.R
/trunk/NEWS
/trunk/src/include/Defn.h
/trunk/src/library/base/man/Extract.Rd
/trunk/src/main/subassign.c
/trunk/src/main/subscript.c
/trunk/src/main/subset.c
/trunk/tests/Makefile.common
50746 6069 d 0 h ripley /trunk/src/ more instances of value of vmaxget  
/trunk/src/main/engine.c
/trunk/src/main/plot.c
/trunk/src/main/plot3d.c
/trunk/src/main/subassign.c
/trunk/src/modules/X11/devX11.c
50745 6069 d 1 h ripley /trunk/ store vmax in const void *, consistently  
/trunk/NEWS
/trunk/src/library/grDevices/src/devPS.c
/trunk/src/library/grDevices/src/devQuartz.c
/trunk/src/library/grDevices/src/devWindows.c
/trunk/src/library/grid/src/grid.c
/trunk/src/library/stats/src/mAR.c
/trunk/src/main/connections.c
/trunk/src/main/dotcode.c
/trunk/src/main/engine.c
/trunk/src/main/eval.c
/trunk/src/main/graphics.c
/trunk/src/main/names.c
/trunk/src/main/objects.c
/trunk/src/main/plot.c
/trunk/src/main/plot3d.c
/trunk/src/main/printutils.c
/trunk/src/main/saveload.c
/trunk/src/main/subassign.c
/trunk/src/main/subset.c
/trunk/src/modules/X11/cairoX11.c
/trunk/src/modules/X11/devX11.c
/trunk/src/modules/vfonts/g_alab_her.c
/trunk/src/nmath/bessel_i.c
/trunk/src/nmath/bessel_j.c
/trunk/src/nmath/bessel_k.c
/trunk/src/nmath/bessel_y.c
/trunk/src/unix/aqua.c
/trunk/src/unix/edit.c
50609 6084 d 13 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.
 
/trunk/NEWS
/trunk/src/include/Defn.h
/trunk/src/library/base/man/Extract.Rd
/trunk/src/library/base/man/isS4.Rd
/trunk/src/library/methods/R/BasicClasses.R
/trunk/src/library/methods/R/BasicFunsList.R
/trunk/src/library/methods/R/Methods.R
/trunk/src/library/methods/R/RMethodUtils.R
/trunk/src/library/methods/R/methodsTable.R
/trunk/src/library/methods/man/findMethods.Rd
/trunk/src/library/methods/src/methods_list_dispatch.c
/trunk/src/main/eval.c
/trunk/src/main/objects.c
/trunk/src/main/subassign.c
/trunk/src/main/subset.c
49818 6150 d 8 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 ***
 
/trunk/NEWS
/trunk/src/main/subassign.c
/trunk/tests/reg-tests-1.R
49594 6168 d 21 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.  
/trunk/NEWS
/trunk/src/main/subassign.c
49592 6168 d 21 h murdoch /trunk/ Indexing with a vector index to [[]] extended to all recursive types, minor changes to trace() to print messages that recognize this.  
/trunk/NEWS
/trunk/doc/manual/R-lang.texi
/trunk/src/include/Defn.h
/trunk/src/library/base/man/trace.Rd
/trunk/src/library/methods/R/trace.R
/trunk/src/main/subassign.c
/trunk/src/main/subscript.c
/trunk/src/main/subset.c
47934 6370 d 14 h jmc /trunk/src/ .xData mechanism to inherit from abnormal object types  
/trunk/src/include/Internal.h
/trunk/src/library/methods/R/BasicClasses.R
/trunk/src/library/methods/R/MethodsListClass.R
/trunk/src/library/methods/R/RClassUtils.R
/trunk/src/library/methods/R/SClasses.R
/trunk/src/library/methods/R/show.R
/trunk/src/library/methods/R/zzz.R
/trunk/src/main/attrib.c
/trunk/src/main/coerce.c
/trunk/src/main/envir.c
/trunk/src/main/subassign.c
/trunk/src/main/subset.c
47478 6413 d 3 h ripley /trunk/ fixed NAMED bug in $<- on pairlists  
/trunk/NEWS
/trunk/src/main/subassign.c
/trunk/tests/reg-tests-2.R
/trunk/tests/reg-tests-2.Rout.save
47336 6423 d 2 h ripley /trunk/ fix for named subassignment on pairlists  
/trunk/NEWS
/trunk/src/main/subassign.c
/trunk/tests/reg-tests-2.R
/trunk/tests/reg-tests-2.Rout.save
47040 6446 d 2 h maechler /trunk/src/main/ comments only  
/trunk/src/main/subassign.c
/trunk/src/main/subscript.c
46453 6543 d 0 h ripley /trunk/src/main/ more explicit error message  
/trunk/src/main/subassign.c
46124 6577 d 2 h ripley /trunk/src/ rationalize some error messages  
/trunk/src/include/Errormsg.h
/trunk/src/main/subassign.c
/trunk/src/main/subset.c
46117 6578 d 0 h ripley /trunk/ Using $ on a function is now an error.  
/trunk/NEWS
/trunk/src/library/base/man/Extract.Rd
/trunk/src/main/subassign.c
/trunk/src/main/subset.c
45446 6671 d 1 h ripley /trunk/src/main/ whitespace cleanup  
/trunk/src/main/CConverters.c
/trunk/src/main/CommandLineArgs.c
/trunk/src/main/RBufferUtils.h
/trunk/src/main/RNG.c
/trunk/src/main/Rdynload.c
/trunk/src/main/Renviron.c
/trunk/src/main/apply.c
/trunk/src/main/apse.c
/trunk/src/main/arithmetic.c
/trunk/src/main/arithmetic.h
/trunk/src/main/array.c
/trunk/src/main/attrib.c
/trunk/src/main/base.c
/trunk/src/main/basedecl.h
/trunk/src/main/bind.c
/trunk/src/main/character.c
/trunk/src/main/coerce.c
/trunk/src/main/colors.c
/trunk/src/main/complex.c
/trunk/src/main/connections.c
/trunk/src/main/context.c
/trunk/src/main/cov.c
/trunk/src/main/datetime.c
/trunk/src/main/dcf.c
/trunk/src/main/debug.c
/trunk/src/main/deparse.c
/trunk/src/main/devices.c
/trunk/src/main/dotcode.c
/trunk/src/main/dounzip.c
/trunk/src/main/dstruct.c
/trunk/src/main/duplicate.c
/trunk/src/main/engine.c
/trunk/src/main/envir.c
/trunk/src/main/errors.c
/trunk/src/main/eval.c
/trunk/src/main/format.c
/trunk/src/main/fourier.c
/trunk/src/main/gevents.c
/trunk/src/main/gram-ex.c
/trunk/src/main/graphics.c
/trunk/src/main/identical.c
/trunk/src/main/internet.c
/trunk/src/main/iosupport.c
/trunk/src/main/localecharset.c
/trunk/src/main/logic.c
/trunk/src/main/main.c
/trunk/src/main/mapply.c
/trunk/src/main/match.c
/trunk/src/main/memory.c
/trunk/src/main/mkdtemp.c
/trunk/src/main/model.c
/trunk/src/main/names.c
/trunk/src/main/objects.c
/trunk/src/main/optim.c
/trunk/src/main/options.c
/trunk/src/main/par-common.c
/trunk/src/main/par.c
/trunk/src/main/paste.c
/trunk/src/main/pcre.c
/trunk/src/main/platform.c
/trunk/src/main/plot.c
/trunk/src/main/plot3d.c
/trunk/src/main/plotmath.c
/trunk/src/main/print.c
/trunk/src/main/printarray.c
/trunk/src/main/printvector.c
/trunk/src/main/qsort-body.c
/trunk/src/main/qsort.c
/trunk/src/main/random.c
/trunk/src/main/registration.c
/trunk/src/main/rlocale.c
/trunk/src/main/rlocale_data.h
/trunk/src/main/saveload.c
/trunk/src/main/scan.c
/trunk/src/main/seq.c
/trunk/src/main/serialize.c
/trunk/src/main/size.c
/trunk/src/main/sort.c
/trunk/src/main/source.c
/trunk/src/main/sprintf.c
/trunk/src/main/startup.c
/trunk/src/main/subassign.c
/trunk/src/main/subscript.c
/trunk/src/main/subset.c
/trunk/src/main/summary.c
/trunk/src/main/sysutils.c
/trunk/src/main/unique.c
/trunk/src/main/unzip.h
/trunk/src/main/util.c
/trunk/src/main/version.c
/trunk/src/main/xspline.c
44233 6754 d 22 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.
 
/trunk/NEWS
/trunk/src/main/subassign.c

Show All