-*- mode: indented-text;-*- This file, ideas.txt, is to be maintained as plain ASCII, for expedience. It contains brief sketches of items that might be considered for inclusion in R, and provides a spot for adding comments and elaborating on earlier ideas. THE R IDEAS LIST Dream, dream, dream ... - The Everly Brothers *********** 3D GRAPHICS *********** It would be nice to have something more sophisticated than "persp" for plotting surfaces. It would be nice to have contour labels and labels on persp plots, first! **************** DYNAMIC GRAPHICS **************** Statistics for the video game generation ... We need to move to an event-based model for this. ********** GAM MODELS ********** The basic code is at STATLIB. However, tjis is unreliable code (also under S), and we might want to start from scratch. ******* MAPPING ******* We have the Becker/Wilks sources for constructing map data bases. All we really need is the drawing code. ********** DATA ENTRY ********** We need something like the old data.entry() facility, but which works on dataframes. Current version needs debugging badly, and there's currently nothing working on Windows. *********** MENU SYSTEM *********** Some way of adding user-definable menus. GraphApp, Gnome, and Tcl/Tk all point in that general direction. ********** DATA FILES ********** Private data areas (cf. library/xxx/data) CSV file reading (Jens Oe.-A. has a sketch of this) Read.table has wrong defaults, but we want to stay compatible. I (pd) would like to see a new function, say "read.data" which - allows CSV - assumes header=T - codes Numeric/factor via the variable names - has a sensible set of default na.strings (e.g. "-", ".", "NA", "") Some advanced method for generating data frames from input files. One idea is to elaborate on the fact that when data() loads a .R file, it changes to the data directory, and quite flexible input specs can be obtained by having the R file contain xxx<-transform(read.table("something.txt", ...), ...). Extending that idea, one could have the convention that a .Rsp file is a specification for .txt. With a little bit of thought, one might avoid the ugliness of the transform and read.table calls. Foreign database formats (www.wotsit.org) Should .RData be renamed to something user-visible? XML ************************ FORMULA BASED INTERFACES ************************ The interfaces to various standard tests are inconsistent, e.g. wilcox.test takes two vectors, but kruskal.test a vector and a grouping factor. We probably want to keep this for compatibility with S-PLUS, but we'd like to have a consistent interface using model formulas too. This also includes looking at plot.formula which has trouble with pch=vector, and making sure that there's also points.formula, etc. (Kurt + Peter plan to work on this) **** MISC **** bug.report dumps user into vi, which he might not know... Better summaries of multi-df effects Successive diffs contrast (MASS has contr.sdif) Exact confidence intervals for binom.test and fisher.test Choleski with pivoting Change defaults for X11? (pointsize and the scaling for multiframe layouts)