Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

6 results for “from:Johannes Rauh”

In base R: argument `list` does not accept lists
Johannes Rauh · Apr 13, 2018 · r-devel

The function `base::rm` has an argument that is named `list`. However, if a list is passed as `list` to `rm` (e.g.: `rm(list = list("x", "y"))`), an error is raised: "invalid first argument". Agreed, the documentation says that...

`basename` and `dirname` change the encoding to "UTF-8"
Johannes Rauh · Jun 29, 2020 · r-devel

Dear R Developers, I noticed that `basename` and `dirname` always return "UTF-8" on Windows (tested with R-4.0.0 and R-3.6.3): > p <- "F??/B?r" > Encoding(p) [1] "latin1" > Encoding(dirname(p)) [1] "UTF-8...

system2 fails with quiet=TRUE, but runs through with quiet=FALSE
Johannes Rauh · Dec 6, 2016 · r-devel

Hi, I have recently tried to check the test coverage using library("covr") and, interestingly, the command > covr::package_coverage() fails, while > covr::package_coverage(quiet = FALSE) runs through without problem. I traced the problem to a call to utils...

S3 weirdness
Johannes Rauh · Jun 25, 2021 · r-devel

Good morning, I would argue that in this specific simple example, R does the less confusing thing from a user's perspective (maybe not from a programmer's or philosopher's perspective): When using a function from a package that...

`basename` and `dirname` change the encoding to "UTF-8"
Johannes Rauh · Jun 30, 2020 · r-devel

Hello, everyone, thank you for your quick and helpful responses and the detailed information. Sorry for not providing a reproducible example for the (potential) bug in `tools::makeLazyLoadDB`. The main point of my mail was the surprising behaviour of `basename...

as.Date without "origin"
Johannes Rauh · Nov 2, 2022 · r-devel

Dear all, I would throw in my vote to have origin = "1970-01-01" as a default in as.Date(). Why? Well, in fact, the "converse" function as.numeric() does have an implicit default: > as.numeric(Sys.Date()) [1] 19298...

Can't find what you're looking for? Try searching with Google .