Library loading problem
1
0
Entering edit mode
@prabhakar-ghorpade-6464
Last seen 10.2 years ago
Hi, I have installed affy package in R version 3.0.3 from local zip library. When I tried access affy by library("affy") I am getting following message saying error in affy package at last. How can I resolve it. Similar problem is encountered in accessing other packages installed from local zip library. As in my university direct access to  is not permitted so I need to download them to run them. Thanks. > library("affy") 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 object is masked from ‘package:stats’:     xtabs The following objects are masked from ‘package:base’:     anyDuplicated, append, as.data.frame, as.vector, cbind, colnames,     duplicated, eval, evalq, Filter, Find, get, intersect, is.unsorted,     lapply, Map, mapply, match, mget, order, paste, pmax, pmax.int,     pmin, pmin.int, Position, rank, rbind, Reduce, rep.int, rownames,     sapply, setdiff, sort, table, tapply, union, unique, unlist 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")'. Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :   there is no package called ‘affyio’ In addition: Warning messages: 1: package ‘affy’ was built under R version 3.0.2 2: package ‘BiocGenerics’ was built under R version 3.0.2 3: package ‘Biobase’ was built under R version 3.0.2 Error: package or namespace load failed for ‘affy’ [[alternative HTML version deleted]]
affy affy • 1.3k views
ADD COMMENT
0
Entering edit mode
Dan Tenenbaum ★ 8.2k
@dan-tenenbaum-4256
Last seen 5 months ago
United States
----- Original Message ----- > From: "prabhakar ghorpade" <prabhakar_ghorpade at="" yahoo.co.in=""> > To: bioconductor at r-project.org > Sent: Saturday, March 22, 2014 2:48:29 PM > Subject: [BioC] Library loading problem > > Hi, > I have installed affy package in R version 3.0.3 from local zip > library. When I tried access affy by library("affy") I am getting > following message saying error in affy package at last. How can I > resolve it. Similar problem is encountered in accessing other > packages installed from local zip library. As in my university > direct access to ?is not permitted so I need to download them to run > them. Thanks. > > > > library("affy") > 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 object is masked from ?package:stats?: > > ? ? xtabs > > The following objects are masked from ?package:base?: > > ? ? anyDuplicated, append, as.data.frame, as.vector, cbind, colnames, > ? ? duplicated, eval, evalq, Filter, Find, get, intersect, > ? ? is.unsorted, > ? ? lapply, Map, mapply, match, mget, order, paste, pmax, pmax.int, > ? ? pmin, pmin.int, Position, rank, rbind, Reduce, rep.int, rownames, > ? ? sapply, setdiff, sort, table, tapply, union, unique, unlist > > 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")'. > > Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = > vI[[i]]) : > ? there is no package called ?affyio? This is telling you that you also need to install the 'affyio' package. That might result in another similar error, keep installing the relevant package until the error goes away. If you had direct acess to the internet you could of course install affy and all its dependencies with a single command. Dan > In addition: Warning messages: > 1: package ?affy? was built under R version 3.0.2 > 2: package ?BiocGenerics? was built under R version 3.0.2 > 3: package ?Biobase? was built under R version 3.0.2 > Error: package or namespace load failed for ?affy? > [[alternative HTML version deleted]] > > > _______________________________________________ > Bioconductor mailing list > Bioconductor at r-project.org > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: > http://news.gmane.org/gmane.science.biology.informatics.conductor
ADD COMMENT
0
Entering edit mode
Hello,         Thanks for reply. Isn't it possible to download all relevant packages for running particular package at once. Regards, Prabhakar  Dr. Ghorpade Prabhakar B. PhD Scholar ( Veterinary Biochemistry), IVRI, Izatnagar, Bareilly, U.P., India On Sunday, 23 March 2014 3:41 AM, Dan Tenenbaum <dtenenba@fhcrc.org> wrote: ----- Original Message ----- > From: "prabhakar ghorpade" <prabhakar_ghorpade@yahoo.co.in> > To: bioconductor@r-project.org > Sent: Saturday, March 22, 2014 2:48:29 PM > Subject: [BioC] Library loading problem > > Hi, > I have installed affy package in R version 3.0.3 from local zip > library. When I tried access affy by library("affy") I am getting > following message saying error in affy package at last. How can I > resolve it. Similar problem is encountered in accessing other > packages installed from local zip library. As in my university > direct access to  is not permitted so I need to download them to run > them. Thanks. > > > > library("affy") > 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 object is masked from ‘package:stats’: > >     xtabs > > The following objects are masked from ‘package:base’: > >     anyDuplicated, append, as.data.frame, as.vector, cbind, colnames, >     duplicated, eval, evalq, Filter, Find, get, intersect, >     is.unsorted, >     lapply, Map, mapply, match, mget, order, paste, pmax, pmax.int, >     pmin, pmin.int, Position, rank, rbind, Reduce, rep.int, rownames, >     sapply, setdiff, sort, table, tapply, union, unique, unlist > > 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")'. > > Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = > vI[[i]]) : >   there is no package called ‘affyio’ This is telling you that you also need to install the 'affyio' package. That might result in another similar error, keep installing the relevant package until the error goes away. If you had direct acess to the internet you could of course install affy and all its dependencies with a single command. Dan > In addition: Warning messages: > 1: package ‘affy’ was built under R version 3.0.2 > 2: package ‘BiocGenerics’ was built under R version 3.0.2 > 3: package ‘Biobase’ was built under R version 3.0.2 > Error: package or namespace load failed for ‘affy’ >     [[alternative HTML version deleted]] > > > _______________________________________________ > Bioconductor mailing list > Bioconductor@r-project.org > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: > http://news.gmane.org/gmane.science.biology.informatics.conductor [[alternative HTML version deleted]]
ADD REPLY
0
Entering edit mode
Hi, On Sun, Mar 23, 2014 at 1:11 AM, prabhakar ghorpade <prabhakar_ghorpade at="" yahoo.co.in=""> wrote: > Hello, > Thanks for reply. Isn't it possible to download all relevant packages for running particular package at once. Yes, but it can be a huge pain as you will have to reverse engineer the entire dependency graph for the packages that you want to use. For instance, you got an error that you didn't have the "affyio" package when you tried to load affy (I'm not sure how you got affy to install this way, but let's forget that for now). If you go to the page for the "affy" package: http://bioconductor.org/packages/release/bioc/html/affy.html You'll see that the "affyio" package is listed in the "Imports" section for the package, and therefore required to use affy. Minimally you will need the packages listed in the "Depends" and "Imports". Most often you'll probably want what is in "Suggests" too, but it's not strictly necessary. Once you actually start analyzing data (it looks like you will be using microarrays for now) you will need to download metadata for the microarray you are using (which will not be installed by just installing affy) as well as other things not explicitly listed (probably the GO.db package and other organism-specific annotation packages). You could always bulk-download download all of the packages from the appropriate version of bioconductor that you are using (hopefully it is the latest one), and hope that would ease your pain, but many packages also require functionality from CRAN, which you would miss. -steve -- Steve Lianoglou Computational Biologist Genentech
ADD REPLY

Login before adding your answer.

Traffic: 620 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6