[Rd] Wish list

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Mon 01 Jan 2007 - 06:28:46 GMT


This is my 2007 New Year wishlist for R features:

  1. Matrix Multiplication Enhance matrix multiplication to work with multidimensional arrays such that the last dimension of the first multiplicand must equal the first dimension of the second. See: https://www.stat.math.ethz.ch/pipermail/r-devel/2006-July/038497.html
  2. Grid
    • logical-valued function as first arg of grid.edit
    • transparency under Windows (not sure if this involves grid or just the Windows graphics device)
    • shading patterns
    • more interactivity features
    • safe way to get name of a grid object, e.g. names.vpPath <- names.viewport <- function(x) x$name
    • safe way to get children of a grid object getChildren.viewport <- function(x) x$children and the order; see: https://www.stat.math.ethz.ch/pipermail/r-devel/2005-June/033532.html
    • facility for using a name, viewport or vpPath interchangably so that, for example, any of them can be specified in in print.trellis(..., draw.in=...) or draw.key(..., vp=...)
  3. Lattice.
    • make panel functions generic
    • allow print.trellis args to be specified in xyplot, etc.
    • shading patterns (once grid implements them)
    • safe way to access lattice:::getStatus and lattice:::updateList
    • allow name, viewport or vpPath to be specified in draw.in= arg of print.trellis (and vp= arg of draw.key?)
    • document parameters, i.e. those output from trellis.par.get()
    • support for groups in histogram
  4. Higher level Windows clipboard functions. Since R 2.3.0 R can handle non-text objects on the Windows clipboard. We now need some higher level functionality that makes use of that to read in non-text from the clipboard. For example, one can select a table on an HTML page in Internet Explorer and invoke copy and it will copy it to the clipboard in a non-text format. If one invokes paste in Excel, Excel will automatically detect the non-text format and copy it in the expected way so that it appears in Excel one table cell per Excel cell.

However, R does not currently
support this level of integration. (Current workaround is to paste it into Excel and then copy it back out of Excel. Excel will insert tabs between text that is so copied.)

6. Allow attributes to be associated with an environment variable without having them associated with the environment itself. This would allow more powerful inheritance in the case of subclasses of environment.
See:
  https://stat.ethz.ch/pipermail/r-devel/2006-July/038377.html and subsequent postings in that thread. Any package that uses the list(env = whatever) idiom to define objects could make use of this.

7. documentation standards for packages

	Date(GMT)           Package Version Action
	2006-09-20 21:22:01 mypkg   1.0.1   new
	2006-09-20 22:00:23 mypkg2  0.2.1   updated

  1. make integrate generic. Ryacas could use that.
  2. Remove all R CMD dependencies on the find.exe command. find is a built in command in Windows and having find.exe on my path causes problems with other programs.
  3. Make upper/lower case of simplify/SIMPLIFY consistent on all apply commands and add a simplify= arg to by.
  4. better reporting of location of errors and warnings in R CMD check.
  5. tcl tile library (needs tcl 8.5 or to be compiled in with 8.4)
  6. extend aggregate to allow vector valued functions: aggregate(CO2[4:5], CO2[1:2], function(x) c(mean = mean(x), sd = sd(x))) [summaryBy in doBy package and cast in reshape package can already do similar things but this seems sufficiently fundamental that it ought to be in the base of R]
  7. All OSes should support input= arg of system.

My previous New Year wishlists are here:

https://www.stat.math.ethz.ch/pipermail/r-devel/2006-January/035949.html
https://www.stat.math.ethz.ch/pipermail/r-help/2005-January/061984.html
https://www.stat.math.ethz.ch/pipermail/r-devel/2004-January/028465.html

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Mon Jan 01 17:31:17 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sun 07 Jan 2007 - 01:31:05 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.