make check with Biobase 2.18.0
1
0
Entering edit mode
Nigel Horne ▴ 40
@nigel-horne-5814
Last seen 9.6 years ago
Folks, I'm new to biobase and have been asked to install it on behalf of a programmer. The checking stage is failing with the following error: ### Name: cache ### Title: Evaluate an expression if its value is not already cached. ### Aliases: cache ### Keywords: manip array ### ** Examples bigCalc <- function() runif(10) cache(myComplicatedObject <- bigCalc()) Error in file.path(dir, paste0(prefix, name, ".RData")) : could not find function "paste0" What is wrong and how do I fix it? This is on CentOS6.3. Sorry if you've seen more than one copy of this, but I don't know that my postings are getting through so I'm now trying with a different e-mail address. Regards, -Nigel -- Nigel Horne (NIH, Bethesda, MD, USA) http://www.ncbi.nlm.nih.gov/ [[alternative HTML version deleted]]
Biobase Biobase • 1.1k views
ADD COMMENT
0
Entering edit mode
Dan Tenenbaum ★ 8.2k
@dan-tenenbaum-4256
Last seen 3.2 years ago
United States
On Fri, Mar 8, 2013 at 11:53 AM, Nigel Horne <nigel_horne at="" hotmail.com=""> wrote: > > > > > > > > > Folks, > > > I'm new to biobase and have been asked to install it on behalf of a > programmer. > > > The checking stage is failing with the following error: > > > ### Name: cache > ### Title: Evaluate an expression if its value is not already cached. > ### Aliases: cache > ### Keywords: manip array > > > ### ** Examples > > > bigCalc <- function() runif(10) > cache(myComplicatedObject <- bigCalc()) > Error in file.path(dir, paste0(prefix, name, ".RData")) : > could not find function "paste0" > > > > > What is wrong and how do I fix it? This is on CentOS6.3. > Sorry if you've seen more than one copy of this, but I don't know that my postings are getting through so I'm now trying with a different e-mail address. > Can you send your sessionInfo()? My guess is your version of R is too old--Biobase 2.18.0 requires R 2.15. Dan > > Regards, > > > -Nigel > > > -- > Nigel Horne (NIH, Bethesda, MD, USA) > http://www.ncbi.nlm.nih.gov/ > [[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
On 03/08/2013 11:57 AM, Dan Tenenbaum wrote: > On Fri, Mar 8, 2013 at 11:53 AM, Nigel Horne <nigel_horne at="" hotmail.com=""> wrote: >> >> >> >> >> >> >> >> >> Folks, >> >> >> I'm new to biobase and have been asked to install it on behalf of a >> programmer. >> >> >> The checking stage is failing with the following error: >> >> >> ### Name: cache >> ### Title: Evaluate an expression if its value is not already cached. >> ### Aliases: cache >> ### Keywords: manip array >> >> >> ### ** Examples >> >> >> bigCalc <- function() runif(10) >> cache(myComplicatedObject <- bigCalc()) >> Error in file.path(dir, paste0(prefix, name, ".RData")) : >> could not find function "paste0" >> >> >> >> >> What is wrong and how do I fix it? This is on CentOS6.3. >> Sorry if you've seen more than one copy of this, but I don't know that my postings are getting through so I'm now trying with a different e-mail address. >> > > Can you send your sessionInfo()? > > My guess is your version of R is too old--Biobase 2.18.0 requires R 2.15. Also the recommended route to installing packages, without worrying about dependencies, is just source("http://bioconductor.org/biocLite.R") biocLite("Biobase") > > Dan > > > >> >> Regards, >> >> >> -Nigel >> >> >> -- >> Nigel Horne (NIH, Bethesda, MD, USA) >> http://www.ncbi.nlm.nih.gov/ >> [[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 > > _______________________________________________ > 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 > -- Computational Biology / Fred Hutchinson Cancer Research Center 1100 Fairview Ave. N. PO Box 19024 Seattle, WA 98109 Location: Arnold Building M1 B861 Phone: (206) 667-2793
ADD REPLY
0
Entering edit mode
Dan, Thanks for getting back to me. > > Can you send your sessionInfo()? > > > > My guess is your version of R is too old--Biobase 2.18.0 requires R 2.15. Ah, OK, this is R2.14. I was wondering if I needed something more recent. Updating here would be a large undertaking so before I start could I get a 'yes you definitely need R2.15'? > Also the recommended route to installing packages, without worrying about > dependencies, is just > > source("http://bioconductor.org/biocLite.R") > biocLite("Biobase") Unfortunately that won't work in our set-up because we run a CM system, so software is pushed out from a central server. Regards, -Nigel -- Nigel Horne (NIH, Bethesda, MD, USA) http://www.ncbi.nlm.nih.gov/ [[alternative HTML version deleted]]
ADD REPLY
0
Entering edit mode
On Fri, Mar 8, 2013 at 12:13 PM, Nigel Horne <nigel_horne at="" hotmail.com=""> wrote: > Dan, > Thanks for getting back to me. >> > Can you send your sessionInfo()? >> > >> > My guess is your version of R is too old--Biobase 2.18.0 requires R 2.15. > Ah, OK, this is R2.14. I was wondering if I needed something more recent. Updating here would be a large undertaking so before I start could I get a 'yes you definitely need R2.15'? > There is a version of Biobase that works with R 2.14. You should probably get that version. This page links to the package pages for that release (which contain version numbers at the bottom): http://www.bioconductor.org/packages/2.10/BiocViews.html#___Software But as Martin says, it's really not recommended to install packages in this way. You want to make sure that all your packages are from the same Bioconductor release so they will work with each other. Mixing and matching packages from different releases is a sure recipe for problems. Dan >> Also the recommended route to installing packages, without worrying about >> dependencies, is just >> >> source("http://bioconductor.org/biocLite.R") >> biocLite("Biobase") > Unfortunately that won't work in our set-up because we run a CM system, so software is pushed out from a central server. > Regards, > -Nigel > > -- > Nigel Horne (NIH, Bethesda, MD, USA) > http://www.ncbi.nlm.nih.gov/ > > [[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 REPLY
0
Entering edit mode
On 03/08/2013 12:23 PM, Dan Tenenbaum wrote: > On Fri, Mar 8, 2013 at 12:13 PM, Nigel Horne <nigel_horne at="" hotmail.com=""> wrote: >> Dan, >> Thanks for getting back to me. >>>> Can you send your sessionInfo()? >>>> >>>> My guess is your version of R is too old--Biobase 2.18.0 requires R 2.15. >> Ah, OK, this is R2.14. I was wondering if I needed something more recent. Updating here would be a large undertaking so before I start could I get a 'yes you definitely need R2.15'? >> > > There is a version of Biobase that works with R 2.14. > You should probably get that version. This page links to the package > pages for that release (which contain version numbers at the bottom): > > http://www.bioconductor.org/packages/2.10/BiocViews.html#___Software > > But as Martin says, it's really not recommended to install packages in > this way. > You want to make sure that all your packages are from the same > Bioconductor release so they will work with each other. Mixing and > matching packages from different releases is a sure recipe for > problems. Piecing things together a bit, an R session source("http://bioconductor.org/biocLite.R") gets enough information, specific to the version of R you're in, to proceed to find the packages that are available to your installation of R, and then to identify the dependencies of the package(s) you're interested in. urls = contrib.url(biocinstallRepos()) avail = available.packages(urls) need = utils:::getDependencies("Biobase", TRUE, avail) (the first argument to getDependencies can be a vector of packages). The packages can be downloaded to a local directory dest = tempdir() download.packages(need, dest, repos=biocinstallRepos()) and then managed as needed. Martin > > Dan > > > > >>> Also the recommended route to installing packages, without worrying about >>> dependencies, is just >>> >>> source("http://bioconductor.org/biocLite.R") >>> biocLite("Biobase") >> Unfortunately that won't work in our set-up because we run a CM system, so software is pushed out from a central server. >> Regards, >> -Nigel >> >> -- >> Nigel Horne (NIH, Bethesda, MD, USA) >> http://www.ncbi.nlm.nih.gov/ >> >> [[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 > > _______________________________________________ > 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 > -- Computational Biology / Fred Hutchinson Cancer Research Center 1100 Fairview Ave. N. PO Box 19024 Seattle, WA 98109 Location: Arnold Building M1 B861 Phone: (206) 667-2793
ADD REPLY
0
Entering edit mode
On Fri, Mar 8, 2013 at 12:46 PM, Martin Morgan <mtmorgan at="" fhcrc.org=""> wrote: > On 03/08/2013 12:23 PM, Dan Tenenbaum wrote: >> >> On Fri, Mar 8, 2013 at 12:13 PM, Nigel Horne <nigel_horne at="" hotmail.com=""> >> wrote: >>> >>> Dan, >>> Thanks for getting back to me. >>>>> >>>>> Can you send your sessionInfo()? >>>>> >>>>> My guess is your version of R is too old--Biobase 2.18.0 requires R >>>>> 2.15. >>> >>> Ah, OK, this is R2.14. I was wondering if I needed something more >>> recent. Updating here would be a large undertaking so before I start could >>> I get a 'yes you definitely need R2.15'? >>> >> >> There is a version of Biobase that works with R 2.14. >> You should probably get that version. This page links to the package >> pages for that release (which contain version numbers at the bottom): >> >> http://www.bioconductor.org/packages/2.10/BiocViews.html#___Software >> >> But as Martin says, it's really not recommended to install packages in >> this way. >> You want to make sure that all your packages are from the same >> Bioconductor release so they will work with each other. Mixing and >> matching packages from different releases is a sure recipe for >> problems. > > > Piecing things together a bit, an R session > > source("http://bioconductor.org/biocLite.R") > > gets enough information, specific to the version of R you're in, to proceed > to find the packages that are available to your installation of R, and then > to identify the dependencies of the package(s) you're interested in. > > urls = contrib.url(biocinstallRepos()) > avail = available.packages(urls) > need = utils:::getDependencies("Biobase", TRUE, avail) > > (the first argument to getDependencies can be a vector of packages). The > packages can be downloaded to a local directory > > dest = tempdir() > download.packages(need, dest, repos=biocinstallRepos()) > > and then managed as needed. > Other options: http://www.bioconductor.org/about/mirrors/mirror-how-to/ describes how to rsync the entire BioC 2.10 repository to your local machine. Also, maybe your institution already has an internal BioC mirror. NCI/NIH has one but I don't know if it is available internally. You could ask the maintainer of that mirror whose contact information is listed here: http://www.bioconductor.org/about/mirrors/ Dan > Martin > > >> >> Dan >> >> >> >> >>>> Also the recommended route to installing packages, without worrying >>>> about >>>> dependencies, is just >>>> >>>> source("http://bioconductor.org/biocLite.R") >>>> biocLite("Biobase") >>> >>> Unfortunately that won't work in our set-up because we run a CM system, >>> so software is pushed out from a central server. >>> Regards, >>> -Nigel >>> >>> -- >>> Nigel Horne (NIH, Bethesda, MD, USA) >>> http://www.ncbi.nlm.nih.gov/ >>> >>> [[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 >> >> >> _______________________________________________ >> 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 >> > > > -- > Computational Biology / Fred Hutchinson Cancer Research Center > 1100 Fairview Ave. N. > PO Box 19024 Seattle, WA 98109 > > Location: Arnold Building M1 B861 > Phone: (206) 667-2793
ADD REPLY
0
Entering edit mode
Martin/Dan, > > But as Martin says, it's really not recommended to install packages in > > this way. > > You want to make sure that all your packages are from the same > > Bioconductor release so they will work with each other. Mixing and > > matching packages from different releases is a sure recipe for > > problems. > > Piecing things together a bit, an R session > > source("http://bioconductor.org/biocLite.R") > > gets enough information, specific to the version of R you're in, to proceed to > find the packages that are available to your installation of R, and then to > identify the dependencies of the package(s) you're interested in. > > urls = contrib.url(biocinstallRepos()) > avail = available.packages(urls) > need = utils:::getDependencies("Biobase", TRUE, avail) > > (the first argument to getDependencies can be a vector of packages). The > packages can be downloaded to a local directory > > dest = tempdir() > download.packages(need, dest, repos=biocinstallRepos()) > > and then managed as needed. I appreciate what you're saying, however that doesn't map into the model that we have where we use a CM system to push things out from a central server: no software is installed directly on the development or production machines, so like it or not I can't go down that route. Regards, -Nigel [[alternative HTML version deleted]]
ADD REPLY
0
Entering edit mode
On Fri, Mar 8, 2013 at 12:53 PM, Nigel Horne <nigel_horne at="" hotmail.com=""> wrote: > Martin/Dan, > >> > But as Martin says, it's really not recommended to install packages in >> > this way. >> > You want to make sure that all your packages are from the same >> > Bioconductor release so they will work with each other. Mixing and >> > matching packages from different releases is a sure recipe for >> > problems. >> >> Piecing things together a bit, an R session >> >> source("http://bioconductor.org/biocLite.R") >> >> gets enough information, specific to the version of R you're in, to proceed to >> find the packages that are available to your installation of R, and then to >> identify the dependencies of the package(s) you're interested in. >> >> urls = contrib.url(biocinstallRepos()) >> avail = available.packages(urls) >> need = utils:::getDependencies("Biobase", TRUE, avail) >> >> (the first argument to getDependencies can be a vector of packages). The >> packages can be downloaded to a local directory >> >> dest = tempdir() >> download.packages(need, dest, repos=biocinstallRepos()) >> >> and then managed as needed. > I appreciate what you're saying, however that doesn't map into the model that we have where we use a CM system to push things out from a central server: no software is installed directly on the development or production machines, so like it or not I can't go down that route. I think what Martin is saying is that the above code could be used to populate your central server which then would push the resulting files out to the machines that will use them. Dan > Regards, > -Nigel > [[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 REPLY
0
Entering edit mode
I've updated to 2.16.0 instead of 2.18.0 and that works. ?I'll make a note to update further later. Thanks for your time and help. -Nigel
ADD REPLY

Login before adding your answer.

Traffic: 783 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