R

R Development News

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.

R
R Development News Languages

2026-08-04

Changes in R-devel Bug Fixes ‘dummy.coef()’ becomes more robust to non-syntactic variable names, fixing PR#18468. Thanks to Bill Dunlap and ‘R Dev Day’ participants Vincent Arel-Bundock, Cynthia Huang, Tina Rozsos and Marina Marinelli. Changes in R 4.6.1 patched Bug Fixes ‘dummy.coef()’ becomes more robust to non-syntactic variable names, fixing PR#18468. Thanks to Bill Dunlap and ‘R Dev Day’ part…

R
R Development News Languages

2026-08-03

Changes in R 4.6.1 patched Bug Fixes ‘dim(a) <- vec’ now checks for too large ‘prod(vec)’, thanks to Kevin Ushey's report and patch in PR#19109.

R
R Development News Languages

2026-08-02

Changes in R 4.6.1 patched Bug Fixes ‘writeChar()’ in a multibyte locale counts characters and bytes consistently and no longer overflows, thanks to Kevin Ushey's report and patch in PR#19112.

R
R Development News Languages

2026-08-01

Changes in R 4.6.1 patched Bug Fixes Now ‘PROTECT()’ in ‘SubassignTypeFix’, fixing PR#19110 thanks to Kevin Ushey.

R
R Development News Languages

2026-07-31

Changes in R-devel New Features New higher-order functions ‘Compose()’, ‘Funcall()’ and ‘Partial()’. New functions ‘find_calls()’, ‘find_calls_in_package_code()’, ‘gsub_with_transformed_matches()’ and ‘system_with_capture()’ in package ‘tools’. Changes in R-devel Bug Fixes Fix segfault in ‘postscript()’ and ‘pdf()’ if set ‘papersize’ option to very long string (PR#19108). Thanks to Kevin Ushey. Fi…

R
R Development News Languages

2026-07-29

Changes in R-devel New Features ‘use()’ gets an argument ‘pos’ with a help example showing how to attach a “chain” of packages to ‘search()’.

R
R Development News Languages

2026-07-28

Changes in R 4.6.1 patched Bug Fixes 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. Wrapper objects make sure data pointers remain once obtained remain valid as long as a wrapper object is reachable. Reported by Ivan Krylov.

R
R Development News Languages

2026-07-26

Changes in R-devel Significant User-Visible Changes Fixing ‘rbinom()’, see PR#19049 below, to reproduce old results needs ‘RNGkind()’ to get a new ‘binom.kind’ argument and, e.g. ‘RNGversion("4.6")’ keeps previous behaviour. Changes in R-devel Bug Fixes ‘rbinom()’'s BTPE algorithm is fixed thanks to Kate Hudson's findings and report in PR#19049. To ensure reproducibility, ‘RNGkind()’ gets new argu…

R
R Development News Languages

2026-07-20

Changes in R-devel Bug Fixes Package ‘methods’ provides a method for implicit generic function ‘rcond’ with signature ‘c(x="ANY", norm="missing")’ so that ‘rcond(x)’ does not break after ‘setGeneric("rcond")’.

R
R Development News Languages

2026-07-17

Changes in R-devel New Features New low-level function ‘.OBJSXP()’ enables deparsing of non-S4 ‘"object"’ type objects. Changes in R-devel Bug Fixes In ‘methods’, ‘as()’ now correctly coerces S4 objects to S4 superclasses extending old-style classes, instead of returning only the S3 part. ‘dummy.coef()’ becomes more robust to non-syntactic variable names, fixing PR#18468. Thanks to Bill Dunlap and…

R
R Development News Languages

2026-07-16

Changes in R-devel Bug Fixes Fix for PR#19100: ‘seq.int’ was not handling non-vector ‘along.width’ arguments properly. Thanks to Mitchell O'Hara-Wild. Changes in R 4.6.1 patched Bug Fixes Fix for PR#19100: ‘seq.int’ was not handling non-vector ‘along.width’ arguments properly. Thanks to Mitchell O'Hara-Wild. Wrappers now duplicate even a wrapped object that might be shared before returning a read-…