Just an FYI, *if* all you're doing is rbind():ing those data frames,
then you're better of doing:
df <- do.call(rbind, dfs)
than
df <- Reduce(rbind, dfs)
because the former is faster and more memory efficient:
> dfs <- rep(list(iris), times=100)
> bench::mark(df <- Reduce(rbind, dfs))[,1:7
Thank you for all of your answers. Michaels solution works fine for me.
I had to merge a list of data.frames. Used the solution in this thread here:
https://stackoverflow.com/questions/8091303/simultaneously-merge-multiple-data-frames-in-a-list
Am 12.09.19 um 13:05 schrieb Michael Lawrence via
ve recently found this quite useful, but welcome arguments for/against this
approach.
Cheers,
~Malcolm
> -Original Message-
> From: Bioc-devel On Behalf Of
> bio...@posteo.de
> Sent: Thursday, September 12, 2019 4:07 AM
> To: bioc-devel
> Subject: [Bioc-devel] Dupl
You don’t have to list it in your Namespace so long as it’s in your
description file. This should fix the problem.
On Thu, Sep 12, 2019 at 2:07 AM wrote:
> Dear all,
>
> I am developing a Bioconductor package and have a problem with two
> methods which have the same name. I am using the reduce()
ursday, September 12, 2019 7:05 AM
To: O'CALLAGHAN Alan
Cc: bioc-devel@r-project.org
Subject: Re: [Bioc-devel] Duplicated method names in purrr and GenomicRanges
Third option: use Reduce() from base instead of purr::reduce().
On Thu, Sep 12, 2019 at 2:54 AM O'CALLAGHAN Alan
wrote:
&g
Third option: use Reduce() from base instead of purr::reduce().
On Thu, Sep 12, 2019 at 2:54 AM O'CALLAGHAN Alan
wrote:
>
> Hi,
>
> Two options.
>
> First option: import either purrr::reduce or GenomicRanges::reduce, and
> call the other with [pkg]::reduce.
>
> Second option: remove the import fo
Hi,
Two options.
First option: import either purrr::reduce or GenomicRanges::reduce, and
call the other with [pkg]::reduce.
Second option: remove the import for both of these. Use purrr::reduce
and GenomicRanges::reduce to call both functions.
I think the second option leads to clearer code and
Dear all,
I am developing a Bioconductor package and have a problem with two
methods which have the same name. I am using the reduce() function from
the R packages GenomicRanges and purrr. All methods from other packages
are imported with @importFrom in all of my functions.
During devtools: