Bioinformatics.org
[NEU MS in Bioinformatics]
Not logged in

Bioinformatics.org
Membership (37268+) Group hosting [?]

Careers
About bioinformatics
Bioinformatics training
Bioinformatics jobs

Research
All information groups
Online databases Online analysis tools Online education tools More tools

Development
All software groups
FTP repository
SVN & CVS repositories [?]
Mailing lists

Forums
News & Commentary
Jobs Forum
(Career Center)

News & Commentary - Message forums

Software: R/parallel
Submitted by Prashanth Suravajhala; posted on Friday, October 03, 2008 (2 comments)
Submitter An article on an R package for parallel computing:

``In this paper we present an R add-on package for parallel computing: R/parallel. To use it, the programmer does not need to change his algorithm nor install and maintain any additional software as the R/parallel package is self-contained and capable of using current multicore processor desktop computers. It easily and effectively enables the automatic parallelization of loops without data dependencies, thus bringing the benefits of parallel computing within the reach of any bioinformatician using R. Its design allows its direct use with current bioinformatics analysis tools such as R/qtl, MetaNetwork or affyGG for analysis of genome-wide gene expression data.''

ARTICLE:
Gonzalo Vera, Ritsert C. Jansen and Remo L. Suppi. 2008. R/parallel -- speeding up bioinformatics analysis with R. BMC Bioinformatics 9:390. [link]

Discussion forums: Software: R/parallel

Expanded view | Monitor forum | Save place

Message
Has anybody been able to get the R/parallel work
Submitted by Penny; posted on Tuesday, February 24, 2009
I tried to run it on both linix station and windows. It seems to run oK. However, the run time is much longer than running on one cpu. Does anybody know what is the problem? My code is roughly like this. Can somebody help me with this? Thanks bgSubtract.dym.p <- function (sL.bg, mL.bg, sL.tg, mL.tg, lRT, rRT, ppm, lowThr, ppmAdj,fac) { sL.bg <- as.matrix(sL.bg) sL.tg <- as.matrix(sL.tg) mL.bg <- as.matrix(mL.bg) mL.tg <- as.matrix(mL.tg) mL.tg2 <- NULL if( "rparallel" %in% names( getLoadedDLLs()) ) { runParallel( resultVar="mL.tg2", resultOp="c", nWorkers=2 ) } else { for (i in 1:nrow(sL.tg)) { ..... for (j in start:end) { ........ } mL.tg2 <- c(mL.tg2, mL.tg[start:end,2]) } } return(mL.tg2) }



Post a followup to this message:
You have to be logged in to post a reply.
Thread view
Has anybody been able to get the R/parallel work
Submitted by Penny; posted on Tuesday, February 24, 2009
I tried to run it on both linix station and windows. It seems to run oK. However, the run time is much longer than running on one cpu. Does anybody know what is the problem? My code is roughly like this. Can somebody help me with this? Thanks bgSubtract.dym.p <- function (sL.bg, mL.bg, sL.tg, mL.tg, lRT, rRT, ppm, lowThr, ppmAdj,fac) { sL.bg <- as.matrix(sL.bg) sL.tg <- as.matrix(sL.tg) mL.bg <- as.matrix(mL.bg) mL.tg <- as.matrix(mL.tg) mL.tg2 <- NULL if( "rparallel" %in% names( getLoadedDLLs()) ) { runParallel( resultVar="mL.tg2", resultOp="c", nWorkers=2 ) } else { for (i in 1:nrow(sL.tg)) { ..... for (j in start:end) { ........ } mL.tg2 <- c(mL.tg2, mL.tg[start:end,2]) } } return(mL.tg2) }
Re: Has anybody been able to get the R/parallel work
Submitted by QILI; posted on Friday, May 14, 2010
Footwear Although casual shoes are acceptable, they are not very functional on a golf course. A golfer should choose a pair of golf shoes that are manufactured with soft spikes on the soles to improve footing on the ground. Today, golfers can choose between classic wingtip of [url=http://www.golfwholesaleseller.com/]wholesale golf clubs[/url] saddle shoes, casual or tennis-style golf shoes, or even golf sandals(ishiner) .

 

Copyright © 2016 · Scilico, LLC