R 3.5.0 and spaces in file paths

The R 3.5.0 update introduced a bug, at least under MS-Windows. File paths containing spaces are truncated at the first space character, leading to errors like:


Fatal error: cannot open file 'C:\Users\<user-name>\AppData\Roaming\WinEdt': No such file or directory

for a file path like 'C:\\Users\\<user-name>\\AppData\\Roaming\\WinEdt Team\\WinEdt 10\\<file-name>' or 'C:/Users/<user-name>/AppData/Roaming/WinEdt Team/WinEdt 10/<file-name>'.

This bug breaks, among other things, the ‘RManager’ extension of the editor WinEdt. I would expect this to cause various other surprising errors after upgrading to R 3.5.0.

This bug is already corrected in the patched version of R 3.5.0 available through CRAN. For Windows, the most recent patched R version can be downloaded from https://cran.r-project.org/bin/windows/base/rpatched.html and installed as usual.

R 3.4.0 released

R 3.4.0 was released some days ago. A compatibility update to RStudio is also available.

The repositories at this site and obviously also at CRAN now contain package binary distributions for R 3.4.x and R 3.3.x.

One major change in this release is that the JIT (just in time) compiler is enabled by default. I have not done any benchmarking yet.

I have written a page explaining how to upgrade your R installation.

The code examples in my book Learn R …as you learnt your mother tongue continue to work as expected. However not all the package updates for R 3.4.0 are yet in CRAN. In package ‘gganimate’ function gg_animate() has been renamed gganimate().

The code examples in our book R for Photobiology: Theory and recipes for common calculations run without problems. Due to recent updates to the packages in my R for Photobiology Suite, used in the book examples, fewer warnings than earlier are triggered.

R 3.3.3 has been released

It is always best to keep R up-to-date. This is not a major release, but instead mostly a bug fix release.

If you are using R on MS-Windows then you can very painlessly upgrade R with package ‘installr’. These are the needed steps, that should be carried out not in RStudio but in RGUI (i.e. double click the R icon on your desktop).

At the console enter:

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

 

Follow the prompts. I suggest that you copy and update the packages in the library.