Rev 7133 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
Dear Emacs, please make this -*-Text-*- mode!*************************************************** ** 0.99 SERIES NEWS ** ***************************************************CHANGES IN R VERSION 0.99.0NEW FEATURESo residuals.lm() has "type" argument, as S does.o the underlying code for nlm has been translated from Fortranto C and made re-entrant (changes contributed by Saikat DebRoy).BUG FIXESo adding matrices to data frames now happens column by column asdocumented, so character or logical matrices generate factorcolumns.o formulae containing interactions with the response werehandled incorrectly by model.matrix, giving wrong answers or crashes.CHANGES IN R VERSION 0.90.1NEW FEATURESo rect(.) has `lwd' argument.o legend() has a `adj' argument and has been streamlined (and fixed up).o `unname' convenience function [experimental data.frame behavior].o `examples' sections have been added to the documentationfor most of the data sets in the base library.o update.packages & friends have new argument contriburl forincomplete CRAN mirrors. Package bundles such as VR can bedirectly installed both from the shell and from inside R.o RLIBS is no longer accepted as well as R_LIBS (which has beenthe documented form since 0.65.0).o demo(nlm) has examples of using analytical gradients andHessians.o .Platform$OS.type is standardized to be `unix', `mac' or `windows'o setting cex in matplot(matrix(1:25,5), cex=1:5) now workso ar.ols() has separate demean and intercept arguments, usesinternal scaling for greater accuracy.o xxxPR functions allow NCHAR=-1 for S compatibility.o `Rcomplex' is preferred to `complex' (a future reserved wordin C) for R complex objects passed to C.o new function dir.create() for platform-independence.o help.search() creates a database for faster searching later inthe R session.o density() allows for more kernels and has a new argument`give.Rkern' to access the relevant kernel property.o multivariate methods for ar: "yule-walker" (now in C) and"burg" (new) contributed by Martyn Plummer.o New data sets `HairEyeColor' (hair and eye color of statisticsstudents), `Titanic' (survival of passengers on the Titanic),and `UCBAdmissions' (student admissions at UC Berkeley).BUG FIXESo Many help pages have been revised and enhanced.o predict.glm() works again with type="link".o subscripting arrays and matrices no longer loses the names ofthe dimnames vector. Transpose also preserves the names.o examples in help files containing \testonly are no longer(partially) duplicated.o is.numeric() of a factor is now FALSEo prevent a segfault in plotmatho f <- get("function"); f(,); f(F,F) now "ok" (PR#361).o blank-line reject code in parse.dcf was wrong (Martyn Plummer)o made filled.contour independent of pointsize. Make plot keywider so there's room for a title. Touchup example.o font size fixups for the X11 driver (mainly)o some.list[[NA]] is NULL, following S, rather than giving spuriouserror messageso segfault when running out of heapo segfault in rbind of a vector without names fixed. cbind, too.o fixed symbol size problems with PostScript drivero unique() & duplicated() only work for atomic vectors;unique(data.frame(""[F])) doesn't segfault anymore.o get("attr<-")(""[0],""[0]) doesn't segfault anymore.o blunder in do_memoryprofile, causing segfault on Alpha machineso erroneous error message in coerceToSymbolo partial workaround for workspace restore problems. This canhappen if an environment on the search path is assigned to avariable which gets saved. The error "unresolved node duringrestore" is turned into a warning, allowing the rest of theworkspace to be restored, but the variable contains an emptyenvironment on reload.o density(x) now works also when IQR(x) == 0.density(x, window=...) now works [S compatibility].o prevent points from being plotted if pch, cex, or col are NA.Does not apply to bg on pch 21--25 (where NA means"transparent") because it would require fixes at the driverlevel.CHANGES IN R VERSION 0.90.0NEW FEATURESo packages splines (for regression smoothing splines orinterpolating splines) and nls (nonlinear least squares) arepart of the base distribution.o New error handling usingoptions ( error = expression(..) , warning.expr = ... ).REPLACING version 0.65.1's options(error.halt = T/F)o collected warnings before an error are no longer lost butare printed after the error message (unless the error makesthis impossible).o A couple of substantial graphics changes, esp. in the X11driver. The scaling of symbols is now linear in cex=, ratherthan being tied to the available font's size. The fonts on anX11 device also scale linearly with cex= insofar as your Xserver can do it. On systems with the scalable type 1PostScript fonts installed, this looks particularly nice. Notethat the scaling is linear in the *diameter*, but quadratic inarea. The distance between lines of margin text in the X11device is now proportional to the size given tox11(pointsize).o abline(a,b) now (again) refers to transformed coordinates onplots with log-axes, so that abline(lm(log10(y)~log10(x)))(say) draws a best-fitting line on a log-log plot. The earlierconvention (to draw a curve representing a line in originalcoordinates) is available using a new untf= argument.o barplot.default() has new `axisnames' (and `sub') arguments, easilyallowing suppression of bar labeling.o cbind() and rbind() now actually do what deparse.level=1 implies:add column/row names based on the deparsed argument, provided itis a simple symbol. The behaviour is still hardcoded, though.o gc() now reports the total sizes in Mb as well as numbers.o New function help.search() for searching the names, titles,aliases, or keywords in the help system.o image() allows x and y to specify either the boundaries or themidpoints of the cells. If the latter, the whole cells aredrawn, rather than the outer cells being half-sized as previously.o NULL extra arguments to model.frame() are now treated as missing(instead of an error).o optimization with nlm() can use analytic gradients and Hessiansif they are supplied.o on.exit() allows add=TRUE.o function parse.dcf() for parsing files in debian control file format(DESCRIPTION, CONTENTS, ...)o predict.{g}lm has a type="terms" option, and residual.glm hastype="partial" as a step towards plot.gam().o New arguments to q() and quit() allow the exit status to be setand the execution of .Last() to be skipped.o New function regexpr(), similar to grep but returns the positionof the match in each string. (For S-PLUS compatibility.)o scan() now supports complex numbers.o New function sort.list, for S compatibility. (This has argumentpartial, but always sorts completely.)o storage.mode<- can be used to set "single", and if settinganything other than "single" it removes the "Csingle" attribute.o new function sunflowerplot().o New function undoc() for listing undocumented objects.o User's .Rprofile now executes in global environmento All HTML pages now use the new style sheet doc/html/R.csso html and text files have now a header line giving the name ofthe help file and the package. The description section nowcomes first.o All the standard packages have DESCRIPTION files with"Priority: base", so installed.packages andpackage.description will work with them.o The R-external manual which describes programming for the.Call and .External interfaces is in the doc/manual directory.o New target `make pdf' in doc/manuals makes hyperlinked PDFdocumentation. (This is experimental for this release. Seedoc/manual/README for further details.)o S.h now contains (via Rdefines.h) a MESSAGE macro, andFree NULLs the pointer, for compatibility with S3 (but not S4).o New subroutine REALPR callable from Fortran (like DBLEPR butfor real arguments): useful if as.single is in use.o The cex= argument to plot() etc. can be a vector, like pch=.o lty=0 now (again) makes lines invisible. Looks better forbarplot label axis.o zero.R tries to find the zero DLL in a system-independent way.BUG FIXESo apply should now work for all un-dimnamed arrays (PR#318).o ar(..., demean=F) works more consistently across methods.o barplot() had lower limits set at -0.01, causing trouble withsmall heights. Switch to relative scale. (Thanks to Matt Wiener)o density() should work better with NAs and infinite values. See?density for the current definitions of how these are handled.o diag(x) now works (as pre 0.65.1) for 1-d arrays.o Stored-source was dropped by dump().o expand.grid returns a data frame even for one arg.o expand.grid(x) now also works for vector arguments x.o factor(list()) or factor(character(0)) *is* now a factorwith valid levels(.);ordered does NOT allow an `ordered' argument anymoreand is now defined as trivial call to factor.o help page for gc gives correct size of cons cells (20 bytesfor 32-bit systems, 36 or more for 64-bit systems).o gcinfo reports correct percentages of heap even for vsize > 200M.o gl(6,3,12) and gl(6,3,2) now both work.o Empty lists now deparse correctly.o na.omit.ts and na.contiguous preserve classes.o plot.factor {plot(<factor>)} now obeys axes=FALSE and xaxt="n".o read.table(as.is = TRUE) would leave everything as character.Now it correctly tries to convert to numeric.o require() now has the warn.conflicts argument of library().o Fix problems in scan(flush = TRUE).o scan() got confused by trailing whitespace.o split(x,f) now works even when f is a factor with unused levels(PR#294).o mosaicplot() has a formula interface andNULL instead of NA default args.o stars() has "NULL" instead of "NA" defaults.o str() is quite a bit nicer with factors.o ts.union, cbind.ts, arithmetic on ts objects now allownon-integer frequencies.o Switch to <tt> in HTML pages since Linux Netscape manglesCourier.o When documentation is "compiled" (build-help), you now get warningsfor multiple (conflicting) \alias{.} or \name{.}s.o making the reference manual with `make dvi' copes better withisolatin1 characters (but not perfectly as these are not instandard TeX fonts).o Rd.sty now uses standard LaTeX constructs like \bm for boldmath and \url for URLs.o Protect R_fopen against NULL filename in Unix.o Math text in outer margins didn't work.o Text clipping now works in the X11 device.o Pixel rows sometimes got doubled in rotated text on the X11 device.o par("yaxt") is now ok.o Problems with realloc on some systems in AllocBuffer.o Problem with formatReal on non-IEEE systems.o demos/dynload/Makefile used macros that gave incorrect buildon some non-GNU makes.o Windows version copes better with paths with spaces in.o R CMD check had a typo which made the final message fail.o R_EOF redefined as -1, was causing trouble with isxxxx contructions.*************************************************** ** 0.65 SERIES NEWS ** ***************************************************CHANGES IN R VERSION 0.65.1NEW FEATURESo .C, .Fortran. .Call and .External now have an argument PACKAGEto specify the shared library to be used for the symbol. See?Foreign. Package writers are encouraged to use this.o On startup (unless --no-environ), first .Renviron is looked for inthe current directory, and then in $HOME/ (= ~/ ).o New options(error.halt = FALSE) (default is TRUE) allowscontinuation after an error in batch processing.o In graphics, lty has now 6 instead of 4 predefined line types.o as.hclust.twins() in package mva to convert (and plot)objects from agnes() and daisy() of package cluster.o R INSTALL now can directly install pkg_version.tar.gz filesas obtained from CRAN. New function update.packages()& friends for automatically downloading packages from CRAN andinstall them on the fly (on Unix and Windows).o New function commandArgs() to record the command-line used.o New arguments `local' and `now' to dyn.load.o diag(x) now keeps names when appropriate and barfs when x is an array.o functions source.url, url.show, read.table.url, scan.url to readfrom an http server instead of a file.o grid() gets useful defaults: grid lines drawn at tick marks.o set operations union(), intersect(), setdiff() and is.element().o New function stars() for star plots and segment diagrams ofmultivariate data.o Version info now in the top-level file `VERSION'.o barplot has a "plot = TRUE" argument and now returns locations ofall bars even when "beside = TRUE".o hist has an "nclass" argument purely for S compatibility.o Character strings can now, with most compilers, be passedon and from Fortran. See ?Foreign for details.o Functions as.single and single now have the effect with.C and .Fortran of passing a numeric argument as float/REALrather than as double/DOUBLE PRECISION, by setting theattribute "Csingle". See ?Foreign for details.o Comparison of strings uses the current locale on systems wherethis is available, and so is always consistent with the orderingused by sort().o sapply has a new argument USE.NAMES=TRUE and now returns a namedresult when its input was a character.o plot.stepfun has new arguments lty and lwd.o x labels in boxplot now handled differently, so that mathexpressions are allowed.o postscript() argument `onefile' now does something, and thereis a new paper type `special' and new argument `pagecentre'.See ?postscript for details.o Experimental function dev2bitmap() to copy to a bitmap graphics format.BUG FIXESo centering in text() will be more accurate, particularly on deviceswith full font metric information (postscript, x11, not windows).o arguments after --no-readline in the Unix version were ignored.o couldn't set attributes in hashed environments.o [<-.data.frame mishandled dfr[1] <- 1 (forgotten drop=FALSE)o sys.on.exit didn't worko sys.parent didn't quite work either for n >= 2.o par("mfg") was wrong, par(mfg=) switched to down columns. Nowpar(mfrow/mfcol = c(nr, nc)) followed by par(mfg=c(i,j)) isthe preferred style.o plot( <aov.object> ) failed after 2nd plot, PR#279o Several patches for systems with long != int.o approx failed if inputs contained NAs.o weighted lm fits with 1 diml x failed if any weight was zero.o lm.influence failed when there were undetermined coefficients, PR#280.o problem with function()... inside saved functions because arg countincreased to accommodate stored source. (Incorrect number ofarguments to "lambda")o improvements to generation of HTML help files: should workbetter on viewers other than Netscape.o stl in package ts could conflict with package leaps: the Fortransymbols have been changed.o help page for factor is improved and corrected.o na.omit.ts and na.contiguous now preserve time-series attributes.o more automatic testing ("make check") using options(error.halt=FALSE)led to the elimination of dozens (!) of seg.fault possibilities.o family quasi handles zero observations with var=mu^2 more correctly.o dynamically-loaded libraries are searched last-loaded first, asdocumented (under Unix it used to be first-loaded first).o rowsum failed with a matrix and a single group (drop=FALSE needed).o deriv(y ~ <expr>(x)) now works as well as deriv(~ <expr>(x)).o qr over-estimated ranks in some degenerate cases.qr did not work correctly if n < p and the first n cols wererank-deficient.o str() wouldn't work quite right for named characters; doesn't quotesymbols anymore.o Colour conversion (rgb, gray, hsv) truncated doubles and sogave machine-dependent results on the examples. It now rounds.o cat() now admits again that it can't handle lists instead of"random" segfaulting.o More accurate rounding (including rounding to even) on platformswithout rint (e.g. Windows).o qgeom() is now left-continuous with a tolerance, and so theexample on the help page will be platform-independent.o pretty() has been changed to use tolerance around integers andso will be more platform-independent. The exact output hasprobably changed on all platforms for some input.o image() & filled.contour() now work for 1x1 matricesand with constant z values.CHANGES IN R VERSION 0.65.0NEW FEATURESo A first step in improving performance has been made.Attached objects, libraries etc are now hashed; performancegains will be particularly apparent if large packages are in use.o First version of package ts for time-series analysis.This has fairly complete S-PLUS compatibility, but more featuresare planned. See library(help=ts) for details.o warnings can be collected (options(warn=0), the default), printedimmediately (options(warn=1)) or turned into errors (options(warn=2)).As a consequence, all warnings and errors now are printed followedby a newline, if one is not supplied. (This should improve theS compatibility of the use of PROBLEM ... in compiled code.)o All R environment variables are now of the form `R_xxx'. Inparticular, `RHOME', `RLIBS' and `RPROFILE' are now called`R_HOME', `R_LIBS', and `R_PROFILE'.o The handling of q()/quit()/EOF has been changed, with a new option"default". In interactive use this asks unless --save or --no-savehas been specified: if these are specified they set the default.o Limited capability for tilde expansion of file names even withoutreadline (on Unix, and on Windows).o New environment variables `R_HISTFILE' and `R_HISTSIZE' for thename and size of the history file.o Attempting to restore (at startup) too large a .RData is nowa fatal error.o The loading of shared library on Unix now uses RTLD_NOW notRTLD_LAZY. This means that all symbols must be resolvablewhen the library is loaded, and R will not terminate laterwhen a missing symbol is called. Code which had missing symbols(including some packages) will need to be re-compiled.o New generic function all.equal();most useful for numerical comparisons `up to rounding errors'.o New function boxplot.formula() as a formula interface to boxplots.o New functions getwd() and setwd() for getting and setting the Rworking directory, basename() and dirname() for manipulating paths.o Function locator(, type=) is implemented to plot points ordraw lines interactively.o Functions new.env() to create empty environment and local() toallow local evaluation of expressions, with various usefulidiomatic uses.o Convenience functions parent.frame() and eval.parent().o A new scheme for keeping source code with user-definedfunctions has been implemented. In particular, commentswill no longer move about or disappear. The flip side of thecoin is that you can no longer rely on R to indent yourcode for you. The stored-source facility can be turnedoff with options(keep.source=FALSE), and for an individualfunction by deleting the "source" attribute.If the source attribute is absent, the function will bedeparsed for editing or printing, but any comments will belost.o expressions have gained semantics that are closer tothose of S. They don't get evaluated except when explicitlyspecified. Example:e <- expression(x); e[[1]] <- expression(123); eval(e)now gives expression(123), not 123. This fixes some problemswith expressions in the list argument to do.call().o contrast() no longer drops colnames for 1DF contrasts.Consequentially, the labels of regression coefficients for binaryfactors contain level names (again ...).o na.omit() and na.fail() are now generic.o plot.lm() has more options and now does 4 plots by default, shouldalso be okay for "glm" object; all thanks to John Maindonald.o If the dimnames of a table are themselves named, then their namesare used to label the respective dimensions in tabular output.o chisq.test() now optionally computes the p-value by Monte Carlosimulation (in the standard case of a 2-d contigency table).o source() has a new argument `chdir' for changing the workingdirectory to that of the file being sourced when evaluating.o If data() loads an R source file, it now changes the workingdirectory (to that containing the file) when evaluating.o Interpret strings NaN and Inf in character to numeric conversions(and thereby in read.table)o The presence of an object `.conflicts.OK' in a package suppressesconflict checking in library() for that package.o uniroot() can now be used recursively.o hdf5{read|write} now allow more kinds of attributes and add supportfor HDF5 version 1.2 (or newer) thanks to Marcus G. Daniels.Configure checks for HDF5 1.2 availability, older versions willno longer work.BUG FIXESo x ^ y gives proper results when x or y are infinite.o The semantics of <<- have been corrected. The search fora variable binding to modify now begins one level "up" fromthe current one. Thus S and R semantics in "non-closure"functions will be identical.o .Last() is called when terminating with q() (not just with EOF).o abline() now understands the "lwd" graphics parameter if itis supplied as an inline argument.o axis() now sorts `labels' when it sorts `at'.o Some small changes have made in the axis drawing code toensure that tick-mark label alignment is correct fornon-default values of the "las" parameter.o Improved error message from check.options().o cm.colors(n) now doesn't append silly "v=1"; works for n=0, n=1.o cooks.distance() now also works for "glm" objects;deviance.lm() now ok for the case of weights.o date() doesn't return a final "\n" (again ...).o diag() and diag<- now handle correctly matrices with zero rows or cols.o help([<-.factor) (etc) work again.o is.recursive(list(.)) is now TRUE [PR#221].o log(0) gives -Inf on all architectures.o When persp() was the first graphics command given to R it gavethe error "plot.new() has not been called yet". This nolonger happens.o pgamma() gave 0 or 1 for extreme arguments too soon.o plot(<function>, log="x") doesn't give a silly warning any more.o The internals of postscript() have been changed so that linetextures (dotted dashed etc) look better. The use of thePostScript "initclip" operator has been removed so that wecan(?) really claim eps compliance.o revsort() misbehaved if n<=1, causing sample(1,1,,1) tosegfaulto seq(along = v) { and seq(v) when length(v) > 1 } now returnsa result of mode "integer".o split.default() now uses subscripting for x with a non-nullclass, this preserves, e.g., the class of factorso substr/substring(), deparse(), dput(), dump(), print()will work for arbitrarily long strings.o which(x) failed when x had names and contained NAs.o Default editor files (e.g. from fix()) are now removed at termination.o Typos in NegBinomial.Rd (Negative Binomial distrib), thanks to Ch. Gu.o a clipping problem for plots when there non-zero outer marginshas been fixed. This problem used to affect coplot() and pairs().o get("zzz", mode="xxx") missed promise objects.o match.fun failed when a data frame was attached containing a"length" variable (e.g.)*************************************************** ** 0.64 SERIES NEWS ** ***************************************************CHANGES IN R VERSION 0.64.2NEW FEATURESo new target for R installation testing : make strict-tests.o symnum(x) now nicely codes logical x.o convolve() has a new type = c("circular", "open", "filter")argument allowing more than the only circular convolution.o par(xpd) now has three settings: FALSE (clip to plot region),TRUE (clip to figure region), or NA (clip to device region).o zapsmall(x) works for complex x.o new global variable R.version.string (for plots & reports).Deprecated version & Version for new R.version & R.Version.o R CMD Rd2dvi has builtin "Usage" help and works for multiple files.Useful for automatic reference manual of a package.(doc/manual/lib2tex is more efficient for installed packages, however).BUG FIXESo power() is now fully implemented and documented.o A couple of problems with group generic operations.o A bug which meant that it was not possible to add elementsto zero length lists in the obvious way has been fixed.x <- list(); x[[1]] <- 10x <- list(); x[["a"]] <- 11both now work.o save.image() ignored dot-names. (esp. .First())o lab= argument to plot() misinterpreted by axis() via ... passingo NULL labels in text() caused segfaulto matrix(f,...) with f a factor now coerces to charactero documentation errors for substitute and is.vector, minor fixups fortrig and nlmo Background colours are set properly on X11 devices withcolortype="pseudo": sometimes they were not allocated separately.o C() works (again?) for a single argument.o is.na() didn't work properly for "list" arguments.o symnum() sometimes failed with arrays of rank >= 3.o in some cases one could get nonblack color instead ofblack on 2nd x11() window.o influence.measures(.) $ is.influential was wrong on thecooks.distance.o printing of complex NaN/Inf was wrong as well.o printing of complex named vectors had a wrong initial space.o allow trailing space in character->numeric coerciono library() gave wrong "masked" warnings in some cases.o par(xpd) semantics were not compatible with S.o rect() output was not clipped in PostScript.o par(pin=c(width, height)) was behaving as par(pin=c(width, width)).o Non-blank separated data files didn't have their 1st fieldhandled properly.o "aux" directory moved to "tools" to avoid difficulties onWindows.o structure() clobbered factors with missing levels.o pmatch() misbehaved on duplicate matches.o R CMD Rd2dvi <file.Rd> works again.o logical binops tried to set time series parameters before dimensions.o upped the BUFSIZE in model.c (NOT proper long-term solution).o dput(), dump() and deparse() now always use DBL_DIG (=15) digitsfor numeric formatting.o chull() now works for vertical borders, such as in chull(c(1,1,2),3:1).CHANGES IN R VERSION 0.64.1NEW FEATURESo barplot() and boxplot() are now generico relevel function to reorder levels in factors.o contr.treatment now has a base= argument for selecting thebaseline group.o New command line option `--no-environ' (under Unix) to preventsourcing the `~/.Renviron' file. Implied by `--vanilla'.o Packages can now have a configure script. If a file `configure'is found it is executed before anything else is done by RINSTALL.o If HTML help files are asked for but not available, text helpis used.o HTML help file conversion reports unsatisified \link{..}s.o `vsize' and `nsize' can be set by the environment variablesR_VSIZE and R_NSIZE respectively, perhaps most conveniently from`~/.Renviron' under Unix or Windows. Command-line settings willtake precedence.The defaults have been increased to 6M and 250k.o zip files can be used for storing help and example files. Seethe help files for "help" and "example" for details.o New submission method "none" (for not sending email) inbug.report().o `R CMD check' can now also be used for installed packages withoutthe corresponding sources.o The sources for the Windows port are included in src/gnuwin32.See src/gnuwin32/readme.BUG FIXESo deparser left off empty parentheses on e.g. (function(x) x)()o cat() now works on "name" objectso forgot to set jump buffer in return context in one caseo parser dropped off tagged missing args on function calls ( f(a=) )o relops tried to set time series parameters before dimensionso arithmetic tried to set time series parameters before dimensionso mvfft fixes (from Martyn Plummer) - not working with vectors andsegfault problem.o Rephrased error message on invalid assignment target.o ifelse() now evaluates yes/no only if neededo PROTECT'ed some memory in NewExtractNames that was getting overwrittenduring garbage collection.o Crossing factors (`:') works again.o terms.formula used to choke on terms more than 60 characters longo is.nan() should now work correctly on new/old-style lists.o x[[i]] did not work correctly for negative subscripts i.o as.list() didn't work for expressionso x[[i]] <- quote(a) (x generic vector) didn't worko for method functions: many argument name changes, add ... whereneeded, for consistency with the generic function.o example() will allow (again) aliased topic names.o HTML help file conversions will find hyperlinks in the mainlibrary as well as the current library. Links containing `<'or `>' now work properly.o Rdconv conversion of \section{}{}s to Sd corrected.o ppois rounded non-integer `q', should truncate.o pnbinom was wrong for non-integer `q'.o dbinom, dgeom, dnbinom, dpois give 0 with a warning fornon-integer arguments.o load / save / data allow unlimited string sizes.o strsplit() allows unlimited string size.o eigen() now should work (again) in all cases.o is.nan() fixed to work (again) in architectures with"unspecified" internal isnan().CHANGES IN R VERSION 0.64.0NEW FEATURESo Files BUGS and FAQ are now included with distribution andvarious "front matter" files have been cleaned up.o readline has now an argument prompt = ""o coplot() now labels levels when conditioning variable is factor(John Maindonald).o A new function filled.contour() has been added. It producesa variant of contour plots where the area between contoursis filled with a solid colour. The function (currently)uses the layout() function and so is restricted to a fullpage display.o The function terrain.colors() has been modified to remove avisual discontinuity (at yellow). In addition, a functioncm.colors() which implements a Cleveland-style cyan-magentapalette has been added.o Primitive function .External() to call dynamically loaded`internal'-style functions (code from Jean Meloche).o Function page() to view an R object in a pager.o Support for handling embedded '\n's in text stringshanded to low-level graphics functions has been added.Some changes to the PostScript graphics driver wereneeded to support this, so there may some minor changein the appearance of plots produced in PostScript.o The LaTeX documentation is now split into 2 parts: the (currentlyalmost non-existent) manual and a reference index.Manual: new section on loading C++ code.o [EXPERIMENTAL] Gnome support added. Use ./configure --with-gnometo try it, but don't expect too much yet.o HDF5 support improved. Still not perfect, though.o The X11 graphics driver can now use a variety of strategiesfor handing color. This means that it is now possible touse black and white or grayscale graphics on color displays.There are two strategies for handing color on pseudocolordisplays. The original "allocate-colors-until-they-run-out"strategy has been supplemented by one which allocates acolor cube at startup and approximates requested colorsby those in the cube. On truecolor displays, there is nolimit on the number of colors which can be displayed andyou get exactly the color you request. (Note thatDirectcolor and staticcolor displays are not supported yet).o The persp() function now allows shading of the rendered surfaceusing a simple lighting model.o Many functions providing an interface to the operating systemhave been made "platform independent". See the manual entriesfor "file", "list.files" and "file.show" for details of the newinterface. The system.file() interface has been changed.o There is a new function "eval.with.vis" which behaves exactlylike "eval", but which returns both the result of the evaluationan a logical value indicating whether the value is ``visible''.This has been used to replace some ad-hoc tests for whethervalue should be printed or not in "source". As a consequence,the "example" and "demo" functions no longer print invisiblevalues when the example script is run.o Index files in data directories in packages should be `00Index'not `index.doc'.o Function interaction() to compute factor interactions.o load() can load to specific environments.o Sockets interface: make/read/write/close.socket()o Function chull() for planar convex hullso pairs.formula() allows formula notations for scatter plot matrix.o new dataset co2.o documentation for datasets mtcars, plants, pressure, randu andsleep.o the sunspots dataset is now monthly rather than annual.BUG FIXESo strsplit(), scan() and friends use a much larger char buffer(still fixed size; this will change again)o ts() allows a data-frame argument `data'.o anova.lm handles singular models better, and deparses responses.o dump() now uses digits=12 rather than the current setting.o tabulate ignores entries beyond nbins rather than core dumps.o ?.C documents what C/Fortran types R objects correspond toin foreign function calls, which is not what everyone thought.o changed long to int in several .C calls to follow the above rules.o rbind(x1,x2) now does not lose dimnames when xi arecharacter or complex.o readline() accidentally inherited menu()'s prompt.o .C() and .Fortran() now correctly report that there might beNaN/Infs, not just NAs, unless NAOK=TRUE.o Resizing an inactive graphics window to an invalid size leftthat window active and produced a spurious prompt and newlinein the console window. This no longer happens.o poly() rescales x to increase accuracyo apply() preserves names in yet another case [-> new example].o phyper() now works for larger arguments than before.o Missing values didn't work in log ploto outer() doesn't produce all-empty dimnames any moreo quantile.default() works when `probs' has zero lengtho example() now works again in all cases [AnIndex spaces].o typos fixed in nlm() message, glm helpo pt() now works better for extreme `df' arguments and givesat least an approximate answer for ncp > 37.6. __more to change__o fixed some glitches with formatC() and its docs.o several fixes in *.c code to make -Wall happyo curve() [and plot.function()] now use proper `x' values with log="x";`type = "."' now works with curve() and plot.function()o zapped old windows files since they didn't build any more.The sources for the later gnuwin32 version are expected toappear here for 0.64.1. The #ifdef Win32's here are for thatversion.*************************************************** ** 0.63 SERIES NEWS ** ***************************************************CHANGES IN R VERSION 0.63.3NEW FEATURESo get() and assign() allow position in search list to be acharacter string. (e.g. get("delete.response","package:base")o HTML search now works for all packages (after new installation).o R INSTALL now also copies DESCRIPTION file to target dir.o offsets should work with lm as well as with glm nowo range() is now in the Summary group, trunc() back in the Mathgroup.o Under Unix, R-specific environment variables can now be kept/setin `~/.Renviron'.o New options `latexcmd' and `dvipscmd' for specifying the locationsof LaTeX and dvips; corresponding environment variables renamed to`R_LATEXCMD' and `R_DVIPSCMD'.o --vsize & --nsize now both give size in "single units"(bytes/cons cells) with possiblesuffixes "M" (Mega), "K"ilo (1024) and "k"ilo(1000).o [pdqr]negbin() now also work with non-integer 'size' [by Ben Bolker].o New standard package `lqs' for resistant regression andcovariance estimation, contributed by Brian Ripley.o new functions match.fun() and kronecker() [by Jonathan Rougier]o par(las = 3) is a new option.o new function jitter() [slightly more useful than S's].BUG FIXESo system(command, intern=FALSE, ignore.errors=FALSE)changed 1st & 3rd argument names and is better documented.o "/Font5 /Symbol findfont definefont" confused some printerso Bounding box rotated 90 deg for landscape (shouldn't be)o Legend skipped symbol for pch=0o compilation on non-Intel Linux systems no longer looks for __setfpucwo a %% b -- is now periodic instead of symmetric; more S compatible.o locator(n=512) -- default: MANY points, not just one.o qqnorm() uses ppoints() and returns list with x sorted along y.o plot.formula now allows ylab to be seto plotmath had trouble with paste()'ing expressionso plotting math expressions now also works for objects of mode"call" (in particular on the result of substitute())o locator() on log axes: value antilogged twiceo (a real oldie - and trival too) is.recursive now TRUE forexpressionso sanitised delete.responseo x[["a",]] could crash Ro strwidth() crashed R if no device openo predict inconsistencies with offsets straightened outo tapply goofed when FUN returned named scalaro [.factor now retains contrasts attrib.o hist() had trouble with plotting matho HTML indices get only built when installing a package to RHOMEo subscripting with a length zero logical no longer bombs.o as.ordered(NULL) now returns an "ordered" object.o --debugger .. now gives a warning if other command line args are usedo pt(t, df, ncp) now also works for bigger ncp'so apply(a,d, fun) now passes vectors (rank 1 arrays) to fun.o model.frame() with subset and only one column fixedo boxplot(<data.frame>) now works again.o dyn.load(..) failing gives more informative error message.o Ops.factor: not error, but a warning + NAso bug.report() keeps report file if can't be e-mailedo Ops.data.frame : things like d.fr < a now return a matrixo data.frame(): duplicated row.names now give a warning when dropped.o boxplot(.., ylim=..) or (.., axes=..) gave erronous warningo glm had wrong init code for models with offsets. Also fixedso that linear predictor includes offset, also when predicting.o predict.glm didn't work with se=To backsolve(), qr.solve... now return a vector when x (or y) is a vector.o string tags now converted to symbols and strange symbolictags print as strings, cf. e<-quote(c(F=2, "tail area" = .5)), etc.o row.names(.) <- val doesn't allow duplicated values anymore.o library(mva)'s dist() now works with both "euclidean" & "euclidian"o revised curve function to avoid using grep patterns that causedproblems under Solaris 2.6o coplot() now has 'number' and 'overlap' arguments, and should workin more situations. [by John Maindonald and MM].o save(..ascii=TRUE) now uses "full precision" for numerics.o as.array() preserves names()o outer() works for general array args and preserves (dim)names.o print.factor and print.ordered now return their args invisibly.CHANGES IN R VERSION 0.63.2NEW FEATURESo sink() has new `append' argument.o new function rle().o plot(.) and curve(.) also accept a function as first argument.new `plot.function'.o new function loglin().o pretty() has new arguments and now better "obeys" its `n' arg.Internal GPretty() [implicitly used by axis(.., at = NULL,..)now uses pretty.o new generic function aggregate() with methods for data framesand time series.o data set `euro' with Euro conversion rates.BUG FIXESo model.frame(,subset=) no longer loses contrastso `make install' copied the R shell script a second time withoutgetting RHOME right (thus also breaking R CMD check). Fixed.o help() after help.start() did not work if topic was not equalto filename (e.g. rnorm is found in Normal.html)o fix the 0.63.1 fix for abbreviate(.); improved doc.o predict.mlm(.) couldn't have worked with `newdata'.o model.frame/na.omit bug for matrices and Surv objects.o mean( <data.frame> ) now doesn't return sum(.) anymore.o str(.) doesn't give extraneous "..." in rare cases anymore.o Added documentation for group methods ("Math", "Ops","Summary").o R_PAPERSIZE is used for Rd2dvi and at configure time for the`make dvi' parts.o hist(i) now also works for e.g., i = -1, 0, or 1.o range() now works on dataframes (uses c(..., recursive=T))o pretty(.) does not loop infinitely anymore in very extreme cases.o math functions should work better on dataframes nowo plot(.., type = 'h', log = 'y') now works ...o plot.factor(x, y, ...) of two factors now makesbarplot(table(y,x), ...)o use object$prior.weights in add1.glm, drop1.glm (Brian Ripley)o rnorm(1,mean=m,sd=0) returns m, not NaN (Ben Bolker)o runif(n, a,a) now returns rep(a,n) instead of NaNs.CHANGES IN R VERSION 0.63.1NEW FEATURESo new function mosaicplot().o xy.coords(.) has a "recycle = FALSE" argument, used in text().o RNGtype() allows to choose different Random Number Generators.__EXPERIMENTAL__o print.default(.) now also works with a `right = TRUE' argument.{{ print.matrix(.) is bound to become deprecated... }}o new help page `Memory' on the usage of command line options--vsize and --nsize. Error message if R runs out of memorypoints to help(Memory).o rowsum() and improved na.omit() added from survival4o backsolve(.) has new arguments "upper.tri = TRUE, transpose = FALSE"o hist() has new "right = TRUE" argument;"right = FALSE" gives [a,b) intervalso help() has "htmlhelp" argument, allowing to suppress htmlhelp afterhelp.start(). This is desired for ESS.o quantile(.) has an "names = TRUE" argument for speed.It is much better documented now.BUG FIXESo build-help --dosnames should now also work for text help,latex and examples.o seq() should work better now (fuzz-factor 1e-7 inserted)o multiple arguments to return caused value to be a pairlisto data.frame choked on long names from deparse()o data.edit now works (dataedit doesn't need pairlist()s anymore)o as.pairlist(NULL) is oko ts(1:5, start=2, end=4) now work. Further plot(ts(..), ts(..))o eigen() returns $vectors in any case [S compat].o apply(cbind(1,1:9, 2, quantile) doesn't drop quantile names anymoreo array(1, dim=(1:3)[c(F,F,F)]) is now valid == array(1,NULL) == c(1);the same for array(a,d, list())o fix problem with step() and offsetso drop attributes on matrix subsettingo kappa(.) now works [dtrco now in load table (ROUTINES)].o pmin() and pmax() now preserve attributes.o handle null models arising in drop1(), step, etc.o partial matching problem with $ indexingo matplot(.) works with lwd (vectors)o par("cex.axis") now has the desired effect...o which(.) now omits NAs in its argument.o rbind.data.frame caused character-to-factor coercion a bit too ofteno couple of messups in dotploto z[[1]] <- ~x probl fixed as suggested by J.Lindseyo do_modelframe could lose contrast attributeso "make check" needed standardisation of localeo unlist(...,recursive=F) got names wrongo abbreviate(.) does not anymore return random garbage in somecases [by Guido M.]CHANGES IN R VERSION 0.63NEW FEATURESo library(... , warn.conflicts = TRUE)now prints all conflicts arising from attaching the given package.o new .Platform variable for better modularizingplatform dependence. __This_is_"beta"_and_bound_to_be_changed___o new arguments to colnames(..) andrownames(x, do.NULL = TRUE, prefix = "row")._o par(bty = "]") for _| box(.) in plots.o New standard package `modreg' (smoothing and local MODernREGression methods) contributed by B.D. Ripley.o par() has a `no.readonly = FALSE' argument which allows moresensible op <- par(no.readonly = TRUE); on.exit(par(op)).o Real Bessel functions of 1st to 3rd kind, of arbitrary order:besselI(), besselK(), besselJ(), besselY() are the I(), K(),J(), and Y() Bessel functions.o New conflicts() function from B.D. Ripleyo uniroot has a new `maxiter' argument and returns #{iter} andprecision.o New option `show.coef.Pvalue' (default: TRUE). If FALSE,print.summary.[g]lm does not print P values.o New `R --vanilla' is equivalent toR --no-save --no-restore --no-site-file --no-init-fileo gc() has now a `verbose' argument and returns a matrix with freeand total n- and v-cells(heap).o New example(<foo>) function runs the \emph{Examples} R code of<foo>. example() calls source() which now has a `verbose'instead of `debug' argument.o experimental functions [as.|is.|]pairlist() for the few old-styledotted pair lists [undocumented].o options(check.bounds = TRUE) makes sub-assignments which"stretch" a vector give a warning [dropped undocumentedcheck.bounds() function].o Makefiles should now conform (mostly) with the GNU CodingStandards. In particular, `make install', `make uninstall'and `make install-strip' now work.Also, it is now possible to build R in a non-source directory.o which() preserves names and has a new `arr.ind' argumentallowing for array indices.o New functions {d,p,q,r}signrank for the Wilcoxon signed rankdistribution, and {d,p,q,r}wilcox for the Wilcoxon (rank sum)distribution.o Command line options GNUified a bit further.New command line option `--verbose' for printing moreinformation about progress.Command line options `--vsize' and `--hsize' as replacementsfor `-v' and `-n' which are now deprecated.Added `--silent' as synonym for `--quiet'.Short-style option `-V' obsolete.o Added bug.report() to generate & send bug reports fromwithin R.o The PostScript device driver now uses the ISO Latin1 fontencoding. This should allow Western Europeans to rendertheir languages correctly. It is likely that additionalencodings will be added (e.g. Latin2) when we figure outhow to set the correct font encoding in printers.o The mathematical annotation code has been reworked. Italiccorrection works better. Additional functionality will beadded.o "sample" now has an optional "prob" argument which gives theprobabilities of sampling each element in the vector beingsampled. The present implementation is based on some codefrom E. S. Venkatraman <venkat@biosta.mskcc.org>.o The internal data structure used to represent lists haschanged from being based on dotted pairs to generic vectors.Users should see no changes as a result (with the exceptionof some efficiency gains in list operations).o Subscripting matches that of S more closely. It is nowpossible to use subscripting beyond that the end of vectorsand lists.o Element labelling in "c" and "unlist" should match that ofof S.o Added split.screen etc functions for manipulating multiplescreens on a single deviceo After help.start() the HTML help system is used for all help()requests. The name of the browser is now controlled byoptions("browser").o Added kmeans to package mva (donated by B. Ripley)o New persp function added. It is NOT compatible with S (yet)and is subject to internal and interface changes.o gctorture() for torturing the garbage collector to revealmemory protection bugs. (Call GC on every memory allocation).o B. Ripley's aov code (and more) has been added. This includes:- aov() now handles models with Error terms, multipleresponses.- proj(), model.tables(), se.contrast(), replications(),eff.aovlist() are implemented for aov fits, and whereappropriate for lm fits.- dummy.coef(), with methods for lm and aovlist fits.- add1(), drop1(), step() for stepwise fitting of statisticalmodels, with default, lm and glm methods.- summary() and deviance() -- mlm methods.- kappa() (for estimating condition numbers)- labels() to find a suitable set of labels from an object- C() for setting the contrasts of a factor- anova(), plot(), summary() and deviance() methods for mlm fitso eval() semantics changed when envir= is a list. A 3rd argument isnow allowed, specifying the enclosure (i.e. where R looks forvariables *not* found in envir=) it defaults to the callingenvironment (was .GlobalEnv). Note that when used inside a function,it is often desirable to set the enclosure to the parentenvironment instead. [ eval(e, data, sys.frame(sys.parent())) ]BUG FIXESo min(NULL); max(double()) now give warnings. range() gives NA.o substring("", NULL) no longer segfaults.o formatC(.) now takes default "width = 1" when both width and digitsare unspecified.o several fixes in internal axis and tickmarks setup for"extreme" ranges and values, especially for "log" scaling.o seq(a,a, by=b) now works properly.o print.data.frame(.) now calls print.matrix instead of print(.)which finally enables the 'right = TRUE' argument.o R --help gives moreo postscript() now uses 'hyphen' instead of 'plusminus' for a minus.o source(..., echo=TRUE) now puts a `"' if necessary after truncation.o Changes to the PostScript device driver mean that the volumeof output has been reduced to about a third of what it was.o Fixes and restructuring to name generation in connection withunlist() and c().o Many bugs found and fixed in the memory allocation / garbagecollection area. In particular, the parser was sometimesUNPROTECT()ing the wrong pointers.o lm(y[g=="1"]~x[g=="1"]) caused memory corruptionCHANGES IN R VERSION 0.62.4BUG FIXESo plot.default(.) has now 'sub' argument which eliminates"Warning: parameter "sub" couldn't be set in high-level plot() function"o formatC(numeric(0)) now works.o menu(.) works for empty imputo 0i ^ 2 now gives 0+0i as it should.o ppoints() now behaves like S, and has additional argument 'a'o seq(1,6,by=3) and similar "by" calls now work okayo mahalanobis(.) now fixed; does *NOT* have default arguments forcenter and cov anymore.o diag(.) doesn't return non-sensical dimnames anymore.CHANGES IN R VERSION 0.62.3NEW FEATURESo preserve factor levels and contrast settings in model objectso factor[...,drop=T] reduces level seto added dblepr, intpro do_modelmatrix(model.c): Set rownames from data argument.o New generic function preplot().o A new R BATCH interface for non-interactive execution.o Added `offline' argument to help() for producing hardcopy vialatex and dvips.o glm.fit.null now calculates AIC and print.glm.null prints ito effects.lm implementedo new class "mlm" for multivariate "lm", predict.mlm to go with ito "Details" section added to .Rd formato R_PRINTCMD and R_PAPERSIZE can now be set via users' environment,overriding setting in startup script.o enhanced identify()o new function print.coefmat()o added unix() as .Deprecated("system")o date() replacing system.date()BUG FIXESo substitute would re-substitute after expanding ...o indexing modified object in some caseso sweep should work again on dataframeso minor changes in aov()o builds should now actually work on systems that do not addunderscores to Fortran symbolso biplot[.default]() was redundant in "base" package; now only in "mva".o unix(..) now helps the user to find system(..) instead.o apropos("[") and methods("[") now both work (even though "[" is nota valid regular expression).o row.names<-.default now exists. Converts object to dataframe and then adds row nameso codes() now distinguishes between ordered and unordered factorso codes() had *opposite* semantics of Splus. Now it's the same.o replicating factors now yields factors (again)o print.summary.xxx functions more consistent, using new functionprint.coefmat().o Changed many `T' to `TRUE' and `F' to `FALSE' in the base package.o binary operation on 1x1 matrix lost dimensiono fix anova.glm for null modelo glm.fit.null: ensure df.residual == df.null for a null modelo summary.glm: correlations in saturated caseso stat.anova: use match.arg and labeled switch statemento Major cleanup of glm iteration codeo Correct reordering of glm coefficients if pivotingo Rownames on contrast matriceso factor() and [.factor preserves class "ordered"o Code rearrangement in predict.lm (avoid unnecessary computation)+ let rownames through on predictionso model.matrix.default: Initial code to define model framesimplified considerably after defaulting data argument tosys.frame(sys.parent()). This also removes the problem wheredata.frame mangles I(x^2) and similar names, so that the"reorder" sanity check at the end fails.o The handling of extra FORTRAN libraries (f2c-related and BLAS)should now be correct. Via SHLIBLDFLAGS, add-ons will also belinked against these libraries.o Modified makefiles so configure followed by "make distclean"should restore the source tree to its original form.o a leftover "colours <- colors" caused trouble when collatingsequence changes caused files to go into the "base" file in adifferent orderCHANGES IN R VERSION 0.62.2(The new functions predict.glm, poly, aov, alias, biplot.default andbiplot.princop, update.default and rug all come from Brian D. Ripley,who is also responsible for finding and/or fixing a lot of the bugs)NEW FEATURESo predict.glm() added.o text() is generic.o update.default() (replaces update.glm() and update.lm()).(This will only work if you comment out update.lm andupdate.glm in the sources, or disable them withupdate.lm<-function(object,...)NextMethod(), etc.)o predict.lm() changed towards S-plus compatibility. Intervals arestill available via interval= argument.o zapsmall() function.o polygon() now handles NAso options(show.signif.stars = TRUE). If FALSE,summary.lm and similar functions do *not* print significance starsanymore.o poly() for [g]lm modelling.o aov() for Analysis Of Variance [anova].o alias() for displaying ``aliased'' factor levels in (>=2)way anova.o mva: Now has biplot and biplot.princompo rug() plot.o new src/library/profile/Common.R for OS-independent intialization.o new date stamp mechanism (ensures that prerelease versions carrycorrect date)BUG FIXESo abbreviate() now always retains the first letter.o attr() partial matches for attribute name.o axis() accepts graphical parameters.o binomial() accepts factor responses.o cbind() works with data frames.o contrasts() gives simpler labels (like S) for factors withtwo levels.o contrasts<-() now has a how.many= argument.o contour() and image() can accept a list to specify the matrix.o contr.poly() uses orthogonal polynomials (like S) not rawpolynomials.o data() could fail with a partial match to the dataset name.o density() works correctly if from= or to= are used.n= can now take any value, not just a large power of 2.o expand.grid() now accepts more than two arguments,or a list of factors.o factor() and ordered() handle their levels argument better.o family.glm() now returns the correct family (including link etc).o legend() now knows about lwd.o match.args() works correctly for default arguments.o model.frame.lm() did not invoke `lm'.o model.matrix() calls model.frame() if needed.o model.response() now returns names, so glm() gives names toresiduals, fitted values, etc.o quasi() works in glm() (was missing aic component).o seq() sometimes omitted the final value due to rounding error.o terms.formula() and update.formula() now resolve `.' in formulaeand tidy up `(a + b) - b' etc.o ... is now passed down correctly to functions inside functions.o save.image didn't work (Martyn Plummer)o abs() instead of fabs() in seq.c crashed R on Digital Unixo model.matrix() gagged on variables with complicated nameso saturated models acting up in glmo various improvement of build procedureso rbind(NULL, matrix) core dumpo density() default 'bw' now 0.9*(...) instead of 1.06*(...)[=Silverman's rule of thumb].o detach(2) now works.o format() doesn't drop names anymore.o format.pval() works with NAs.o print.[summary.][g]lm() functions print numbers better formatted.o legend() now also works properly in log coordinates.o backsolve() now working; bakslv.c not depending onFortran_underscores.o Tick marks acting up on log axes in postscript (fix from MartynPlummer)o The Rd format has a new section \details{} (needed for properSd2Rd translation). \R was not understood for nroffconversions, longer dashes (-- and --- in latex syntax) arenow converted properly.o prompt.default() now carries "\details{}".o R [ SHLIB | COMPILE ] were broken on some Solaris systemsdue to use of bash syntax. R [ INSTALL | COMPILE | SHLIB ]now use a MAKE environment variable if present.R INSTALL only rebuilds man pages if they are not alreadyup to date.CHANGES IN R VERSION 0.62.1BUG FIXESo Accidentally shipped R-0.62 without the tests and etc/Rdocdirectories.CHANGES IN R VERSION 0.62NEW FEATURESo Many more help(.) pages.o The top level Makefile now supports the usual./configure; make; make installprocedure (new make targets `all' and `install').o The HTML help pages can now be searched for keywords.o Conversion of functions to and from lists. formals<- and body<-.The alist() function makes it easier to construct argument lists,etc. Added expression-->list coercion.o complex(.) now has optional 'argument' and 'modulus' arguments,allowing ``polar coordinate'' specifications.o layout() documented and improved: starts default device if needed, andreturns number of figures.o New find() function [relying on apropos(..)].o objects(<integer>) now works, being equivalent toobjects(pos=<int.>).o storage.mode() and related functions now return"double" instead of "real", for compatibility."real" is still allowed as synomym for "double".o A `tests' directory has been added (in the source), and "maketests" has been modified to run more than all the examples fromthe base package. The exact `make tests' behavior is stillbound to change.o An experimental directory `etc/Rdoc' has been added with a perl5module to parse R documentation files. Sample perl programsto use this module are also included.o All internal mechanisms to support factors and data.frames havebeen removed. These are now entirely supported by interpretedcode! `is.unordered' has been eliminated. Thanks to JohnChambers for allowing the distribution of his StatLib code.o "pmatch" is now completely S compatible and is not just anothername for "charmatch".o There is now a function called ".Alias" which can be used toprovide multiple names for the same object. Example:lm2 <- .Alias(lm)This is dangerous because it can be used to defeat thecall-by-value illusion.o Many functions changed from <primitive> to .Internal(..).Currently, new .Internal(.)s in ..library/base/R/New-Internal.RPrimitive functions are now printed as ``.Primitive(..)''.o [dpqr]hyper(.) now also work with some 0 arguments.o C-code: Many "-Wall" fixes (MM & DB).o mva's dist() now takes arguments diag and upper which controlhow the distance matrix is printed. plot.hclust() now takes alabels argument.o Attributes are now propagated correctly in binary operations.Changes from:Steve Oncley and Gordon MacleanNational Center for Atmospheric ResearchBoulder, Colorado USAo configure now also checks for fort77.o Usage of R INSTALL now isR INSTALL [options] [-l lib] pkg_1 ... pkg_nThe +/- options were replaced by GNU-style `--no-docs' and`--no-text', `--no-html', and `--no-latex'.o Usage of R REMOVE now isR REMOVE [options] [-l lib] pkg_1 ... pkg_no Usage of R COMPILE now is R COMPILE [options] srcfiles, wherethrough options one can set e.g. CFLAGS or FFLAGS.o Usage of R SHLIB now is R SHLIB [-o libname] files, where thefile names can be that of source or object files.o A new R CMD interface allows invokation of executables in$RHOME/{etc,cmd} without installing them or setting paths.o Data files are now also documented using the Rd format, alldata documentation in the base package has been convertedaccordingly. Rd files for data have a \keyword{datasets} asidentifier.o new function mahalanobis() for Mahalanobis distanceo quantile.default() now handles Inf's correctly.o New command line options `--enable-blas' and `--enable-readline'to configure.o pretty(x) is more reasonable when max(x)-min(x) < 1e-10 max(|x|),and has a new argument "shrink.sml" for that case.o formatC(.) supports a new "fg" format for flexiblenon-exponential formatting.o etc/build-htmlpkglist has been integrated into etc/build-help(option --htmllists)o family gaussian(.) and inverse.gaussian(.) both accept severallink arguments [J.Lindsey].o The graphics function "tck" now produces effects justlike those in S (e.g. par(tck=1) now produces grid lines).Since using "tck" produces nasty results in some circumstancesthere is also an alternative parameter "tcl" which definesthe tick length in terms of lines of text. The defaultsetting is par(tcl=-0.5).o menu() now takes additional arguments `graphics' (currentlyunused) and `title'.o New function plot.formula().plot.factor() now produces boxplots when given 2 arguments.o New function write.table().o signif() now has a `digits' default of 6.o Old-style long command line options (`-save' etc) changed toGNU-style (`--save' etc).Debugging options (`-ddd', `-gdb', `-xxgdb') unified into thenew `--debugger' (`-d').New command line options `--version' (`-V') and `--help' (`-h')which print useful information and exit.o The loading of profiles at startup now works as follows.Unless the new `--no-site-file' was given, a site profile issought (as specified via the environment variable `RPROFILE',or if this is unset defaulting to `${RHOME}/etc/Rprofile'.Then, unless the new `--no-init-file' was given, the userprofiles (`.Rprofile' and `~/.Rprofile') are sought.o New functions subset() and transform() intended primarily tomake life with dataframes easier.o debian directory has been added so Debian GNU/Linux packages can becreated from raw source.o The graphics system has been through a major overhaul.It is now possible to have multiple active device driversand to control them with full suite of dev.xxx() functionsavailable in S. Display lists are now kept for interactivedevices. When an on-screen graphics window is resized,the content of that window is redrawn at the new size.At present only X11 and PostScript graphics device driversare available, but more are on the way.o On systems using IEEE arithmetic, the builtin Inf and NaNvalues are now recognised and used. NA and NaN shouldpropagate correctly in computations, with NA dominatingin computations involving both quantities.E.g. NA+NaN is NA.o Some of the t, F, and chisq distribution/probability functionsnow allow a noncentrality parameter `ncp'.o Functions ptukey() and qtukey() provide the distribution andquantile functions for the maximum of several studentizedranges.o system.file() [now documented] returns all files matched bywildcards.o data() now supports more file formats: .RData for binaryfiles, .txt or .tab for data to be read by`read.table(file, header=TRUE)' and .csv for data to be readby `read.table(file, header=TRUE, sep=";")'o Rdconv: new tabular environment, new sections `\format' and`\source', new output format `-type Sd' for S documentationo .First.lib() now implemented; called by library() after loadinga package.o print.summary.[g]lm() now give `significance stars' and a symboliccorrelation matrix.o new is.R() function.o glm() now also returns an AIC value [from JL].print..glm methods indicate the options()$contrasts in some cases.In summary.glm(..., correlation=..), the default has been changed tocorr. = FALSE which is consistent with summary.lm().predict() now works again for glm objects.o the `flag' argument in formatC(.) can now have more than onecharacter.o nlm() returns the number of iterations used [from J.Lindsey].o cut, diff, hist, mean, quantile, seq, trunc() are now all generic.cut() has an `include.lowest' argument as S.o save.image() as short-cut to save the current session in .RData.o new design of HTML help pages, including an index of allfunctions from all installed packages.o new editor function pico()o matrices and arrays can have zero extentsBUG FIXES (many of which resulted from the added features...)o atanh(.) now workso summary(glm) and summary(lm) now use compatible names.o [pq]tukey(.) now working.o title() now handles main=, sub=, xlab=, ylab= with embeddednewlines correctly. This is partly a change in title andpartly a change in the underlying graphics code.o min(.), max(.), sum(.) now return integer for integer arguments.o which(.) now returns integer.o Rd files: leading whitespace of lines in user-defined sectionswas not correctly removed by Rdconvo sign(.) works again.o [.data.frame segfaulted if arg. wasn't a data frameo "R --no-readline" now again gives proper prompts.o demos/zero.R dyn.load(.) now should be working more easily.o mode(.) now returns "(" for a "parentheses 'call'".o Bug fix in mva dist.c for method binary (gave "invaliddistance"). plot.hclust failed for data without row names.o R INSTALL should work (again) now when `pkg' is a relative filename.o .not.yet.implemented() now takes an arbitrary number of args.o Plotting of dendrograms is working again.o data.frame(.) now uses "1:n" as default row.names.o image(.) and contour(.) now also work called as, e.g., ``image(z)''.o the first argument of axis(.) is now called `side' as in S.o format(NULL) now works.o minor fix in symnum.o hist() now is more compatible to S, has a new `labels' argument,and should work ok for non-equidistant breaks.o plot(-1) now labels properly.o Many small code changes (eliminating extraneous variables, nestedcomm.) in C code in order to satisfy `gcc -Wall' [Doug Bates].o model.extract() will now extract arbitrary model frame arguments.o list of currently loaded libraries (.Dyn.libs) not savedfrom session to session (really, this time)o rhyper works with vectorisation, degenerate cases.o printing of objects in lists now dispatches methods correctlyCHANGES IN R VERSION 0.61.2BUG FIXESo pretty(999) resulted in an infinite loop due to integer overflow.pretty(.) now sometimes returns different results than before.o pi:6 returned integer, instead of real.o [.data.frame caused segfault if called with non-dataframe argumento hist() now is more compatible to S, has a new `labels' argument,and should work ok for non-equidistant breaks.o lgamma(-1e7) segfaulted.gamma(.) and lgamma(.) now give proper results for negative integers.o formatC(pi,dig=20,wid=2) segfaulted.o quantile(..., pr = c(1,2,5)/1000) gave all names as "0%".o In 0.61.1, model.matrix was fixed to pay attention to the names ofthe names of its data arg, but the data arg was defaulting to anunnamed list, so model.matrix(~x) failed...o Indexing with [[]] and a zero-length vector segfaulted.o Coercion of factors as in S-pluso dyn.load statement in demos/dynload/zero.R fixedo Factors could get allocated without the OBJECT bit, whichnearly drove Kurt mad trying to write plot.factor...o Fixed confidence limit problem in t.testCHANGES IN R VERSION 0.61.1NEW FEATURESo None (by definition, x.y.z releases are bugfix releases now)BUG FIXESo Return statements of the form return(x,y) will now returna list with named components.o Parsing of nested "if" statments was broken. This is fixed now.(Reported by Paul Gilbert).o Wrong declaration of ConsoleBufCnt in src/main/scan.c caused crashin Irix (George White <gwhite@bodnext.bio.dfo.ca>)o if(nmatch = 0) bug in src/main/character.c fixed (Doug Bates)o R_alloc/S_alloc fixes. The former allocated 4 times more thanneeded, the latter zeroed half of what it got, sizeof() mistakesin both cases.o c(ordered factor) caused segfault (uninitalised pointer), nowfixed.o behaviour of as.numeric() on factors changed recently; nowdocumented.o model.matrix() now pays attention to the names on its dataframeargument.o Fixes to group methods.o autoload() caused infinite loop if function wasn't found inlibrary on loadingo The pager ate the rest of stdin in batch mode, now fixed. Also,stdout was not flushed before call to system(). "make tests"should work now.o Empty directories now created by configure (so that it doesn'tmatter that "CVS export" doesn't do it)o as.name() made idempotent (i.e. if is.name(x) then as.name(x)==x)o 3 problems with glm, 2 in glm.fit and a one in print.glm fixed[Jim Lindsey]o binomial (family) now works when 'n=0'. [J.Lindsey]o split() now also works in split(1:10,1:2)o strsplit() now also works for strsplit(c,NULL)o A LANG='..' environment variable no longer affects scan()ing ofnumbers.o seq(.) doesn't segfault anymore in gl(2,3):gl(1,6)o contour(.) now also works with integer argumentsCHANGES IN R VERSION 0.61We try to make development more flexible by creating a "CVS branch". Thisshould make it easier to produce patches for obvious bugs in the releases,without having to wait for changes in other areas to stabilize.NEW FEATURESo New functions "all.vars" and "all.names" added.o There has been a small change in the include file structure.All include files now live in RHOME/src/include and arecopied to RHOME/include when needed.o The "noquote" functions are now documented.o A new `language' demo, "is.things", is provided.o symnum(.) functiono The files in R/library/base/data have had a .R suffix added.BUG_FIXESo A nasty bug which showed when attempt was made to createa zero length call has been fixed.o model.matrix(.) now allows a contrasts argument.o barplot(.) now also works for barplot(table(rpois(100,3))).o make clean ; make now should work; ./Makefile.in eliminatedo format(.) is now generic; the default method has a `digits' argument.CHANGES IN R VERSION 0.60.1NEW FEATURESo "split" is now a generic function, with a method for data frames.(contributed by Doug Bates).o S compatible functions "all.names" and "all.vars" added.BUG FIXESo A file was closed multiple times if an error message occurredafter sourcing a file. In some versions of Linux this causeda core dump.o The inclusion <readline/history.h> was causing problems withsome versions of readline because the file did not exist.This is now detected by configure.CHANGES IN R VERSION 0.60R is about to become an official part of the GNU project.To quote RMS (Richard Stallman)``I hereby dub R GNU software!''NEW FEATURESo There has been a major change in directory structuremasterminded by Kurt Hornik.library(.) now attaches ``package''s which are betterintegrated, see "?library". Packages may be available from outsidethe RHOME path via the .lib.loc variable.o The documentation format (of files in src/library/<package>/man/ )has changed to a more easily parsable LaTeX like format.The doc files now all end in `.Rd'.etc/Rman2Rd can be used to translate old-style documentation tothe new one.The translation to *roff, LaTeX and HTML is now done usingetc/Rdconv, written in Perl by Fritz Leisch.The HTML online help produced has now links which work.The manual (in doc/manual/) now includes a section on thedocumentation format and on mathematical text in graphs.etc/ further contains `Sd2Rd' for (partial) translation of S `.d'documentation to Rd, and`Rd2txt' and `Rd2dvi' for easy previewing of single Rd files.o The use of "names" on one dimensional arrays will now producesensible results. This means that for most purposes,one dimensional arrays can be treated like vectors.o We have a applied a patch from mward@wolf.hip.berkeley.eduwhich should substantially improve the speed of (vector)arithmetic.o The modeling formula handler has been expanded so that itaccepts y ~ 0 + x as a "through the origin" specification.models with no parameters are now acceptable.o "cov", "cor" and "var" now produce a matrix result if eitherof their x or y arguments is a matrix. Dimnames are propagatedin a sensible fashion.o New chisq.test(.) and prop.test() from Kurt Hornik.o New read.fwf(.) for reading fixed width format (KH).o New str(.) [alternative to summary(.) for programmers] (MM).o New example data sets "esoph", "infert" and "anscombe" (TL),"iris3" (KH) and "stackloss" (MM).o source(.) has several new arguments, notably ``echo = FALSE''.This is applied in the new function demo(.) which runs all thecode in demos/ (but dynload).o strheight(.) is new, accompanying strwidth(.).Both now work for mathematical expressions (Paul Murrell).o The LaTeX version of the manual (-> doc/manual/) now has an index.o EVERY *.Rd file in src/library/base/man/ has now at least one \keywordo New package (`library(.)') "stepfun" for step functions, incl.empirical distributions.BUG FIXESo Regular expression matching is now done with system versionsof the regexp library. This should fix compilation problemson some platforms.o "approx" and "approxfun", have had some minor adjustments.which fix the interpretation of the rule= argument. Thecode for piecewise constant case is now internal C codethat than interpreted. This should boost performance inthis case.o There has been a minor fixup of "model.frame" to ensure thatsubsets, weights, etc are handled properly.o Model fitting of the formlm(y~., data=df)glm(y~., data=df)will now work. The RHS of the model will consist of anadditive model containing all (non-response) variables in thegiven data frame.o The following type of assignment to data frame subsetsz <- data.frame(x=rnorm(10),y=rnorm(10),z=rnorm(10))z[,1:2] <- matrix(1:20,nc=2)was producing incorrect results. The solution was to wrapan implicit "as.data.frame" around the RHS.o "[.data.frame" no longer has a default drop=TRUE argument.This means that subsetting a data frame with "[" will alwaysyield a data frame.o There was a swap of coordinates internally in "mtext" whichmeant that labels were coming out in the wrong place. Fixed.o Syntax errors in parse(text="...") would cause R to terminatewith a segmentation violation. This no longer happens, althoughthe result is still not perfect (the parse() returns).This will be fixed by a future parse rewrite.o rainbow, topo.colors, etc., now also work with n in {1,2};don't return duplicate neighbor colors anymore.o legend has new `text.width' argument and now also works withmathematical expressions as text.o hist() now works better, has a `plot = TRUE' argument, and returnssomething useful.o barplot() improved for `names', now returns vector of midpoints.o lm(), lm.fit, lm.wfit (was `lm.w.fit'): Made more compatible.Dealing with (close to) collinear situations is still not flexibleenough.o internal postscript() improved (missing lines in boxplot(.)).o Improvement to many (even most ?) documentation (.Rd) files.o Numerous other fixes of minor things ...CHANGES IN R VERSION 0.50WARNING!!!o A change in the way that "expressions" are implemented means thatsaved data images which contain expressions will probably notrestore properly.NEW FEATURESo The installation of documentation has now been streamlined.Many manual entries have been revised.o "expressions" are now implemented as a basic type rather than asa class of object. This change was made as move toward compatibilitywith S and also to implement mathematical annotation in graphs.For some examples of the latter, see ?text and ?title.o "eigen" can now handle complex and non-symmetric matrices.o Libraries are now attached by loading their code into newly createdenvironment frames on the search path rather than in with the generalsystem code. This means that libraries can be unloaded as well asloaded. They can also have .First.lib and .Last.lib functions.The variable .Libraries has been replaced by .library() but should notbe needed much anymore.o There is now an experimental function called "delay" which createsa promise to evaluate an expression. This provides direct accessto the lazy evaluation mechanism used by R.o >>>> 'make tests' allows to test--run all the help() examples.o New functions matplot / matpoints / matlines.o cut has 2 new arguments. 'right = TRUE' gives intervals closed on theright, open to the left (as S); 'right = FALSE' allows to reversethis. The code for default label construction has been enhanced,and can be controlled by the new argument 'dig.lab'.o legend(.) has 2 new arguments 'cex' (obvious) and 'merge = FALSE'.-> ?legend.o deparse has a 2nd argument allowing for a kind of line width.o There is now print.density (method).o many help(.) pages have been updated with working examples,and several new ones have been created.o influence.measures() and lm.influence now allow to get at the usualregression diagnostics.BUG FIXESo The "is.object" function has been with drawn.o A bug which prevented the "pictex" graphics driver from workinghas been fixed.o Regression diagnostics obtained with "lm.influence" now work whenthere are weights. This means they should work for glms.o There was a problem in parsing files from statements which wereseparated from following statements by ";" (e.g. data(iris); iris).This is fixed.o Comments are handled better in functions. The rule is that theyare shifted to just before their statements. Comments after thelast statement of a function are lost.o It is now possible to perform complicated mutations of expressions.For examplee <- quote(f(x=1,y=2))names(e)[[2]] <- "a"will change the x= argument tag into a=. In the past this producedodd error messages.o The length function now tries to return a "sensible" value for allthe built-in types. For example, symbols now have length 1.o "update" should now work in both "lm" and "glm" models.o The functions Re, Im, Mod, Arg and Conj will now accept real-valuedarguments and return the obvious results.o Minor graphics cleanup.o A fix for convergence problems in glm from Thomas Lumley included.o A new version of qt() should not take infinitely long to get ananswer in the large degrees if freedom case. The underlying code(Hill 1970, CACM) appears to be much faster and more accurate thanSplus.o A final Newton step has been added to give a final "polish" tothe quantiles produced by pnorm(). These should be close to fullaccuracy now.o A bug in qbeta found by Martin Maechler has been fixed. This shouldspeed up quantile computation for the F and Beta distributions.Further improvements in qbeta(.) by MM. No infinite loops anymore.o rainbow(.) now allows "start > end" indexing the "color circle".topo.colors(n), terrain.colors(n), heat.colors(n) now also work for n=1,2.o ?"+" now works.o tapply has been fixed as indicated by T. Lumley.