Skip to content

DECISION STATS

Better Decisions === Faster Stats

  • Interviews
  • About DecisionStats
    • Decisionstats.org
  • Interviews
  • About DecisionStats
DECISION STATS

Tag: FreeBSD

Whats new in the latest version of R

Figure 2: The argument φ and modulus r locate ...
Image via Wikipedia
CHANGES IN R VERSION 2.12.2: http://cran.r-project.org/src/base/NEWS

  SIGNIFICANT USER-VISIBLE CHANGES:

    • Complex arithmetic (notably z^n for complex z and integer n) gave
      incorrect results since R 2.10.0 on platforms without C99 complex
      support.  This and some lesser issues in trignometric functions
      have been corrected.

      Such platforms were rare (we know of Cygwin and FreeBSD).
      However, because of new compiler optimizations in the way complex
      arguments are handled, the same code was selected on x86_64 Linux
      with gcc 4.5.x at the default -O2 optimization (but not at -O).

    • There is a workaround for crashes seen with several packages on
      systems using zlib 1.2.5: see the INSTALLATION section.

  NEW FEATURES:

    • PCRE has been updated to 8.12 (two bug-fix releases since 8.10).

    • rep(), seq(), seq.int() and seq_len() report more often when the
      first element is taken of an argument of incorrect length.

    • The Cocoa back-end for the quartz() graphics device on Mac OS X
      provides a way to disable event loop processing temporarily
      (useful, e.g., for forked instances of R).

    • kernel()'s default for m was not appropriate if coef was a set of
      coefficients.  (Reported by Pierre Chausse.)

    • bug.report() has been updated for the current R bug tracker,
      which does not accept emailed submissions.

    • R CMD check now checks for the correct use of $(LAPACK_LIBS) (as
      well as $(BLAS_LIBS)), since several CRAN recent submissions have
      ignored ‘Writing R Extensions’.

  INSTALLATION:

    • The zlib sources in the distribution are now built with all
      symbols remapped: this is intended to avoid problems seen with
      packages such as XML and rggobi which link to zlib.so.1 on
      systems using zlib 1.2.5.

    • The default for FFLAGS and FCFLAGS with gfortran on x86_64 Linux
      has been changed back to -g -O2: however, setting -g -O may still
      be needed for gfortran 4.3.x.

  PACKAGE INSTALLATION:

    • A LazyDataCompression field in the DESCRIPTION file will be used
      to set the value for the --data-compress option of R CMD INSTALL.

    • Files R/sysdata.rda of more than 1Mb are now stored in the
      lazyload daabase using xz compression: this for example halves
      the installed size of package Imap.

    • R CMD INSTALL now ensures that directories installed from inst
      have search permission for everyone.

      It no longer installs files inst/doc/Rplots.ps and
      inst/doc/Rplots.pdf.  These are almost certainly left-overs from
      Sweave runs, and are often large.

  DEPRECATED & DEFUNCT:

    • The ‘experimental’ alternative specification of a name space via
      .Export() etc is now deprecated.

    • zip.file.extract() is now deprecated.

    • Zip-ing data sets in packages (and hence R CMD INSTALL
      --use-zip-data and the ZipData: yes field in a DESCRIPTION file)
      is deprecated: using efficiently compressed .rda images and
      lazy-loading of data has superseded it.

  BUG FIXES:

    • identical() could in rare cases generate a warning about
      non-pairlist attributes on CHARSXPs.  As these are used for
      internal purposes, the attribute check should be skipped.
      (Reported by Niels Richard Hansen).

    • If the filename extension (usually .Rnw) was not included in a
      call to Sweave(), source references would not work properly and
      the keep.source option failed.  (PR#14459)

    • format.data.frame() now keeps zero character column names.

    • pretty(x) no longer raises an error when x contains solely
      non-finite values. (PR#14468)

    • The plot.TukeyHSD() function now uses a line width of 0.5 for its
      reference lines rather than lwd = 0 (which caused problems for
      some PDF and PostScript viewers).

    • The big.mark argument to prettyNum(), format(), etc. was inserted
      reversed if it was more than one character long.

    • R CMD check failed to check the filenames under man for Windows'
      reserved names.

    • The "Date" and "POSIXt" methods for seq() could overshoot when to
      was supplied and by was specified in months or years.

    • The internal method of untar() now restores hard links as file
      copies rather than symbolic links (which did not work for
      cross-directory links).

    • unzip() did not handle zip files which contained filepaths with
      two or more leading directories which were not in the zipfile and
      did not already exist.  (It is unclear if such zipfiles are valid
      and the third-party C code used did not support them, but
      PR#14462 created one.)

    • combn(n, m) now behaves more regularly for the border case m = 0.
      (PR#14473)

    • The rendering of numbers in plotmath expressions (e.g.
      expression(10^2)) used the current settings for conversion to
      strings rather than setting the defaults, and so could be
      affected by what has been done before.  (PR#14477)

    • The methods of napredict() and naresid() for na.action =
      na.exclude fits did not work correctly in the very rare event
      that every case had been omitted in the fit.  (Reported by Simon
      Wood.)

    • weighted.residuals(drop0=TRUE) returned a vector when the
      residuals were a matrix (e.g. those of class "mlm").  (Reported
      by Bill Dunlap.)

    • Package HTML index files /html/00Index.html were generated
      with a stylesheet reference that was not correct for static
      browsing in libraries.

    • ccf(na.action = na.pass) was not implemented.

    • The parser accepted some incorrect numeric constants, e.g. 20x2.
      (Reported by Olaf Mersmann.)

    • format(*, zero.print) did not always replace the full zero parts.

    • Fixes for subsetting or subassignment of "raster" objects when
      not both i and j are specified.

    • R CMD INSTALL was not always respecting the ZipData: yes field of
      a DESCRIPTION file (although this is frequently incorrectly
      specified for packages with no data or which specify lazy-loading
      of data).

      R CMD INSTALL --use-zip-data was incorrectly implemented as
      --use-zipdata since R 2.9.0.

    • source(file, echo=TRUE) could fail if the file contained #line
      directives.  It now recovers more gracefully, but may still
      display the wrong line if the directive gives incorrect
      information.

    • atan(1i) returned NaN+Infi (rather than 0+Infi) on platforms
      without C99 complex support.

    • library() failed to cache S4 metadata (unlike loadNamespace())
      causing failures in S4-using packages without a namespace (e.g.
      those using reference classes).

    • The function qlogis(lp, log.p=TRUE) no longer prematurely
      overflows to Inf when exp(lp) is close to 1.

    • Updating S4 methods for a group generic function requires
      resetting the methods tables for the members of the group (patch
      contributed by Martin Morgan).

    • In some circumstances (including for package XML), R CMD INSTALL
      installed version-control directories from source packages.

    • Added PROTECT calls to some constructed expressions used in C
      level eval calls.

    • utils:::create.post() (used by bug.report() and help.request())
      failed to quote arguments to the mailer, and so often failed.

    • bug.report() was naive about how to extract maintainer email
      addresses from package descriptions, so would often try mailing
      to incorrect addresses.

    • debugger() could fail to read the environment of a call to a
      function with a ... argument.  (Reported by Charlie Roosen.)    • prettyNum(c(1i, NA), drop0=TRUE) or str(NA_complex_) now work
      correctly.

 

Related Articles
  • R 2.12.2 scheduled for February 25 (revolutionanalytics.com)
  • Sweave Tutorial 3: Console Input and Output – Multiple Choice Test Analysis (r-bloggers.com)
28.635308 77.224960

Please share:

  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on X (Opens in new window) X
Like Loading...
Unknown's avatarAuthor Ajay OhriPosted on February 27, 2011Categories AnalyticsTags analysis, browsing, c, code, Complex number, CRAN, Cygwin, data, Deprecation, Directories, environment, error, event, FreeBSD, graphics, how to, html, images, links, mac, Mac OS, MetaData, NaN, optimization, os, Patch (computing), PostScript, Public relations, R, Report, rstats, search, software releases, source, space, Support (mathematics), sweave, tutorial, use, version, work, xml, ZIP (file format), ZlibLeave a comment on Whats new in the latest version of R

Blog Stats

  • 1,339,955 hits

BitCoin Address

BitCoin Wallet

12FxL4og4MqtZt6pRZ1LkcMQq6ddgJK4Yg

Latest Book

SAS for R Users

Books by Ajay Ohri

Python for R USers

R for Business Analytics


R for Cloud Computing

On FB

On FB

Archives

  • February 2025 (1)
  • July 2024 (1)
  • January 2024 (1)
  • August 2023 (1)
  • June 2023 (8)
  • April 2023 (1)
  • March 2022 (1)
  • August 2021 (1)
  • June 2021 (1)
  • March 2021 (1)
  • January 2021 (1)
  • December 2020 (1)
  • September 2020 (1)
  • July 2020 (1)
  • June 2020 (1)
  • May 2020 (1)
  • March 2020 (1)
  • February 2020 (2)
  • January 2020 (8)
  • December 2019 (1)
  • November 2019 (2)
  • October 2019 (1)
  • May 2019 (2)
  • March 2019 (3)
  • February 2019 (1)
  • January 2019 (1)
  • December 2018 (3)
  • October 2018 (1)
  • September 2018 (7)
  • August 2018 (3)
  • July 2018 (6)
  • June 2018 (2)
  • May 2018 (1)
  • April 2018 (2)
  • March 2018 (7)
  • February 2018 (16)
  • January 2018 (4)
  • December 2017 (10)
  • November 2017 (8)
  • October 2017 (6)
  • September 2017 (4)
  • August 2017 (6)
  • July 2017 (6)
  • June 2017 (3)
  • May 2017 (4)
  • March 2017 (1)
  • February 2017 (2)
  • January 2017 (2)
  • December 2016 (3)
  • November 2016 (7)
  • September 2016 (7)
  • August 2016 (12)
  • July 2016 (12)
  • June 2016 (8)
  • May 2016 (11)
  • April 2016 (5)
  • March 2016 (22)
  • February 2016 (6)
  • January 2016 (4)
  • December 2015 (26)
  • November 2015 (19)
  • October 2015 (44)
  • September 2015 (18)
  • August 2015 (28)
  • July 2015 (12)
  • June 2015 (6)
  • May 2015 (9)
  • April 2015 (9)
  • March 2015 (11)
  • February 2015 (5)
  • January 2015 (8)
  • December 2014 (9)
  • November 2014 (10)
  • October 2014 (3)
  • September 2014 (5)
  • August 2014 (5)
  • July 2014 (14)
  • June 2014 (21)
  • May 2014 (10)
  • April 2014 (14)
  • March 2014 (15)
  • February 2014 (11)
  • January 2014 (4)
  • December 2013 (16)
  • November 2013 (19)
  • October 2013 (23)
  • September 2013 (12)
  • August 2013 (14)
  • July 2013 (9)
  • June 2013 (8)
  • May 2013 (15)
  • April 2013 (16)
  • March 2013 (8)
  • February 2013 (16)
  • January 2013 (18)
  • December 2012 (7)
  • November 2012 (8)
  • October 2012 (10)
  • September 2012 (1)
  • August 2012 (26)
  • July 2012 (31)
  • June 2012 (12)
  • May 2012 (10)
  • April 2012 (12)
  • March 2012 (27)
  • February 2012 (31)
  • January 2012 (26)
  • December 2011 (27)
  • November 2011 (40)
  • October 2011 (32)
  • September 2011 (29)
  • August 2011 (30)
  • July 2011 (30)
  • June 2011 (33)
  • May 2011 (50)
  • April 2011 (51)
  • March 2011 (31)
  • February 2011 (38)
  • January 2011 (36)
  • December 2010 (35)
  • November 2010 (77)
  • October 2010 (73)
  • September 2010 (65)
  • August 2010 (19)
  • July 2010 (14)
  • June 2010 (11)
  • May 2010 (20)
  • April 2010 (18)
  • March 2010 (8)
  • February 2010 (10)
  • January 2010 (42)
  • December 2009 (38)
  • November 2009 (60)
  • October 2009 (41)
  • September 2009 (45)
  • August 2009 (37)
  • July 2009 (21)
  • June 2009 (28)
  • May 2009 (49)
  • April 2009 (29)
  • March 2009 (39)
  • February 2009 (34)
  • January 2009 (42)
  • December 2008 (18)
  • November 2008 (37)
  • October 2008 (20)
  • September 2008 (52)
  • August 2008 (62)
  • July 2008 (42)
  • June 2008 (16)
  • May 2008 (10)
  • April 2008 (20)
  • March 2008 (15)
  • February 2008 (30)
  • January 2008 (20)
  • December 2007 (13)

This slideshow requires JavaScript.

  • Interviews
  • About DecisionStats
    • Decisionstats.org
  • Interviews
  • About DecisionStats
DECISION STATS Blog at WordPress.com.
  • Subscribe Subscribed
    • DECISION STATS
    • Join 440 other subscribers
    • Already have a WordPress.com account? Log in now.
    • DECISION STATS
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...
 

    %d