R

R Development News

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.

R
R Development News Languages

2026-09-05

Changes in R-devel Bug Fixes ‘glm()’ with zero weights now provides correct AIC and ‘logLik()’, fixing PR#16008, thanks to Bill Dunlap and Mauricio Vargas.

R
R Development News Languages

2026-09-04

Changes in R-devel Bug Fixes ‘glm(.., wtol = <positive>)’ treats very small weights as zeros now, similarly to ‘lm()’ via ‘glm.control()’; correct AIC and logLik() for this case, fixing PR#16008, thanks to Bill Dunlap and Mauricio Vargas. ‘summary(<free1way>)’ renames p-values to ‘Pr(..)’ and thus ‘printCoefmat’ recognises them. Changes in R 4.6.1 patched Bug Fixes ‘ksmooth(x,y, x.points=NULL)’ no…

R
R Development News Languages

2026-09-03

Changes in R-devel Significant User-Visible Changes The translations have been updated by the R Translation Team, with the patch generated by Gergely Daroczi. This includes a major contribution of over 4000 Arabic translations from Abdulrahman Alswaji. Changes in R-devel New Features ‘tools::add_datalist()’ now returns a logical (invisibly, instead of ‘NULL’), indicating if it did add a ‘data/data…

R
R Development News Languages

2026-09-02

Changes in R 4.6.1 patched Bug Fixes Quartz device now correctly draws long paths (work-around for Quartz built-in stroker breaking long paths). Thanks to R Dev Day @ useR! 2026 contributors, notably Tomek Gieorgijewski, report in PR#18680.

R
R Development News Languages

2026-08-27

Changes in R-devel Bug Fixes Fix for PR#19035 (piping ‘postscript()’ output) thanks to Jeroen Ooms and Ivan Krylov.

R
R Development News Languages

2026-08-26

Changes in R-devel Bug Fixes ‘strptime("0", "%w")’ in a ‘"C"’ locale now works in valid cases, fixing PR#19124 thanks to Michael Chirico.

R
R Development News Languages

2026-08-23

Changes in R-devel Bug Fixes ‘drop1.glm()’ misbehaved for models fitted with ‘y = FALSE’ (PR#19128, Amal Tawfik). ‘confint(<free1way>, parm)’ returned confidence intervals for all parameters when ‘parm’ requested a subset. ‘summary(<free1way>)’ renames p-values to ‘Pr()’ and thus ‘printCoefmat’ recognises them. ‘drop1.glm()’ misbehaved for models fitted with ‘y = FALSE’ (PR#19128, Amal Tawfik). ‘c…

R
R Development News Languages

2026-08-22

Changes in R-devel New Features ‘rfree1way’ also accepts ‘offset’ terms equal to the number of simulated observations, allowing to sample from more complex models. ‘data()’ will accept text files with further extension ‘.zst’ or ‘.zstd’, and read them on builds with ‘zstd’ support. ‘free1way(, MPL_Jeffreys = TRUE)’ implements maximum penalised likelihood estimation with Jeffreys prior for all mode…

R
R Development News Languages

2026-08-20

Changes in R-devel Bug Fixes ‘drop1.glm()’ misbehaved for models fitted with ‘y = FALSE’ (PR#19128, Amal Tawfik).

R
R Development News Languages

2026-08-18

Changes in R 4.6.1 patched Bug Fixes Wrapper objects make sure data pointers remain once obtained remain valid as long as a wrapper object is reachable. Reported by Ivan Krylov. Wrappers now duplicate even a wrapped object that might be shared before returning a read-only pointer. This prevents cached read-only pointers from becoming invalid. Reported by Ivan Krylov.

R
R Development News Languages

2026-08-15

Changes in R-devel New Features ‘data()’ will accept text files with further extension ‘.zst’ or ‘.zstd’, and read them on builds with ‘zstd’ support. 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’ time…

R
R Development News Languages

2026-08-14

Changes in R-devel Significant User-Visible Changes The Sweave syntax definition objects ‘SweaveSyntaxNoweb’ and ‘SweaveSyntaxLatex’ now each have their own detailed help page.

R
R Development News Languages

2026-08-07

Changes in R-devel Bug Fixes Changed ‘model.frame.glm()’ to use same logic as ‘model.frame.lm()’ (PR#19036, Isaac Gravestock). Fix cases where ‘M’ and ‘X’ matrices could be spanning the same subspace in ‘mauchly.test()’, ‘sphericity()’ ‘anova.mlm()’, ‘anova.mlmlist()’. (PR#16166, originally reported in 2015 by Florent Aubry, essentially analyzed Feb. 2020 just before the corona crisis, triaged 202…

R
R Development News Languages

2026-08-06

Changes in R-devel Bug Fixes Fix cases where ‘M’ and ‘X’ matrices could be spanning the same subspace in ‘mauchly.test()’, ‘anova.mlm’, ‘anova.mlmlist’. (PR#16166, originally reported in 2015 by Florent Aubry, essentially analyzed Feb. 2020 just before the corona crisis, triaged 2026 by Michael Chirico)

R
R Development News Languages

2026-08-05

Changes in R-devel Bug Fixes In ‘nls’, follow suggestion by Ben Bolker to reorder named vectors for ‘lower’ and ‘upper’ arguments to match names of the starting values (PR#18415). This has been extended so that you can now specify _only_ the parameters that you wish to constrain, and also so that it works when parameters are in the form of named lists.