R 3.3.1 is released

R 3.3.1 (codename “Bug in Your Hair”) was released yesterday You can get the latest binaries version from here. (or the .tar.gz source code from here). The full list of bug fixes is provided below new features and (this release does not introduce new features).

Upgrading to R 3.3.1 on Windows

If you are using Windows you can easily upgrade to the latest version of R using the installr package. Simply run the following code in Rgui:

install.packages("installr") # install 
setInternet2(TRUE) # only for R versions older than 3.3.0
installr::updateR() # updating R.

Running “updateR()” will detect if there is a new R version available, and if so it will download+install it (etc.). There is also a step by step tutorial (with screenshots) on how to upgrade R on Windows, using the installr package. If you only see the option to upgrade to an older version of R, then change your mirror or try again in a few hours (it usually take around 24 hours for all CRAN mirrors to get the latest version of R).

I try to keep the installr package updated and useful, so if you have any suggestions or remarks on the package – you are invited to open an issue in the github page.

CHANGES IN R 3.3.1

BUG FIXES

  • R CMD INSTALL and hence install.packages() gave an internal error installing a package called description from a tarball on a case-insensitive file system.
  • match(x, t) (and hence x %in% t) failed when x was of length one, and either character and x and t only differed in their Encoding or when x and twhere complex with NAs or NaNs. (PR#16885.)
  • unloadNamespace(ns) also works again when ns is a ‘namespace’, as from getNamespace().
  • rgamma(1,Inf) or rgamma(1, 0,0) no longer give NaN but the correct limit.
  • length(baseenv()) is correct now.
  • pretty(d, ..) for date-time d rarely failed when "halfmonth" time steps were tried (PR#16923) and on ‘inaccurate’ platforms such as 32-bit windows or a configuration with --disable-long-double; see comment #15 of PR#16761.
  • In text.default(x, y, labels), the rarely(?) used default for labels is now correct also for the case of a 2-column matrix x and missing y.
  • as.factor(c(a = 1L)) preserves names() again as in R < 3.1.0.
  • strtrim(""[0], 0[0]) now works.
  • Use of Ctrl-C to terminate a reverse incremental search started by Ctrl-R in the readline-based Unix terminal interface is now supported forreadline >= 6.3 (Ctrl-G always worked). (PR#16603)
  • diff(<difftime>) now keeps the "units" attribute, as subtraction already did, PR#16940.

logo

9 thoughts on “R 3.3.1 is released”

  1. I have R v. 3.2.5
    under Linux UBUNTU 12.04 32bit.

    Q: How do I (easily) upgrade to the latest R 3.3.1?
    (easy stepXstep, please…).

    Thks!

    1. I mainly use Windows Bob. I don’t know. If/once you find out – please let me know in the comments.

      Tal

    2. In case this is useful for anyone: R 3.3.1 is not available for Ubuntu 12.04, so the possible options are a) change to a new version of Ubuntu or b) settle with R 3.2.5

  2. hello tal ,

    when i run this comman with rgiu (3.3.1) its run perfect :

    C:/R/R-3.3.1/bin/x64/Rscript -e “folder<-'C:/inetpub/wwwroot/…/'; original<-'file.csv'; syn<-'Synthetic_file.csv'; name<-'R_file'; require('knitr'); require('markdown'); rmarkdown::render('C:/inetpub/wwwroot/…/R_file.RMD',output_file='C:/inetpub/wwwroot/…/R_file.pdf')

    but when i run it on php by exec i got :

    Loading required package: knitr
    Loading required package: markdown
    pandoc.exe: getAppUserDataDirectory: illegal operation (unsupported operation)
    Error in strsplit(version_info, "\n")[[1]] : subscript out of bounds
    Calls: … pandoc_available -> find_pandoc -> lapply -> FUN -> get_pandoc_version
    In addition: Warning message:
    running command ‘”C:/PROGRA~2/Pandoc/pandoc.exe” –version’ had status 1
    Execution halted

  3. hello, I am knew to R studio and have tried installing the package ezANOVA. however it outputs an error message saying it is not available. Any solution out there yet? Thank you

  4. I’m perhaps a little bit late…

    To update R for Ubuntu :

    – click on the link contained in the first sentence (from here stuff)
    – you will be directed to the CRAN page
    – then follow the links “Download R for Linux”, then you’ll chose “ubuntu”, then click on the the right Ubuntu version (Precise, Trusty, Wily, Xenial…)
    – depending on your Ubuntu version you fill find a file named “r-base-core_3.3.1-1yourubuntu_version_amd64.deb”
    – download and install

    Hope this helps !

    Patrick

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.