R

R Development News

R
R Development News Languages

2026-11-04

Changes in R-devel Installation on a Unix-Alike ‘configure’ issues a warning if no way is found to determine C dependencies, as without this updating a build is unreliable, for example if ‘Rversion.h’ is changed (and it holds the SVN revision). (Seen with macOS SDK 27.2.) Changes in R-devel Bug Fixes ‘E <- evalSource(..., cache = FALSE)’ did not create S4 method tables in ‘E’, so ‘insertSource(E,…

R
R Development News Languages

2026-10-31

Changes in R-devel Installation on a Unix-Alike ‘libzstd’ is required. For R 4.7.0 only, this can be circumvented by configuring with ‘--without-libzstd’. Changes in R-devel Bug Fixes ‘str()’'s output puts a space (‘" "’) after ‘"<some>:"’ and ‘"attr(*, \"<....>\")="’ consistently now, addressing PR#18719 by Dave Slager and Novica Nakov. This was achieved by no longer _pre_pending spaces, such tha…

R
R Development News Languages

2026-10-30

Changes in R-devel New Features The X11 on-screen devices now supports history navigation through (customizable) key bindings. Changes in R-devel Utilities ‘R CMD check’ now ‘NOTE’s packages listed more than once in a dependency field other than to give a version range, e.g., ‘Imports: utils, stats, utils’. Changes in R-devel Bug Fixes Fix for long-standing bug in Cairo raster output that sometime…

R
R Development News Languages

2026-10-29

Changes in R 4.6.2 patched New Features ‘capabilities()’ now reports if ‘zstd’ compression is supported. Changes in R 4.6.2 patched Installation ‘configure’ now reports if ‘zstd’ support was found. Changes in R-devel Bug Fixes The S4 methods for ‘initialize’ with signature ‘.Object="array"’, ‘.Object="matrix"’, or ‘.Object="ts"’ did not give higher precedence to named components of ‘...’, violatin…

R
R Development News Languages

2026-10-27

Changes in R-devel Bug Fixes When interaction terms or offsets were present, ‘drop.terms’ and ‘[.terms’ could return a ‘terms’ object with invalid ‘predvars’ and ‘dataClasses’ attributes. One consequence was that ‘x[-j]’ and ‘x[seq_len(n)[-j]]’ could differ for objects ‘x’ with ‘n’ terms and indices ‘j’ in ‘seq_len(n)’. The S4 methods for ‘initialize’ with signature ‘.Object="oldClass"’ or ‘.Objec…

R
R Development News Languages

2026-10-24

Changes in R-devel Bug Fixes ‘unzip(., unzip = "internal")’ no longer leaks the zip handle on error, thanks to Kevin Ushey, see PR#19233 The internal method of ‘untar()’ now checks the whole path of every member, so that a final component of ‘".."’ or ‘"~"’ can no longer place a link or file outside the extraction directory; rejects hard- and symbolic-link targets restored as file copies, which re…

R
R Development News Languages

2026-10-23

Changes in R-devel Bug Fixes The internal method of ‘untar()’ now checks the whole path of every member, so that a final component of ‘".."’ or ‘"~"’ can no longer place a link or file outside the extraction directory; rejects hard- and symbolic-link targets restored as file copies, which resolve outside the extraction directory or pass through a symbolic link; applies the umask to extracted files…

R
R Development News Languages

2026-10-21

Changes in R-devel Bug Fixes ‘parse_Rd()’ should no longer leak memory when errors are raised, thanks to Kevin Ushey's report and patch in PR#19184.

R
R Development News Languages

2026-10-20

Changes in R-devel Bug Fixes ‘strsplit(str, perl=TRUE, bytes=TRUE)’ no longer accesses invalid memory in case ‘str’ is an invalid UTF-8 string, fixing PR#19212, thanks to Kevin Ushey. Fixes for ‘grid.pack(row.after=)’ (and ‘row.before’ and ‘col.after’ and ‘col.before’) and ‘grid.pack(dynamic=TRUE)’. Thanks to Athenkosi Nkonyeni for reports. Changes in R 4.6.2 Bug Fixes If ‘wilcox.test(..., exact=T…

R
R Development News Languages

2026-10-19

Changes in R-devel Bug Fixes When tracing rematched S4 methods, ‘trace’ could insert a call ‘trace(.local, tracer=, exit=, ...)’ with improper ‘tracer’ and ‘exit’ components. Thanks to Hao Wang for the report (PR#18707). Fix for ‘grid.pack(..., row.after=)’ (and ‘row.before’ and ‘col.after’ and ‘col.before’). Thanks to Athenkosi Nkonyeni for report. ‘trace’ with non-‘NULL’ ‘exit’ replaced rematche…

R
R Development News Languages

2026-10-18

Changes in R-devel Bug Fixes Long stringed error messages are now protected from premature garbage collection, fixing PR#19210, reported and analyzed by Yuancheng Jiang. ‘trace’ with non-‘NULL’ ‘exit’ replaced rematched S4 method definition with non-rematched one that evaluated ‘exit’ twice, first on ‘.local’ exit and again on method exit. Changes in R 4.6.1 patched Bug Fixes Long stringed error m…

R
R Development News Languages

2026-10-17

Changes in R 4.6.1 patched Bug Fixes ‘isoreg(numeric(0))’ no longer returns unallocated component ‘yc’, fixing PR#19224 thanks to Kevin Ushey. ‘ksmooth(x,y, x.points=NULL)’ now returns an empty (x,y) pair instead of crashing R, fixing PR#19153. Additionally, also by Adam Berkeš, ‘x <- rep(999,0); ksmooth(x, x, x.points = 1)’ no longer writes out of bounds, fixing PR#19171. Ditto for ‘ksmooth(x, x,…

R
R Development News Languages

2026-10-15

Changes in R-devel New Features Dynamic HTML help pages are postprocessed to link function arguments in the Usage section to their documentation in the Arguments section. Changes in R-devel Bug Fixes ‘strsplit(str, perl=TRUE, bytes=TRUE)’ no longer accesses invalid memory in case ‘str’ is an invalid UTF-8 string, fixing PR#19212, thanks to Kevin Ushey.

R
R Development News Languages

2026-10-13

Changes in R-devel Utilities The long-standing environment variable ‘PKG_BUILD_DIR’ to control where ‘R CMD INSTALL’ unpacks source tarballs is now documented in the R Internals manual. This is supplemented by ‘PKG_BUILD_DIR_BARE’ to use ‘PKG_BUILD_DIR’ as the unpacking directory without adding a random path component. Changes in R-devel Bug Fixes Long stringed error messages are now protected fro…

R
R Development News Languages

2026-10-06

Changes in R 4.6.1 patched Bug Fixes ‘influence.measures()’ inadvertently wasn't updated along with ‘dffits()’, ‘dfbetas()’, ‘covratio()’. PR#19167 by Amal Tawfik. Changes in R 4.6.1 Bug Fixes ‘wilcox.test(x, exact=FALSE, correct = k)’'s p-value computation got a missing ‘dnorm(z)’ factor, and so did the 2-sample case, in addition to more fixes. Further, if ‘wilcox.test(.., exact=TRUE)’'s p-value…

R
R Development News Languages

2026-10-03

Changes in R-devel Bug Fixes ‘path.expand("~")’ and similar now should work correctly on Windows when the user name is not in ASCII and neither ‘%HOME%’ nor ‘%USER%’ environment variables are set, fixing PR#18949 thanks to the report and patch from Ivan Krylov and Mauricio Vargas's R Dev Day work. Changes in R 4.6.1 patched Bug Fixes ‘besselI(1, 1e11)’ and ‘besselK(..)’ now signal a warning and re…

R
R Development News Languages

2026-10-02

Changes in R 4.6.1 patched Bug Fixes ‘predict(smooth.spline(..), deriv = -99)’ and similar invalid ‘deriv’ values now signal errors instead of segfaulting, thanks to Adam Berkeš' report and proposal in PR#19190. ‘format(x, width = 2^31 -1)’ for an non-ascii character ‘x’ such as ‘x = "\u00e9"’ now signals an error as the required width is too large, rather than segfaulting, thanks to Adam Berkeš'…

R
R Development News Languages

2026-09-30

Changes in R 4.6.1 patched Bug Fixes (Windows) ‘file.copy(*, date=TRUE)’ no longer opens files for exclusive access when copying the file time. Consequently, the time _is_ copied now and concurrent attempts to open the source file should work reliably, thanks to Kevin Ushey's report and patch in PR#19187. Changes in R 4.6.1 patched Bug Fixes ‘capabilities("X11")’ no longer incorrectly returns ‘TRU…

R
R Development News Languages

2026-09-25

Changes in R-devel Bug Fixes Added protection against out-of-range values for graphical parameters ‘lty’, ‘lend’, and ‘ljoin’ in ‘graphics’ function calls (PR#19170). Thanks to Adam Berkeš. ‘cairo_pdf()’ no longer silently ignores ‘grid.newpage()’ calls after drawing a ‘glyphGrob’ containing two or more glyphs inside a masked ‘viewport’. Thanks to Trevor Davis' patch proposal in PR#19075.

R
R Development News Languages

2026-09-24

Changes in R 4.6.1 patched Bug Fixes ‘R CMD rtags’ (on Unix-alikes) no longer fails from a bad escape if ‘sh’ is ‘bash’ or ‘busybox’.

R
R Development News Languages

2026-09-23

Changes in R-devel Bug Fixes The ‘anova(.., test = tt)’ methods for ‘"glm"’ and ‘"glmlist"’ now do partially match a string ‘tt’, as documented, thanks to Amal Tawfik's report and patch in PR#19179. Changes in R 4.6.1 patched Bug Fixes ‘text.default(.., col = numeric(0))’ and similar no longer segfault in "instrumented" versions of R, fixing PR#19178 thanks to Jiang Yuancheng's ‘fusion-fuzz’ and I…

R
R Development News Languages

2026-09-22

Changes in R-devel New Features ‘chol2inv()’ gains optional switch ‘diag.only’ for shortcutting ‘diag(chol2inv(.))’, wished for with a patch and reproducible analysis in PR#19177 by Adam Marstrand.

R
R Development News Languages

2026-09-20

Changes in R 4.6.1 patched Bug Fixes ‘besselI(1, 1e11)’ and ‘besselK(..)’ now signal a warning and return ‘NaN’ instead of typically segfaulting, fixing PR#19175 thanks to Ben Bolker. ‘ksmooth(x,y, x.points=NULL)’ now returns an empty (x,y) pair instead of crashing R, fixing PR#19153. Additionally, also by Adam Berkeš, ‘x <- rep(999,0); ksmooth(x, x, x.points = 1)’ no longer writes out of bounds,…

R
R Development News Languages

2026-09-19

Changes in R 4.6.1 patched Bug Fixes ‘strptime("0", "%w")’ in a ‘"C"’ locale now works in valid cases, returning ‘NA’ for invalid week numbers (‘"%U"’ or ‘"%W"’), fixing PR#19124 thanks to Michael Chirico's report and notably Suharto Anggono's analysis, also correctly fixing PR#15195.

R
R Development News Languages

2026-09-18

Changes in R-devel New Features ‘gzcon’ ‘rawConnection’s now can flush and are writable thanks to Ivan Krylov's analysis and patch in PR#19172. Changes in R-devel Bug Fixes ‘strptime(ch, "...%OS<n>...")’ now disregards contiguous digits in "<n>", for symmetry with ‘strftime()’, fulfilling Frederick Eaton's wish in PR#17209, thanks to a patch by Suharto Anggono. ‘strptime("0", "%w")’ in a ‘"C"’ loc…

R
R Development News Languages

2026-09-17

Changes in R-devel Bug Fixes ‘glm(*, wtol = <positive>)’ treats very small weights as zeros via ‘glm.fit()’ and ‘glm.control()’, also with new optional ‘tol’ argument, more similar to ‘lm()’, but not equivalently, e.g., for computing ‘AIC()’.

R
R Development News Languages

2026-09-16

Changes in R-devel Bug Fixes Atypical ‘lm()’ calls now work better, e.g., ‘fm <- lm(rock); update(fm, . ~ . - perm)’ and similar cases, fixing PR#17463 and PR#17476 and part of PR#1861, thanks to Ben Tyner, Elin Waring, Kevin Tappe and other Bugzilla contributors.

R
R Development News Languages

2026-09-12

Changes in R-devel Bug Fixes ‘strptime()’ now also returns ‘NA’ for out of range ‘"%OS"’ and a correct error message in some wrong multibyte cases, fixing PR#19117 comment #1 and PR#19122 by Michael Chirico; additionally, some overflow to ‘Inf’ times no longer result in ‘NA’. ‘x[logi]’, with ‘logi’ a logical index, now warns if ‘length(x)’ is not a multiple of ‘length(logi)’, fixing PR#19155 thank…

R
R Development News Languages

2026-09-08

Changes in R-devel Bug Fixes ‘glm(rock)’ and ‘glm(data = rock)’ work like ‘lm(..)’ now.

R
R Development News Languages

2026-09-07

Changes in R-devel Bug Fixes ‘confint(<free1way>, what = "OVL")’ now includes one for shift effect confidence intervals including zero. ‘summary(<free1way>)’ renames p-values to ‘Pr(..)’ and thus ‘printCoefmat’ recognises them.