Flash Troubleshooting
http://kb.mozillazine.org/Flash#Troubleshooting
C:\Windows\System32\Macromed\Flash
mms.cfg
ProtectedMode=0
about:config
dom.ipc.plugins.timeoutSecs -> -1
dom.ipc.plugins.enabled.* -> false
Turn off hardware acceleration:
http://kb.mozillazine.org/Flash#Performance_or_display_issues_with_certain_Flash_videos
Wednesday, June 26, 2013
Thursday, June 20, 2013
a mcparallel/mccollect example
An example of mcparallel/mccollect to perform parallel tasks by creating external tasks.
library(parallel)
loop_function <- function (name, duration) {
start_time <- date()
i <- 0
while (i < duration) {
i <- i + 1
}
return (paste("Done: Job: ", name, "from", start_time, " to ", date()))
}
jobs_parallel <- lapply(1:9, function(x) mcparallel(loop_function(x, 3000000), name = x))
mccollect(jobs_parallel)
jobs_serial <- lapply(1:9, function(x) loop_function(x, 3000000))
jobs_serial
credits:
http://www.slideshare.net/bytemining/taking-r-to-the-limit-high-performance-computing-in-r-part-1-parallelization-la-r-users-group-727
http://stat.ethz.ch/R-manual/R-devel/library/parallel/doc/parallel.pdf
library(parallel)
loop_function <- function (name, duration) {
start_time <- date()
i <- 0
while (i < duration) {
i <- i + 1
}
return (paste("Done: Job: ", name, "from", start_time, " to ", date()))
}
jobs_parallel <- lapply(1:9, function(x) mcparallel(loop_function(x, 3000000), name = x))
mccollect(jobs_parallel)
jobs_serial <- lapply(1:9, function(x) loop_function(x, 3000000))
jobs_serial
credits:
http://www.slideshare.net/bytemining/taking-r-to-the-limit-high-performance-computing-in-r-part-1-parallelization-la-r-users-group-727
http://stat.ethz.ch/R-manual/R-devel/library/parallel/doc/parallel.pdf
Thursday, June 13, 2013
Building R packages in Windows
http://www.biostat.wisc.edu/~kbroman/Rintro/Rwinpack.html
After installing Rtools and fixing the PATH, you can use RStudio to build the packages. The built packages can be used in R too:
install.packages("path/to/the/package", type="source")
http://www.biostat.wisc.edu/~kbroman/Rintro/Rwinpack.html
After installing Rtools and fixing the PATH, you can use RStudio to build the packages. The built packages can be used in R too:
install.packages("path/to/the/package", type="source")
Tuesday, June 11, 2013
Creating graphics with R on the grid
http://bioinformaticslaboratory.nl/twiki/bin/view/EBioScience/GraphicsOnGridWithR
http://bioinformaticslaboratory.nl/twiki/bin/view/EBioScience/GraphicsOnGridWithR
Monday, June 10, 2013
10 R packages I wish I knew about earlier
http://blog.yhathq.com/posts/10-R-packages-I-wish-I-knew-about-earlier.html
http://blog.yhathq.com/posts/10-R-packages-I-wish-I-knew-about-earlier.html
Subscribe to:
Posts (Atom)