Code Monkey home page Code Monkey logo

Comments (2)

Syksy avatar Syksy commented on July 30, 2024

@jhcreed yeah I get similar problems when installing on R 3.6, if I have already called anything from 'oligo'-package (e.g. read.celfiles); however, I opened up simultaneously an another R session where I was able to install the package and then continue:

> CELs <- oligo::read.celfiles(affy::list.celfiles())
Loading required package: pd.huex.1.0.st.v2
Attempting to obtain 'pd.huex.1.0.st.v2' from BioConductor website.
Checking to see if your internet connection works...
Warning: unable to access index for repository https://bioconductor.org/packages/3.10/bioc/src/contrib:
  cannot open destfile 'C:\Users\teemu\AppData\Local\Temp\RtmpYjdG8e\file396c362b6579', reason 'No such file or directory'
Warning: unable to access index for repository https://bioconductor.org/packages/3.10/data/annotation/src/contrib:
  cannot open destfile 'C:\Users\teemu\AppData\Local\Temp\RtmpYjdG8e\file396c10c97694', reason 'No such file or directory'
Warning: unable to access index for repository https://bioconductor.org/packages/3.10/data/experiment/src/contrib:
  cannot open destfile 'C:\Users\teemu\AppData\Local\Temp\RtmpYjdG8e\file396c1015170b', reason 'No such file or directory'
Warning: unable to access index for repository https://bioconductor.org/packages/3.10/workflows/src/contrib:
  cannot open destfile 'C:\Users\teemu\AppData\Local\Temp\RtmpYjdG8e\file396c520a2235', reason 'No such file or directory'
Warning: unable to access index for repository https://cran.rstudio.com/src/contrib:
  cannot open destfile 'C:\Users\teemu\AppData\Local\Temp\RtmpYjdG8e\file396c7c93361f', reason 'No such file or directory'
Package 'pd.huex.1.0.st.v2' was not found in the BioConductor repository.
The 'pdInfoBuilder' package can often be used in situations like this.
Error in oligo::read.celfiles(affy::list.celfiles()) : 
  The annotation package, pd.huex.1.0.st.v2, could not be loaded.
> library(pd.huex.1.0.st.v2)
Error in library(pd.huex.1.0.st.v2) : 
  there is no package called ‘pd.huex.1.0.st.v2’
> if (!requireNamespace("BiocManager", quietly = TRUE))
+     install.packages("BiocManager")
> 
> BiocManager::install("pd.huex.1.0.st.v2")
Error in gzfile(file, mode) : cannot open the connection
In addition: Warning message:
In gzfile(file, mode) :
  cannot open compressed file 'C:\Users\teemu\AppData\Local\Temp\RtmpYjdG8e/libloc_193_c5921c9.rds', probable reason 'No such file or directory'
# At this point I started a new R session and installed "pd.huex.1.0.st.v2" separate with BiocManager
> library("pd.huex.1.0.st.v2")
Loading required package: Biostrings
Loading required package: BiocGenerics
Loading required package: parallel

Attaching package: ‘BiocGenerics’

The following objects are masked from ‘package:parallel’:

    clusterApply, clusterApplyLB, clusterCall, clusterEvalQ, clusterExport, clusterMap, parApply, parCapply, parLapply, parLapplyLB, parRapply, parSapply, parSapplyLB

The following objects are masked from ‘package:stats’:

    IQR, mad, sd, var, xtabs

The following objects are masked from ‘package:base’:

    anyDuplicated, append, as.data.frame, basename, cbind, colnames, dirname, do.call, duplicated, eval, evalq, Filter, Find, get, grep, grepl, intersect, is.unsorted, lapply, Map,
    mapply, match, mget, order, paste, pmax, pmax.int, pmin, pmin.int, Position, rank, rbind, Reduce, rownames, sapply, setdiff, sort, table, tapply, union, unique, unsplit, which,
    which.max, which.min

Loading required package: S4Vectors
Loading required package: stats4

Attaching package: ‘S4Vectors’

The following object is masked from ‘package:base’:

    expand.grid

Loading required package: IRanges

Attaching package: ‘IRanges’

The following object is masked from ‘package:grDevices’:

    windows

Loading required package: XVector

Attaching package: ‘Biostrings’

The following object is masked from ‘package:base’:

    strsplit

Loading required package: RSQLite
Loading required package: oligoClasses
Welcome to oligoClasses version 1.48.0
Loading required package: oligo
Loading required package: Biobase
Welcome to Bioconductor

    Vignettes contain introductory material; view with 'browseVignettes()'. To cite Bioconductor, see 'citation("Biobase")', and for packages 'citation("pkgname")'.

==============================================================================================================================================================================================================
Welcome to oligo version 1.50.0
==============================================================================================================================================================================================================
Loading required package: DBI
Warning messages:
1: package ‘S4Vectors’ was built under R version 3.6.2 
2: package ‘IRanges’ was built under R version 3.6.2 
3: package ‘RSQLite’ was built under R version 3.6.3 
4: package ‘DBI’ was built under R version 3.6.3

The fact there's a welcome message to oligo-package makes me think the annotation package conflicts with it somehow. I think the main issue might be the oligo::read.celfiles, since pd.huex.1.0.st.v2 states oligo as a dependency. We probably need to think carefully what's a good approach to loading such packages and in what order; some of them are rather large, so it's probably not good to import them as whole.

from curatedpcadata.

Syksy avatar Syksy commented on July 30, 2024

@jhcreed since there's now your neat generalized cBioPortal-interface we won't be doing the GEO raw data processing for Taylor et al, so this is now an irrelevant issue. Closing the issue for now, but we can return to this if we decide to return to the GEO raw data processing for the dataset!

from curatedpcadata.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.