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.

606 results for “from:Eric Berger”

rWind: Error in if (is.numeric(v) && any(v < 0)) { : missing value where TRUE/FALSE needed
Eric Berger · Jul 11, 2021 · r-help

This error can result from v with NAs. e.g. to reproduce the error message > v <- as.numeric(NA) > if (is.numeric(v) && any(v < 0)) cat("hello world\n") see also https://stackoverflow.com/questions/7355187/error-in-if...

SOLVED: passing reference class method within the class as an argument
Eric Berger · Dec 5, 2019 · r-help

Here is the modified code of the reproducible example I sent previously. Notice the .self$ prefix to funcB which is what has changed foo <- setRefClass("foo", fields=list(x="numeric"), methods=list( initialize=function(a) { x <<- a }, funcA=function(f...

passing reference class method within the class as an argument
Eric Berger · Dec 5, 2019 · r-help

Here is the code of a reproducible example: foo <- setRefClass("foo", fields=list(x="numeric"), methods=list( initialize=function(a) { x <<- a }, funcA=function(f) { f(x)+f(x) }, funcB=function(y) { y^2 }, funcC=function() { u <- funcA(funcB) u...

StructTS hang? TiThe fact
Eric Berger · Jun 30, 2019 · r-help

Nothing came through. Note that this is a plain text list and content that is not plain text may be stripped off (or mangled). On Sat, Jun 29, 2019 at 10:14 PM Don or Charlotte Smith <cdsmith at hotmail...

outer join of xts's
Eric Berger · Jan 2, 2020 · r-help

Hi, I have a list L of about 2,600 xts's. Each xts has a single numeric column. About 90% of the xts's have approximately 500 rows, and the rest have fewer than 500 rows. I create a...

About the multiprecision computing package in R
Eric Berger · Mar 14, 2020 · r-help

CRAN Rmpfr On Sat, Mar 14, 2020 at 7:36 PM ??? <13917987541 at 163.com> wrote: > Dear all > > > I need a multiprecision computing package in R, if anyone in the list > knows, please let me known... > > > Many thanks > > > Weilu Lin...

A glitch (???) in tools::texi2pf.
Eric Berger · Aug 31, 2021 · r-help

Thanks Greg! On Tue, Aug 31, 2021 at 1:49 PM Greg Minshall <minshall at umich.edu> wrote: > by the way, and "fwiw", the emacs org mode community seems to like using > latexmk for moving latex files towards .pdf'ishness...

Max-Diff Package
Eric Berger · Apr 13, 2022 · r-help

I have no experience with this but a Google search came up with CRAN support.BWS See https://cran.r-project.org/web/packages/support.BWS/index.html On Wed, Apr 13, 2022 at 4:37 PM Dr Cazhaow Qazaz...

how to install npsm package
Eric Berger · Sep 1, 2021 · r-help

Instructions can be found at https://github.com/kloke/npsm On Wed, Sep 1, 2021 at 6:27 PM <caghpm at gmail.com> wrote: > I need to install the package "npsm" to follow Kloke & McKean book. > However, > npsm is no...

Translation of the charter
Eric Berger · Nov 1, 2021 · r-help

> R.oo::charToInt(x) # [1] 97 98 99 On Mon, Nov 1, 2021 at 9:48 PM Alice <alice at coakmail.com> wrote: > > Dear members, > > How to translate the charter to the underline inter? > I tried this: > > > x <- c("a...

help on date objects...
Eric Berger · Jul 27, 2024 · r-help

as.Date("2022-01-02", origin="1900-01-01", format="%Y-%d-%m") On Sun, Jul 28, 2024 at 7:24?AM akshay kulkarni <akshay_e4 at hotmail.com> wrote: > Dear members, > WHy is the following code returning NA > instead...

Obtaining the time to execute a R command
Eric Berger · Nov 20, 2019 · r-help

Hi Jeff, You might want to check out the microbenchmark() function in the microbenchmark package. install.packages("microbenchmark") library(microbenchmark) ?microbenchmark HTH, Eric On Wed, Nov 20, 2019 at 5:45 PM Jeff Reichman <reichmanj at sbcglobal.net> wrote: > R...

conditional output of string to file n times...
Eric Berger · Jul 7, 2021 · r-help

much nicer On Wed, Jul 7, 2021 at 10:58 AM Ivan Krylov <krylov.r00t at gmail.com> wrote: > On Tue, 6 Jul 2021 09:27:20 -0400 > Evan Cooch <evan.cooch at gmail.com> wrote: > > > I was wondering if...

How to slice the array?
Eric Berger · Nov 1, 2021 · r-help

x[ x > 2] On Mon, Nov 1, 2021 at 9:49 PM Alice <alice at coakmail.com> wrote: > > How to slice the array with the condition? > For example, in perl I can get the elements greater than 2. > > $ perl -le...

Extracting a particular column from list
Eric Berger · Jan 16, 2020 · r-help

> u <- list(a=1:5, b=letters[1:3]) > u # $a # [1] 1 2 3 4 5 # # $b # [1] "a" "b" "c" > u[["a"]] [1] 1 2 3 4 5 On Thu, Jan 16, 2020 at 1:04 PM Faheem...

OT: R version 1.0.1 is still a success.
Eric Berger · Nov 1, 2018 · r-help

:-) On Thu, Nov 1, 2018 at 9:06 AM Rui Barradas <ruipbarradas at sapo.pt> wrote: > Hello, > > This has nothing to do with R-help and I apologize in advance but this > is really, really strange. > > A SO user is...

is.na()<- on a character vector
Eric Berger · Dec 16, 2022 · r-help

maybe this will make it clear x <- c(a=1, b=5) is.na(x) <- "b" i.e. your second case is dealing with a named vector HTH, Eric On Fri, Dec 16, 2022 at 8:29 PM G?ran...

Error Message Cannot use `+.gg()` with a single argument. Did you accidentally put + on a new line?
Eric Berger · Dec 19, 2020 · r-help

As the error message says, move the '+' sign from the start of the second line to the end of the preceding line. On Sat, Dec 19, 2020 at 10:29 PM Rosato, Kyle <kyle at ehrs.upenn.edu> wrote: > For...

RFM Analysis Help
Eric Berger · Oct 4, 2017 · r-help

I don't see any attached dataset. On Wed, Oct 4, 2017 at 11:11 AM, Hemant Sain <hemantsain55 at gmail.com> wrote: > I'm trying to perform a RFM analysis on attached dataset, > i'm able to get the...

Warning: Error in *: non-numeric argument to binary operator
Eric Berger · Jul 10, 2019 · r-help

Well, for example > "a" + 2 Error in "a" + 2 : non-numeric argument to binary operator On Wed, Jul 10, 2019 at 2:36 PM Tolulope Adeagbo <tolulopeadeagbo at gmail.com> wrote: > Dear All, > > Please what could be the cause of...

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