Thanks for the report, but it is unlikely anyone would be able to help
just based on this code fragment. We need a small and minimal but
complete reproducible example. That example should not use any
contributed packages (a contributed package may be corrupting memory,
which may cause R to cras
Thanks for the link. Somehow the information about how to join the
bugzilla site was not available at bugzilla and buried in the CRAN web
site instructions on reporting bugs (which pointed me at Bugzilla and
not the page you showed me).
The example is pretty minimal. I left the tracing statem
On 5/12/20 5:25 PM, Russell Almond wrote:
>
> Thanks for the link. Somehow the information about how to join the
> bugzilla site was not available at bugzilla and buried in the CRAN web
> site instructions on reporting bugs (which pointed me at Bugzilla and
> not the page you showed me).
>
>
Dear All,
In R 3.6.3 (and earlier), method dispatch used to work for methods stored in
local environments that are attached to the search path. For example:
myfun <- function(y) {
out <- list(y=y)
class(out) <- "myclass"
return(out)
}
print.myclass <- function(x, ...) print(formatC(x$y
> Viechtbauer, Wolfgang (SP)
> on Tue, 12 May 2020 18:05:32 + writes:
> Dear All,
> In R 3.6.3 (and earlier), method dispatch used to work for methods stored
in local environments that are attached to the search path. For example:
> myfun <- function(y) {
> out <
Indeed, that works:
myfun <- function(y) {
out <- list(y=y)
class(out) <- "myclass"
return(out)
}
myenv <- new.env()
myenv$print.myclass <- local(function(x, ...) print(formatC(x$y, format="f",
digits=5)), new.env(myenv))
.S3method("print", "myclass", myenv$print.myclass)
attach(myenv)
Dear Wolfgang,
I think this new behaviour is related to the following R 4.0.0 NEWS item:
> S3 method lookup now by default skips the elements of the search path between
> the global and base environments.
Your environment "myenv" is attached at position 2 of the search() path
and thus now skip
Thanks, Sebastian, for the pointer to the NEWS item. After some further search,
I also found this in the R Blog:
https://developer.r-project.org/Blog/public/2019/08/19/s3-method-lookup/
Best,
Wolfgang
>-Original Message-
>From: R-devel [mailto:r-devel-boun...@r-project.org] On Behalf Of
Hi,
While reading about the new 'recycle0' argument of paste/paste0, I
spotted a mysterious "cd" floating in the air in the man page:
recycle0: ‘logical’ indicating if zero-length character arguments (and
all zero-length or no arguments when ‘collapse’ is not
‘NULL’)
On 12 May 2020 at 19:59, Hervé Pagès wrote:
| While reading about the new 'recycle0' argument of paste/paste0, I
| spotted a mysterious "cd" floating in the air in the man page:
|
|recycle0: ‘logical’ indicating if zero-length character arguments (and
| all zero-length or no ar
A quick heads-up: We intend to have a 4.0.1 release some time early June,
possibly 6/6.
For the R Core Team
Peter D.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd@cb
Thanks, fixed.
Tomas
On 5/13/20 5:14 AM, Dirk Eddelbuettel wrote:
On 12 May 2020 at 19:59, Hervé Pagès wrote:
| While reading about the new 'recycle0' argument of paste/paste0, I
| spotted a mysterious "cd" floating in the air in the man page:
|
|recycle0: ‘logical’ indicating if zero-length
12 matches
Mail list logo