phyloseq is a set of classes, wrappers, and tools (in R) to make it easier to import, store, and analyze phylogenetic sequencing data; and to reproducibly share that data and analysis with others. See the phyloseq front page:
I have successfully downloaded other packages using BiocManager (sp. dada2), so I don't think the problem is there.
The error I get when I try to run the previous code is this:
> BiocManager::install('phyloseq')
'getOption("repos")' replaces Bioconductor standard
repositories, see '?repositories' for details
replacement repositories:
CRAN: https://cran.rstudio.com/
Bioconductor version 3.16 (BiocManager 1.30.19), R 4.2.2
(2022-10-31)
Installing package(s) 'phyloseq'
also installing the dependency ‘igraph’
There is a binary version available but the source
version is later:
binary source needs_compilation
igraph 1.3.5 1.4.0 TRUE
Do you want to install from sources the package which needs compilation? (Yes/no/cancel) Yes
installing the source packages ‘igraph’, ‘phyloseq’
trying URL 'https://cran.rstudio.com/src/contrib/igraph_1.4.0.tar.gz'
Content type 'application/x-gzip' length 2911035 bytes (2.8 MB)
==================================================
downloaded 2.8 MB
trying URL 'https://bioconductor.org/packages/3.16/bioc/src/contrib/phyloseq_1.42.0.tar.gz'
Content type 'application/x-gzip' length 5732951 bytes (5.5 MB)
==================================================
downloaded 5.5 MB
Error: 1:34: unexpected symbol
1: local({ r <- getOption("repos") r
^
Execution halted
Warning in install.packages(...) :
installation of package ‘igraph’ had non-zero exit status
Error: 1:34: unexpected symbol
1: local({ r <- getOption("repos") r
^
Execution halted
Warning in install.packages(...) :
installation of package ‘phyloseq’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/g3/8fjwzq2s56d38cn7ncbvq_f80000gn/T/RtmpRRoLnC/downloaded_packages’
Old packages: 'ggplot2', 'lubridate', 'RcppArmadillo', 'readr',
'readxl'
Update all/some/none? [a/s/n]:
a
There are binary versions available but the source
versions are later:
binary source needs_compilation
ggplot2 3.4.0 3.4.1 FALSE
lubridate 1.9.1 1.9.2 TRUE
RcppArmadillo 0.11.4.3.1 0.11.4.4.0 TRUE
readr 2.1.3 2.1.4 TRUE
readxl 1.4.1 1.4.2 TRUE
Do you want to install from sources the packages which need compilation? (Yes/no/cancel) Yes
installing the source packages ‘ggplot2’, ‘lubridate’, ‘RcppArmadillo’, ‘readr’, ‘readxl’
trying URL 'https://cran.rstudio.com/src/contrib/ggplot2_3.4.1.tar.gz'
Content type 'application/x-gzip' length 3150856 bytes (3.0 MB)
==================================================
downloaded 3.0 MB
trying URL 'https://cran.rstudio.com/src/contrib/lubridate_1.9.2.tar.gz'
Content type 'application/x-gzip' length 427200 bytes (417 KB)
==================================================
downloaded 417 KB
trying URL 'https://cran.rstudio.com/src/contrib/RcppArmadillo_0.11.4.4.0.tar.gz'
Content type 'application/x-gzip' length 1369752 bytes (1.3 MB)
==================================================
downloaded 1.3 MB
trying URL 'https://cran.rstudio.com/src/contrib/readr_2.1.4.tar.gz'
Content type 'application/x-gzip' length 298083 bytes (291 KB)
==================================================
downloaded 291 KB
trying URL 'https://cran.rstudio.com/src/contrib/readxl_1.4.2.tar.gz'
Content type 'application/x-gzip' length 2091835 bytes (2.0 MB)
==================================================
downloaded 2.0 MB
Error: 1:34: unexpected symbol
1: local({ r <- getOption("repos") r
^
Execution halted
Warning in install.packages(update[instlib == l, "Package"], l, repos = repos, :
installation of package ‘ggplot2’ had non-zero exit status
Error: 1:34: unexpected symbol
1: local({ r <- getOption("repos") r
^
Execution halted
Warning in install.packages(update[instlib == l, "Package"], l, repos = repos, :
installation of package ‘lubridate’ had non-zero exit status
Error: 1:34: unexpected symbol
1: local({ r <- getOption("repos") r
^
Execution halted
Warning in install.packages(update[instlib == l, "Package"], l, repos = repos, :
installation of package ‘RcppArmadillo’ had non-zero exit status
Error: 1:34: unexpected symbol
1: local({ r <- getOption("repos") r
^
Execution halted
Warning in install.packages(update[instlib == l, "Package"], l, repos = repos, :
installation of package ‘readr’ had non-zero exit status
Error: 1:34: unexpected symbol
1: local({ r <- getOption("repos") r
^
Execution halted
Warning in install.packages(update[instlib == l, "Package"], l, repos = repos, :
installation of package ‘readxl’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/g3/8fjwzq2s56d38cn7ncbvq_f80000gn/T/RtmpRRoLnC/downloaded_packages’
> library(phyloseq)
Error in library(phyloseq) : there is no package called ‘phyloseq’
>
I've tried installing the named packages (ggplot2, lubridate, RcppArmadillo, readr, readxl) prior to installing phyloseq, but I get the same errors.
Hi all, I'm trying to download phyloseq, and hitting some problems. I'm using this code to download it:
I have successfully downloaded other packages using BiocManager (sp. dada2), so I don't think the problem is there.
The error I get when I try to run the previous code is this:
I've tried installing the named packages (ggplot2, lubridate, RcppArmadillo, readr, readxl) prior to installing phyloseq, but I get the same errors.
Also, my
sessionInfo()
is:Any help with this would be greatly appreciated! I'm really at a loss for solutions right now!