September 7, 2021 4:06 PM
To: John Tully
Cc: r-help@R-project.org ; McCutcheon, Robert
Subject: Re: [R] 'Double to logical' error
Thanks. If you can still reproduce the problem, what did
rlang::last_trace()
report?
-Bill
On Tue, Sep 7, 2021 at 3:37 AM John Tully
mailto:john.tu...@not
ct: Re: [R] 'Double to logical' error
And what is in the string that triggers the issue?
On 07/09/2021 9:23 a.m., John Tully wrote:
> Thank you Duncan
>
> we now resolved this
>
> However I have run into another problem with the section of script
> below- I am getting in
___
From: Duncan Murdoch
Sent: Monday, September 6, 2021 5:49 PM
To: John Tully ; r-help@R-project.org
Cc: McCutcheon, Robert
Subject: Re: [R] 'Double to logical' error
You get this error from this kind of operation on tibbles:
library(tibble)
t1 <- tibble(x = c(TRUE, FALSE))
t2 <- tibble
---
> *From:* Bill Dunlap
> *Sent:* Monday, September 6, 2021 5:36 PM
> *To:* John Tully
> *Cc:* r-help@R-project.org ; McCutcheon, Robert <
> robert.mccutch...@kcl.ac.uk>
> *Subject:* Re: [R] 'Double to logical' error
>
> > Run `rlang::last_error()` t
raph_results$k[j]=as.integer(results_list[[indiv_meta]]$k)-num_dups
j=j+1
}
*From:* Duncan Murdoch
*Sent:* Monday, September 6, 2021 5:49 PM
*To:* John Tully ; r-help@R-project.org
*Cc:* McCutcheon, Robert
*Subject:*
()` to see the full context.
From: Bill Dunlap
Sent: Monday, September 6, 2021 5:36 PM
To: John Tully
Cc: r-help@R-project.org ; McCutcheon, Robert
Subject: Re: [R] 'Double to logical' error
> Run `rlang::last_error()` to see where the error occurred
W
You get this error from this kind of operation on tibbles:
library(tibble)
t1 <- tibble(x = c(TRUE, FALSE))
t2 <- tibble(x = c(1.2, 1.3))
t1[1,] <- t2[1,]
#> Error: Assigned data `t2[1, ]` must be compatible with existing data.
#> ℹ Error occurred for column `x`.
#> x Can't convert from to due
> Run `rlang::last_error()` to see where the error occurred
What did rlang::last_error() show?
-Bill
On Mon, Sep 6, 2021 at 9:19 AM John Tully
wrote:
> Dear colleagues
> >
> > in conducting a meta-analysis (of MRI data) I am running into the
> repeated issue:
> >
> > Error: Assigned data
On 06/09/2021 10:16 a.m., John Tully wrote:
Dear colleagues
in conducting a meta-analysis (of MRI data) I am running into the repeated
issue:
Error: Assigned data `single_study_df` must be compatible with existing data. ℹ Error
occurred for column `accumbens_sd`. x Can't convert from to
Dear colleagues
>
> in conducting a meta-analysis (of MRI data) I am running into the repeated
> issue:
>
> Error: Assigned data `single_study_df` must be compatible with existing data.
> ℹ Error occurred for column `accumbens_sd`. x Can't convert from to
> due to loss of precision. *
10 matches
Mail list logo