search for: mcapply

Displaying 9 results from an estimated 9 matches for "mcapply".

Did you mean: mapply
2013 Nov 05
1
How can I use muliple cores of CPU in Windows or OS X?
Dear all, I have about 50 pages of R codes and ran it in both OS X and Windows. It takes at least haft a day to have the results. The running time is not very different in both Systems. I found that R does not use all cores of CPU by default. Can anybody help me to use all cores of CPU in my programming from the beginning or through programming in both OS X and Windows? Many thanks your
2012 Dec 03
2
Using multicores in R
Hi, I have an R script which is time consuming because it has two nested loops in it of at least 5000 iterations each, I have tried to use the multicore package but id doesn't seem to improve the elapsed time of the script(a shorter script for example) and I can't use the mcapply because of technical reasons. I was wondering how can I make my script use more cores and memory because I am running it on a server and it is a shame that it uses only one core. Thanks! Moriah -- View this message in context: http://r.789695.n4.nabble.com/Using-multicores-in-R-tp4651808.ht...
2012 Dec 03
2
Using multicores in R
Hi, I have an R script which is time consuming because it has two nested loops in it of at least 5000 iterations each, I have tried to use the multicore package but id doesn't seem to improve the elapsed time of the script(a shorter script for example) and I can't use the mcapply because of technical reasons. I was wondering how can I make my script use more cores and memory because I am running it on a server and it is a shame that it uses only one core. Thanks! Moriah -- View this message in context: http://r.789695.n4.nabble.com/Using-multicores-in-R-tp4651808.ht...
2014 Jun 17
2
No es un problema de tm tienes doc.corpus vacío
No es un problema de tm ni de SnowfallC ni de mcapply (por el path utilizas linux, en windows mcapply según el manual no va bien) No defines bien los objetos que pasas. Pasas doc.corpus en lugar de corpus ( o asignas a corpus en lugar de a doc.corpus) . Depura los programas cuando salga un error de objeto, como te pone en el Error que pasas . Te...
2014 Jun 18
2
No es un problema de tm tienes doc.corpus vacío
...error al limpiar el codigo) y sigue el error. > No sé, he probado buscando en webs códigos similares y sigue el > error:( > > > El 17 de junio de 2014, 19:53, Ricardo Alberich <r.alberich en uib.es> > escribió: > > > No es un problema de tm ni de SnowfallC ni de mcapply (por el path > > utilizas linux, en windows mcapply según el manual no va bien) > > > > No defines bien los objetos que pasas. Pasas doc.corpus en lugar de > > corpus ( o asignas a corpus en lugar de a doc.corpus) . > > Depura los programas cuando salga un error de o...
2011 Apr 09
1
For->lapply->parallel apply
...a system with 16 cores). There is mclapply (parralel version of lapply) . If I make run my code run with lapply then I will be able to run it with mclapply also (they have same syntax). If I understand it correct the sequence for doing that is to understand the following: for..loop->lapply->mcapply Can you please help me understand if my for loop can be converted to lapply or not? Regards Alex
2014 Jun 18
3
No es un problema de tm tienes doc.corpus vacío
...ado buscando en webs códigos similares y sigue el > > > error:( > > > > > > > > > El 17 de junio de 2014, 19:53, Ricardo Alberich <r.alberich@uib.es> > > > escribió: > > > > > > > No es un problema de tm ni de SnowfallC ni de mcapply (por el path > > > > utilizas linux, en windows mcapply según el manual no va bien) > > > > > > > > No defines bien los objetos que pasas. Pasas doc.corpus en lugar > > de > > > > corpus ( o asignas a corpus en lugar de a doc.corpus) . > &g...
2011 Oct 30
0
curiosity only: gpu ?
...d-replace these eight functions "seamlessly and transparently"? Benchmarks: I wonder what the typical speedup for these functions are in mainstream systems---say a $300 CPU vs. a $200 GPU. if it is a factor of 20, it is well worth it *for me*. if it is a factor of 5, I may as well use mcapply for most of *my* problems (which can be split nicely across a quad-core CPU). is there still an overhead cost for switching between CPU and GPU calculations? I think modern GPUs have unified memory space, so the data copy problem is hopefully long gone. /iaw ---- Ivo Welch (ivo.welch@gmail.com)...
2012 Mar 10
1
Draw values from multiple data sets as inputs to a Monte-Carlo function; then apply across entire matrix
Hi all, I am trying to implement a Monte-Carlo simulation for each cell in a spatial matrix (using mcd2 package) . I have figured out how to conduct the simulation using data from a single location (where I manually input distribution parameters into the R code), but am having trouble (a) adjusting the code to pull input variables from my various data sets and then (b) applying the entire