Version package in release
1
0
Entering edit mode
Pierre-Yves ▴ 120
@pierre-yves-2963
Last seen 10.2 years ago
Dear list, At the moment to know the latest version of a package in the release branch I am parsing the html of the page (http://bioconductor.org/packages/release/bioc/html/<name>.html). I was wondering if there would be a easier way available to access this information. Would anyone has an idea about this ? Thanks in advance, Best regards, Pierre
• 942 views
ADD COMMENT
0
Entering edit mode
@martin-morgan-1513
Last seen 4 months ago
United States
On 03/22/2010 01:53 PM, Pierre-Yves wrote: > Dear list, > > At the moment to know the latest version of a package in the release > branch I am parsing the html of the page > (http://bioconductor.org/packages/release/bioc/html/<name>.html). I was > wondering if there would be a easier way available to access this > information. > > Would anyone has an idea about this ? Hi Pierre -- source('http://bioconductor.org/biocLite') ap = available.packages(contrib.url(biocinstallRepos())) ap['Biobase',] or if the package is installed packageDescription('Biobase')$Version See also ?new.packages Martin > > Thanks in advance, > > Best regards, > > Pierre > > _______________________________________________ > Bioconductor mailing list > Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor -- Martin Morgan 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 COMMENT
0
Entering edit mode
On Mon, 2010-03-22 at 14:01 -0700, Martin Morgan wrote: > On 03/22/2010 01:53 PM, Pierre-Yves wrote: > > Dear list, > > > > At the moment to know the latest version of a package in the release > > branch I am parsing the html of the page > > (http://bioconductor.org/packages/release/bioc/html/<name>.html). I was > > wondering if there would be a easier way available to access this > > information. > > > > Would anyone has an idea about this ? > > Hi Pierre -- > > source('http://bioconductor.org/biocLite') > ap = available.packages(contrib.url(biocinstallRepos())) > ap['Biobase',] > > or if the package is installed > > packageDescription('Biobase')$Version > > See also ?new.packages Nice indeed but I was more thinking of a solution outside of R itself (maybe something in the infrastructure of bioconductor). Any clue ? Thanks, Pierre
ADD REPLY
0
Entering edit mode
On 03/22/2010 02:06 PM, Pierre-Yves wrote: > On Mon, 2010-03-22 at 14:01 -0700, Martin Morgan wrote: >> On 03/22/2010 01:53 PM, Pierre-Yves wrote: >>> Dear list, >>> >>> At the moment to know the latest version of a package in the release >>> branch I am parsing the html of the page >>> (http://bioconductor.org/packages/release/bioc/html/<name>.html). I was >>> wondering if there would be a easier way available to access this >>> information. >>> >>> Would anyone has an idea about this ? >> >> Hi Pierre -- >> >> source('http://bioconductor.org/biocLite') >> ap = available.packages(contrib.url(biocinstallRepos())) >> ap['Biobase',] >> >> or if the package is installed >> >> packageDescription('Biobase')$Version >> >> See also ?new.packages > Nice indeed but I was more thinking of a solution outside of R itself > (maybe something in the infrastructure of bioconductor). didn't know there was an 'outside' out there. There's http://www.bioconductor.org/packages/2.6/bioc/src/contrib/PACKAGES and friends (different release number, mac or windows binaries). Martin > > Any clue ? > > Thanks, > Pierre > > _______________________________________________ > Bioconductor mailing list > Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor -- Martin Morgan 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 Mon, 2010-03-22 at 14:25 -0700, Martin Morgan wrote: > There's > > http://www.bioconductor.org/packages/2.6/bioc/src/contrib/PACKAGES > > and friends (different release number, mac or windows binaries). > That looks like just what I needed :) Thanks a lot, Pierre
ADD REPLY
0
Entering edit mode
On Mon, Mar 22, 2010 at 5:06 PM, Pierre-Yves <pingou at="" pingoured.fr=""> wrote: > On Mon, 2010-03-22 at 14:01 -0700, Martin Morgan wrote: >> On 03/22/2010 01:53 PM, Pierre-Yves wrote: >> > Dear list, >> > >> > At the moment to know the latest version of a package in the release >> > branch I am parsing the html of the page >> > (http://bioconductor.org/packages/release/bioc/html/<name>.html). I was >> > wondering if there would be a easier way available to access this >> > information. >> > >> > Would anyone has an idea about this ? >> >> Hi Pierre -- >> >> source('http://bioconductor.org/biocLite') >> ap = available.packages(contrib.url(biocinstallRepos())) >> ap['Biobase',] >> >> or if the package is installed >> >> packageDescription('Biobase')$Version >> >> See also ?new.packages > Nice indeed but I was more thinking of a solution outside of R itself > (maybe something in the infrastructure of bioconductor). > > Any clue ? Hi, Pierre. You can write a script using R and then call that from somewhere else. Also, if you need a "text file", you can run the little R script that Martin just gave as a cron job to generate the "text file" that you can read using another tool. What are you trying to accomplish in the end? Sean
ADD REPLY
0
Entering edit mode
On Mon, 2010-03-22 at 17:10 -0400, Sean Davis wrote: > What are you trying to accomplish in the end? It is for the tool R2spec for which I am implementing the feature to build the spec file from the name of the package, for this I need to find in which repository the package belong and download the sources accordingly. I was therefore thinking if there was an easy way for me to check if a package is in the release branch of the bioconductor repo and which version it has. Since the tool is python based I would have liked to keep it as "pythonish" as possible. Thanks for the ideas anyway, Pierre
ADD REPLY

Login before adding your answer.

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