uot;names-aware". That might be tricky for more complex units like ...
max(unit(1:3, "in"))
... though I guess the behaviour of numeric vectors could provide a
role-model.
Paul
On 28/08/2025 2:08 am, David Firth via R-devel wrote:
I am asking here first, rather than filing a
I am asking here first, rather than filing a feature request directly. It
concerns a function in the grid package, maintained by R-core.
Is there a reason why grid::unit(x, units) does not preserve the names (if such
exist) from vector x?
I have a use-case where that would be helpful. But
ale -a' says that C.UTF-8 is available with glibc and musl on
Linux, also FreeBSD and OpenBSD, but not macOS (and setlocale(LC_ALL,
"C.UTF-8") indeed fails on the latter).
--
Best regards,
Ivan
__________
R-devel@r-project.org mailing list
https:/
Hello R-devel,
I've been watching the development of automatic Rd bibliography
generation with great interest and I'm looking forward to using
\bibcitet{...} and \bibshow{*} in my packages. Currently, non-ASCII
characters used in the citation keys prevent R from successfully
compilin
ue for iterors is `stop("StopIteration")`.
>
> Note that it is trivial to create a unique sentinel value -- any newly
> created closure (i.e. function() NULL) will do, as it will only
> compare identical() with itself.
>
> sigil <- \() NULL
> next <- as.iteror(ob
Hello,
A couple of comments:
- Regarding the closure + sentinel approach, also implemented in coro
(https://github.com/r-lib/coro/blob/main/R/iterator.R), it's more
robust for the
sentinel to always be a temporary value. If you store the sentinel
in a list or
a namespace, it
with an older version of R.
For completeness, this should cover all swap files that Vim could
create with the 'shortname' option unset:
Index: src/library/tools/R/build.R
=======
--- src/library/tools/R/build.R (revision 88556)
f the swap file. So how about only matching files that start with a
dot and end with .sw[certain letters]?
grepl(
'(^|/)[.][^/]+[.]sw[a-p]$',
c('.swap.file.swp', 'subdir/.swapfile.swn', 'not-a-swapfile.swc'),
perl = TRUE
)
# [1] TRUE TRUE FALSE
--
Best
method found if f were called from the
> same environment."
# the following code shows an inconsistency on R
# tested on 4.5.1 (2025-06-13 ucrt) (x86_64-w64-mingw32/x64)
local({
coef.lm=function(x, ...) {cat("new coef.lm function\n")}
attach(environment(), name=
E.g., should
> it signal a condition if length(yes) or length(no) is not equal to 1
> nor length(test)?
To be consistent with base R, it should warn if length(yes), length(no) and
length(test) are not divisors of the longest, otherwise silently repeat the
three vectors to ge
On Wed, 30 Jul 2025 09:04:39 -0500
"Therneau, Terry M., Ph.D. via R-devel" wrote:
> In the survival package the survConcordance function was replaced by
> concordance a while ago, the latter works for any ordered response
> (continuous, binary, survival, ...). I deprecated the
removing the old
function?
Terry
--
Terry M Therneau, PhD
Department of Quantitative Health Sciences
Mayo Clinic
thern...@mayo.edu
"TERR-ree THUR-noh"
[[alternative HTML version deleted]]
______
R-devel@r-project.org mailing
Dear R-devel,
For a project of mine which aims to improve R package distribution and
routing, I came across the fact that the treatment of the User Agent
info alongside download requests is not consistent.
`?download.file` explains this in detail, so I’ll assume this info to
be know and just
s, no)
I think a widely asked-for feature is a separate 'na' branch.
--
Best regards,
Ivan
[1] https://github.com/rdatatable/data.table/issues/3657
[2] https://vctrs.r-lib.org/articles/stability.html#ifelse
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Thanks Antoine for starting this discussion. It would indeed be great to see
an improved `ifelse()` in base R.
I also agree with Duncan's suggestion that the way to proceed would be to
create a package where the improved version could be drafted, discussed and
refined so that R Core would h
The build system rolled up R-4.5.1.tar.gz and .xz (codename “Great Square
Root") this morning.
This is a patch release with a handful of minor changes and mixups.
The list below details the changes in this release.
You can get the source code from
https://cran.r-project.org/src/base/
- Ursprüngliche Mail -
> Von: "Kurt Hornik"
> An: "Laurent Gatto"
> CC: "Kurt Hornik" , "Trevor Davis"
> , r-devel@r-project.org, "roland
> fuss"
> Gesendet: Dienstag, 3. Juni 2025 19:23:01
> Betreff: Re: [Rd] FR: improve &quo
Hi,
Thanks, Ivan, for the additional diagnosis and debugging tips.
Thanks, Martin, for the prompt fix.
Thanks, Toby, for sharing the R Dev Container link. I tried it out and was able
to easily test some changes. I'll be using that in the future!
Best,
Mikko
-Original Message-
Dear All,
Perhaps this should go in r-package-devel, but I suspect that this is
going to turn into a feature request, and I want to run it by the list
before filing it in the Bugzilla.
I would like to specify a long string literal without making the line
of code too long. In R,
"ab
Dear All,
Thanks for looking into it, and apologies for bumping this.
I think the strangest thing for me is that the C and the R
implementations on Windows yield different results. I don't know if it
warrants a deeper look.
Ultimately, I rewrote the code that relied on this behaviour. (I n
> What definitely needs attention is the fact that currently the above is
> silently ignored. So at least for now we should teach attachNamespace()
> to throw a suitably classed error if called with include.only that
> contradicts a previous specification.
>
> Contributions welcom
В Fri, 23 May 2025 11:47:33 +
Marttila Mikko via R-devel пишет:
> When called with a numeric vector, the `replace.zero` argument is
> disregarded.
>
> > prettyNum(0, zero.print = "- ", replace.zero = TRUE)
> [1] "-"
> Warning message:
ce.zero) :
'zero.print' is truncated to fit into formatted zeros; consider 'replace=TRUE'
A character vector as input works as expected:
> prettyNum("0", zero.print = "- ", replace.zero = TRUE)
[1] "- "
Please see below a patch which I believe wou
Braunschweig, Germany
Tel./Webex: ++49 531 25701967
Email: roland.f...@thuenen.de
Arbeitsgruppe "Emissionsberichterstattung"/
Working group "Emission Inventories"
Email: emissionsinvent...@thuenen.de
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
On Sun, 11 May 2025 10:58:18 -0700
Henrik Bengtsson wrote:
> Is it possible to gracefully interrupt a child R process on MS
> Windows, e.g. a PSOCK cluster node?
Not in the general case (I think, based on the code paths leading to
Rf_onintr() on Windows), but PSOCK cluster nodes are ins
your package code.
>
> Best,
> Kevin
>
> On Fri, May 9, 2025 at 6:18 AM Ivan Krylov via R-devel
> wrote:
>>
>> В Fri, 9 May 2025 11:09:22 +1000
>> Stephen Wade пишет:
>>
>>>inlined from ‘std::vector literanger::adjust_pvalues(const
&g
aths that cannot be taken,
but they don't see an easy way to fix the warnings on the compiler side.
--
Best regards,
Ivan
__________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
On Tue, 29 Apr 2025 12:00:09 +0200
Martin Maechler wrote:
> Would you (or anybody else) know if this is new behaviour or it
> also happened e.g. in R 4.4.x versions on Windows?
R-4.3.1 on Windows 7 in a virtual machine gives:
dput(sqrt(.Machine$double.xmax), control = 'hex')
Hello,
Under R 4.5.0 on Windows (x86-64), I get:
> sqrt(.Machine$double.xmax)^2
[1] Inf
> sqrt(.Machine$double.xmax)*sqrt(.Machine$double.xmax)
[1] Inf
On other hand on other platforms, including Debian Linux (x86-64), I
get:
d> sqrt(.Machine$double.xmax)^2
[1] 1.7976931348623155085
tion 'check_session_exit'.
But it works fine.
src/library/grid/src/grid.c
r87924
The comment before function 'findInChildren' and before function 'findViewport'
are R code. There, 'FALSE' should not be replaced with 'false' and 'TRUE'
shou
rd mandating namespaces on all function calls and
> falling over things like strata() in the survival package. Then package
> author(s) chose to comply rather than explain...
>
> -pd
[[alternative HTML version deleted]]
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
rl-config
> command line program, which R is using to get this flag:
> -I/home/local/USHERBROOKE/hoct2726/miniconda3/include
With libcurl installed from conda, what do the following commands print?
curl-config --built-shared
curl-config --static-libs
curl-config --libs
> To fix the build,
:54:03 pm GMT+7, Martin Maechler
wrote:
>>>>> Suharto Anggono Suharto Anggono via R-devel
>>>>> on Thu, 10 Apr 2025 07:53:04 + (UTC) writes:
> Chain of calls of C functions in coerce.c for as.character() in
R:
> do_asatomic
>
f it is, I think of
clearing the cache for each first filling. For example, by abusing 'warn'
argument, the following is added to my changed 'StringFromLogical'.
if (*warn) TrueCh = FalseCh = NULL;
Correspondingly, in 'coerceToString',
warn = i == 0;
is inserted before
cache for each first filling. For example, by abusing 'warn'
argument, the following is added to my changed 'StringFromLogical'.
if (*warn) TrueCh = FalseCh = NULL;
Correspondingly, in 'coerceToString',
warn = i == 0;
is inserted before
SET_STRING_ELT(ans, i, StringFromLogical
nged 'StringFromLogical'.
if (*warn) TrueCh = FalseCh = NULL;
Correspondingly, in 'coerceToString',
warn = i == 0;
is inserted before
SET_STRING_ELT(ans, i, StringFromLogical(LOGICAL_ELT(v, i), &warn));
for LGLSXP case.
-
On Thursday, 10 April
Chain of calls of C functions in coerce.c for as.character() in R:
do_asatomic
ascommon
coerceVector
coerceToString
StringFromLogical (for each element)
The definition of 'StringFromLogical' in coerce.c :
attribute_hidden SEXP StringFromLogical(int x, int *warn)
{
int w;
format
ls = sqrt(2)^2)
gives NA, different from
factor(2, levels = sqrt(2)^2)
With the change to 'factor',
factor(2L, exclude = sqrt(2)^2)
has 1 level (nothing is excluded), different from
factor(2, exclude = sqrt(2)^2)
----
Am 21.03.25 um 15:42 schrieb Aidan Lakshman via R-devel:
>
В Thu, 27 Mar 2025 13:26:47 +0100
Sergio Oller пишет:
> Our current workaround kind of works, but when users expect to be able
> to install packages
> using renv or other tools that use install.packages to work; our
> wrapper is not that convenient.
Here's an idea that might
source. I've been using it for a very long time (20 years or more, I
think), and I suspect there are very good open source competitors out
there now (and may have been for all the time I've been using BC).
Suggestions?
Duncan Murdoch
__
t including to potentially start discussion for optimization.
For reference, the relevant section is in src/library/base/R/table.R:L75-85
-Aidan
---
Aidan Lakshman (he/him)
http://www.ahl27.com/
On 21 Mar 2025, at 8:26, Karolis Koncevičius wrote:
> [You don't often g
Warnings are not "reviving themselves magically". Try resizing the
window a few times and hitting return in the REPL. That should give
you a hint on what is going on.
Best,
luke
On Fri, 21 Mar 2025, Henrik Bengtsson wrote:
What's going on here?
$ R --vanilla --
added to the "user written packages" document,
where it talks about specials.
What other packages use specials?
Terry T.
[[alternative HTML version deleted]]
______
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
On Sat, 15 Mar 2025 07:51:11 -0500
Dirk Eddelbuettel wrote:
> /usr/local/lib/R-devel/lib/R/include/R_ext/Boolean.h:62:16: warning: ISO C
> does not support specifying ‘enum’ underlying types before C23 [-Wpedantic]
> 62 | typedef enum :int { FALSE = 0, TRUE } Rboolean; //
On Fri, 14 Mar 2025 22:25:54 -0500
Dirk Eddelbuettel wrote:
> An older package I looked at apparently currently fails to build under
> r-devel (and with that my thanks to R-universe for giving us a
> 'broad' range of builds for free -- off our development sources) over
>
em for older versions of R.
Please accept my apologies. Indeed, the script [1] called at
configuration time does replace the examples section to avoid parse
errors for example(...). And having example() do nothing (with all code
and an explanation in the help page) is a small cost for having the
Le 05/03/2025 à 14:47, Hadley Wickham a écrit :
Unfortunately your test generates a false positive for httr2 (
https://cran.r-project.org/web/checks/check_results_httr2.html) and other
tidyverse packages where we use the base pipe in examples, but carefully
disable them for older versions of R
Dear Simon Urbanek,
There has been very little engagement with the issue I referred to. If it was
decided that this “check” ought to be part of the default checks for R,
then that could have been written to us. Either on the bugs.r-project.org or
the proposed patch. Before we talk about
Hello everyone!
I'm Mossa, I'm one of the maintainers of extendr, an automated generation of
bindings project for
Rust code, for use in R-packages.
I'm writing to you, as R 4.4.3 was just released, and there have not been
follow-up on an issue important to us. Link to the issue
Appreciate the response. We're trying to find someone there now.
Geoff
-Original Message-
From: Ben Bolker
Sent: Tuesday, February 25, 2025 4:30 PM
To: r-devel@r-project.org
Cc: Geoff Wolkis ; Stevie Ratto
Subject: Re: [Rd] Vuori - Due Diligence
External Sender - STOP, ASSES
ing. The
automatic resizing doesn't look nice due to gl_redraw() starting a new
line newline before redrawing the prompt, but it works.
This may have accessibility implications since it changes the behaviour
of Rterm.exe, which is what A. Jonathan R. Godfrey recommends for blind
Windows users
Hello -
My name is Geoff Wolkis and I'm with Vuori's Third Party Risk Management
Team. I've been assigned to conduct due diligence on the services and/or
products your organization is providing to Vuori. In this case R Studio is
providing statistical data and create repor
ion() expr)(), but not until someone
spends some time making sure it is exactly true for the interpreted
case; not something I could justify giving high priority to.
I'm not sure this word has a precise meaning in R but I think of
on.exit() as running upon leaving the "context" in
Hello R-devel,
Currently, Sys.setLanguage() interprets an empty/absent environment
variable LANGUAGE to mean unset="en", which disagrees with gettext():
it defaults to the LC_MESSAGES category of the current locale [1]. As a
result, on systems with $LANGUAGE normally unset, Sys.s
Rd files without installing the
packages.
Attaching a patch that checks the syntax used in Rd examples at the
same time as the main R code, not necessarily the best way to perform
this check. Is it perhaps worth separating R/* checks from man/*.Rd
checks? Should R CMD check try to reuse the Rd d
Sent in error (and not moderated).
On 03/02/2025 17:36, Prof Brian Ripley via R-devel wrote:
Tomas,
I am thinking of writing something for R-devel, and hope to have your
input first.
I get moderated on R-devel as I am now subscribed as brian.ripley@R-
project.org which of course I cannot
Tomas,
I am thinking of writing something for R-devel, and hope to have your
input first.
I get moderated on R-devel as I am now subscribed as
brian.rip...@r-project.org which of course I cannot send from. So I am
even more discouraged from posting there. (R-core is bad enough with
Luke
On 02/02/2025 15:50, Ivan Krylov via R-devel wrote:
The good news is that without a C23-enabled compiler, the problem will
only happen to source files that #include . The bad news is
that such a source file will technically disagree with the rest of R
about the type of Rboolean, including the
The good news is that without a C23-enabled compiler, the problem will
only happen to source files that #include . The bad news is
that such a source file will technically disagree with the rest of R
about the type of Rboolean, including the prototypes of the API
functions that accept Rboolean
Rboolean;
Rboolean E;
@@
* E == NA_LOGICAL
[2] Coccinelle scripts:
@@
typedef Rboolean;
int* E;
@@
* (Rboolean*)E
This one will offer a diff to fix the bug:
@@
int *E1;
int *E2;
typedef Rboolean;
@@
(
memcpy
|
memmove
)
(E1, E2,
<+...
-sizeof(Rboolean)
+sizeof(int)
...+>
)
__
Dear R Development Team,
I have encountered an unexpected behavior in R 4.4.1 regarding the precedence
of / and %/%.
Steps to reproduce:
print(2 * 10 / 2 %/% 50)
Expected result:
Since *, / and %/% have the same precedence, evaluation should be left-to-right:
(2 * 10) / 2 %/% 50 # Expected: 0
with 64-bit integers. But only
64-bit integers as in S pointers and integers had to be the same size.
That is not something we could contemplate for R, as vast numbers of
packages assume that R's integers map to C int (tested to be 32-bit) and
Fortran 32-bit INTEGER.
Cheers,
Simon
o also depend on R >= 4.2.0?
That's a good find! For the R >= 4.2 syntax, we only need to check for
getParseData(...)$token %in% 'PLACEHOLDER'. The R >= 4.3 syntax feature
is harder to test for:
>> As an experimental feature the placeholder _ can now also be
В Tue, 21 Jan 2025 16:51:34 +1100
Hugh Parsonage пишет:
> x <- vector("list", 2^31)
>
> which triggers (presumably) billions of error messages like
> Error: long vectors are not supported yet ../include/Rinlinedfuns.h
I couldn't reproduce this with some releas
Hello R-devel,
Since Pavel has mentioned ABI-level dependencies between packages [1],
it may be relevant to revisit the related problem mentioned ~1.5 years
ago by Dirk [2].
While the current version of SeuratObject doesn't exhibit this problem,
a combination of package versions describ
/manuals/r-devel/R-exts.html#Generic-functions-and-methods)
- shouldn't we use match.fun(transFUN)?
diff --git a/src/library/stats/R/lm.R b/src/library/stats/R/lm.R
index 13a458797b..2ce6b16f6e 100644
--- a/src/library/stats/R/lm.R
+++ b/src/library/stats/R/lm.R
@@ -982,3 +982,18 @@ labe
9 0.14520270 0.9304302 1.676239
4tensionH 1.395612 0.1501714 2.2196863 0.03100435 1.0397735 1.873229
Thank you.
Best regards,
Thomas
-Message d'origine-
De : SOEIRO Thomas
Envoyé : jeudi 16 janvier 2025 14:36
À : r-devel@r-project.org
Objet : as.data.frame() methods for model object
Thanks Ivan and Kurt, for nailing this down, best regards, Peter
Am 17.01.2025 um 09:01 schrieb Kurt Hornik:
Ivan Krylov via R-devel writes:
Thanks. Will try to fix ...
Best
-k
В Thu, 16 Jan 2025 18:09:25 +0100
Peter Ruckdeschel via R-devel пишет:
this is to report some minor UTF-8
В Thu, 16 Jan 2025 18:09:25 +0100
Peter Ruckdeschel via R-devel пишет:
> this is to report some minor UTF-8 encoding issue with R CMD check
> with option --install-args="--latex" (and possibly more install-args).
Thank you for a very detailed report!
This doesn't happe
Hi,
this is to report some minor UTF-8 encoding issue with R CMD check with option
--install-args="--latex"
(and possibly more install-args).
More specifically, in my Windows system (see the cloud link below for details
on my system), but also
on the Linux machine of my collaborato
70 -0.07210825 0.5165527
4tensionH 0. 0.03100435 0.03900286 0.6276638
Thank you.
Best regards,
Thomas
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Hello R-devel,
Approximately [*] the following CRAN packages make use of the pipe
syntax in their source code or examples without depending on R >= 4.1:
[1] "biplotEZ" "CaseBasedReasoning" "collinear"
[4] "cubble"
On 15/01/2025 16:06, Iñaki Ucar wrote:
Dear R Core,
GCC 15 is already in Fedora rawhide, because it will be part of the next
release, Fedora 42. R 4.4.2 fails to build with the following error [1]:
sys-std.c:1189:1: warning: ‘noreturn’ attribute ignored [-Wattributes]
1189 | void
zeros can be compressed to 697202 bytes of repetitive compressed stream
that can be bzipped further to 248 bytes.
Binary packages are probably the most obvious target for new
compression methods because there is no need to install them on older
versions of R.
--
Best regards,
Ivan
_
On Wed, 8 Jan 2025 10:57:47 -0500
Ben Bolker wrote:
> I haven't done the archaeology to figure out when this broke/exactly
> what change in the R code base broke it: it happened within the last
> month or so
binomial() itself exhibits this property even in R-4.2.2 from more than
ederal Research Institute for Rural Areas,
Forestry and Fisheries – Thünen Institute in brief –
consists of 15 specialized institutes that
carry out research and provide policy advice
in the fields of economy, ecology and technology.
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
m) {
int i, j;
double result;
for (i=0;iprint(microbenchmark::microbenchmark(nonsense0(1e8, 10), nonsense_div(1e8,10,1000),
nonsense_add(1e8,10,1000), times=10))
---
In R terminal, it gives:
Unit: milliseconds
expr min lq mean median uq
--
Dario Strbenac
University of Sydney
Camperdown NSW 2050
Australia
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
d
patience as we have worked through the reverse dependency checks. Current on
github and (hopefully soon) on CRAN.
An unaswered question is how to best document this behaviour so that users will
find it.
Terry Therneau
[[alternative HTML version deleted]]
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
0]; secs <- secs[is.finite(secs)]
could be put inside
if(np >= 1L)
__________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
On 31/10/2024 16:30, Avraham Adler wrote:
When compiling R, the build fails after byte compiling grDevices with
the following error:
byte-compiling package 'grDevices'
make[4]: *** [../../../share/make/lazycomp.mk:9:
../../../library/grDevices/R/grDevices.rdb] Error
med the same as the package name. The routines
> are called using .Fortran(binary module name, args) or .Call(C binary
> module name, ...).
>
> Can anyone see any problem with streamlining in this way?
"Writing R Extensions" 1.5.4 says:
>> this approach is no
Dear Luke,
Thank you very much for taking the time to write an exhaustive answer!
They are always a pleasure to read on the R mailing lists.
On Fri, 25 Oct 2024 11:50:34 -0500 (CDT)
luke-tier...@uiowa.edu wrote:
> So there is a discrepancy between interpreted and compiled code which
> is
On Fri, 25 Oct 2024, Ivan Krylov via R-devel wrote:
В Fri, 25 Oct 2024 08:39:39 -0400
Duncan Murdoch пишет:
Surely you or they should be the ones to run the test across all of
CRAN?
That's fair. The question is, is there a fundamental reason I
overlooked to deny such a change? Excep
has been in names.c since SVN revision 2. The
one regression test touched by the change has been there since 2010.
--
Best regards,
Ivan
______
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
On Thu, 24 Oct 2024 13:23:56 -0400
Toby Hocking wrote:
> The patch you are proposing to base R is
> https://github.com/Rdatatable/data.table/issues/6566#issuecomment-2428912338
> right?
Yes, it's this one, thank you for providing the link.
Surprisingly, a very cursory check o
Hello,
The "[" primitive operator currently has the 'eval' flag set to 0 in
src/main/names.c. This means that the result of subsetting, whether
R-native or implemented by a method, will never be invisible().
This is a very reasonable default: if the user goes as far as to
tory, I was able to
reproduce this crash by running
R -d gdb
# make sure that the package version under check will be loaded
.libPaths(c("quantreg.Rcheck", .libPaths()))
library(quantreg)
example(plot.rqss)
The crash happens in the Fortran code:
Thread 1 "R" received signal SIG
This is what
compareVersion() is for
On 17/10/2024 13:22, Dirk Eddelbuettel wrote:
On 17 October 2024 at 12:38, Tim Taylor wrote:
| Would R-Core be receptive to having getNamespaceVersion() return a
| numeric_version object instead of a named character?
Is this good enough? What's
Hello,
This is what "Writing R extensions" currently says about R_atof and
R_strtod:
>> Function: void R_atof (const char* str)
>> Function: void R_strtod (const char* str, char ** end)
>>
>> Implementations of the C99/POSIX functions atof and strtod whi
eeds to load Rcpp modules, which uses load
actions and reference classes. Since methods:::.findInheritedMethods
temporarily disables primitive S4 dispatch [2], reference classes break
and the namespace fails to load. I have prepared a small reproduction
package [3], which will need to be install
В Sun, 15 Sep 2024 00:43:31 +
"Therneau, Terry M., Ph.D. via R-devel" пишет:
> 2. Before calling model.frame(), insert my copy of strata into the
> calling chain coxenv <- new.env(parent= environment(formula))
> assign("strata", survival::strata,
wanted the data to be accessible, they could have set
keep.data = TRUE. I can't tell whether evaluating object$call$data in
environment(object$formula) is a better or worse idea than
parent.frame().
--
Best regards,
Ivan
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
27;; NextMethod() }
foo(x) # doesn't work
# $foo
# [1] "default"
#
# $baz
# [1] "baz"
#
# $...
# list()
foo(x, 1) # does work
# $foo
# [1] "override"
#
# $baz
# [1] "baz"
#
# $...
# list()
Evaluating object$call$data in the environment of the sugges
Hello @r-devel,
From what I read in the following thread:
https://stat.ethz.ch/pipermail/r-package-devel/2023q4/010197.html
The major reason to limit paths lengths in R packages is to help
support MS Windows 260-chars paths lengths limit (pre-W10).
However, the official
t test version also prints a warning when removing the extraneous
�survival::� modifier, which I will retain for at least a little while although
I personally detest receiving such messages.
Terry T.
[[alternative HTML version deleted]]
______
R-
curl/issues/14315 suggests a libcurl option
> and a curl command line option.
>
> Does download.file(method = 'curl', extra = '--ssl-no-revoke') work for you?
Yes! Adding that option does indeed work and generates no warnings.
> Since R-4.2.2, R understands the
OCATION_CHECK (0x80092012) - The revocation
> function was unable to check revocation for the certificate.
This extra error code is useful, thank you for trying the "curl"
method. https://github.com/curl/curl/issues/14315 suggests a libcurl
option and a curl c
he system here may not fake the revocation infrastructure too, but I
don't see that this is going to change, and it's only the winet method which
actually allows anything to connect.
Simon.
-Original Message-
From: Ivan Krylov
Sent: 12 September 2024 15:28
To: Simon Andre
1 - 100 of 1096 matches
Mail list logo