search for: biocmanager

Displaying 12 results from an estimated 12 matches for "biocmanager".

2020 Oct 11
3
Installing bioconduction packages in connection with loading an R package
...lready_installed)){ packageStartupMessage("Need to install the following package(s): ", toString(toinstall[!already_installed]), "\n") } ## install if needed if(!base::all(already_installed)){ if (!requireNamespace("BiocManager", quietly=TRUE)) install.packages("BiocManager") BiocManager::install(toinstall[!already_installed], dependencies=TRUE) } } [[alternative HTML version deleted]]
2019 Nov 09
2
improving the performance of install.packages
...1/2019 6:17 p.m., Henrik Bengtsson wrote: > I believe introducing a backward compatible force=TRUE is a good > start, even if we're not ready for making force=FALSE the default at > this point. It would help simplify quite-common instructions like > > if (requireNamespace("BiocManager")) > install.packages("BiocManager") > BiocManager::install(...) > > to > > install.packages("BiocManager", force=FALSE) > BiocManager::install(...) If simplifying instructions is the goal, it would be even simpler to just install it unconditiona...
2019 Nov 09
0
improving the performance of install.packages
...Bengtsson wrote: > > I believe introducing a backward compatible force=TRUE is a good > > start, even if we're not ready for making force=FALSE the default at > > this point. It would help simplify quite-common instructions like > > > > if (requireNamespace("BiocManager")) > > install.packages("BiocManager") > > BiocManager::install(...) > > > > to > > > > install.packages("BiocManager", force=FALSE) > > BiocManager::install(...) > > If simplifying instructions is the goal, it would be eve...
2019 Nov 08
4
improving the performance of install.packages
Hi Gabe, Keeping track of where a package was installed from would be a nice feature. However it wouldn't be as reliable as comparing hashes to decide whether a package needs re-installation or not. H. On 11/8/19 12:37, Gabriel Becker wrote: > Hi Josh, > > There are a few issues I can think of with this. The primary one is that > CRAN(/Bioconductor) is not the only place one
2019 Nov 08
0
improving the performance of install.packages
I believe introducing a backward compatible force=TRUE is a good start, even if we're not ready for making force=FALSE the default at this point. It would help simplify quite-common instructions like: if (requireNamespace("BiocManager")) install.packages("BiocManager") BiocManager::install(...) to install.packages("BiocManager", force=FALSE) BiocManager::install(...) and more so when installing lots of packages conditionally, e.g. if (requireNamespace("foo")) install.packages("foo&qu...
2020 Jun 29
0
A warning in gzcon but not in gzfile
...emp file. If I use ` gzfile` to read the file, it can show the first 1000 lines successfully. However, if I wrap the raw vector as a connection, and use `gzcon` to read from that connection, it shows the first 884 lines along with a warning(see the output). code: > # installed.packages("BiocManager") > # BiocManager::install("GCSConnection", version = "devel") > library(GCSConnection) > ## Download data from cloud > uri <- > "gs://gnomad-public/release/3.0/vcf/genomes/gnomad.genomes.r3.0.sites.chr1.vcf.bgz" > con <- gcs_connection(uri...
2024 Jul 10
1
Issues with Ubuntu 22.04 and Installing the Latest Version of R (R 4.4.1) to Docker Image
...r-base\ && apt-get clean \ && apt-get purge \ && rm -rf /var/lib/apt/lists/* /tmp/* ## Configure parallel options to use max CPUs by default and install BioC RUN /usr/bin/R -e 'options(Ncpus = parallel::detectCores())'\ -e 'install.packages("BiocManager")' \ -e 'BiocManager::install()' Marco From: Gerber, Lauren J <lauren.gerber at helsinki.fi> Date: Wednesday, July 10, 2024 at 9:43?AM To: Dirk Eddelbuettel <edd at debian.org> Cc: Dirk Eddelbuettel <edd at debian.org>, marcoblanchette at icloud.com <marc...
2024 Jul 11
1
Issues with Ubuntu 22.04 and Installing the Latest Version of R (R 4.4.1) to Docker Image
...r-base\ && apt-get clean \ && apt-get purge \ && rm -rf /var/lib/apt/lists/* /tmp/* ## Configure parallel options to use max CPUs by default and install BioC RUN /usr/bin/R -e 'options(Ncpus = parallel::detectCores())'\ -e 'install.packages("BiocManager")' \ -e 'BiocManager::install()' Marco From: Gerber, Lauren J <lauren.gerber at helsinki.fi> Date: Wednesday, July 10, 2024 at 9:43?AM To: Dirk Eddelbuettel <edd at debian.org> Cc: Dirk Eddelbuettel <edd at debian.org>, marcoblanchette at icloud.com <marc...
2024 Jul 11
1
Issues with Ubuntu 22.04 and Installing the Latest Version of R (R 4.4.1) to Docker Image
...r-base\ && apt-get clean \ && apt-get purge \ && rm -rf /var/lib/apt/lists/* /tmp/* ## Configure parallel options to use max CPUs by default and install BioC RUN /usr/bin/R -e 'options(Ncpus = parallel::detectCores())'\ -e 'install.packages("BiocManager")' \ -e 'BiocManager::install()' Marco From: Gerber, Lauren J <lauren.gerber at helsinki.fi> Date: Wednesday, July 10, 2024 at 9:43?AM To: Dirk Eddelbuettel <edd at debian.org> Cc: Dirk Eddelbuettel <edd at debian.org>, marcoblanchette at icloud.com <marc...
2024 Jul 10
1
Issues with Ubuntu 22.04 and Installing the Latest Version of R (R 4.4.1) to Docker Image
Hi Dirk, Thank you so much for looking into this when you got home. I greatly appreciate it. I was actually in the midst of writing to everyone the following message: ?. ?. ?. Hi All, I have some good news. ? My docker image is now up-to-date with R version 4.4.1. I first had to clear a bunch of unused data using docker system prune ?force. Apparently, it cleared over 32.53 gigs of data, and
2024 Jul 08
1
Issues with Ubuntu 22.04 and Installing the Latest Version of R (R 4.4.1) to Docker Image
...r-base\ && apt-get clean \ && apt-get purge \ && rm -rf /var/lib/apt/lists/* /tmp/* ## Configure parallel options to use max CPUs by default and install BioC RUN /usr/bin/R -e 'options(Ncpus = parallel::detectCores())'\ -e 'install.packages("BiocManager")' \ -e 'BiocManager::install()' From: R-SIG-Debian <r-sig-debian-bounces at r-project.org> on behalf of Gerber, Lauren J <lauren.gerber at helsinki.fi> Date: Monday, July 8, 2024 at 6:08?AM To: r-sig-debian at r-project.org <r-sig-debian at r-project.org>...
2024 Jul 08
2
Issues with Ubuntu 22.04 and Installing the Latest Version of R (R 4.4.1) to Docker Image
Hi All, I am building a Docker image that uses Ubuntu 22.04 and am having issues installing the latest version of R (R 4.4.1). The current R version is 4.1.2: :/# apt-cache policy r-base-core r-base-core: Installed: 4.1.2-1ubuntu2 Candidate: 4.1.2-1ubuntu2 Version table: *** 4.1.2-1ubuntu2 500 500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages 100