<html><body><div style="font-family: trebuchet ms,sans-serif; font-size: 12pt; color: #000000"><div>Hi,</div><div><br></div><div>are you running the code on a 32 bit machine or 64? What OS are you on? When you monitor memory usage, does it exceed machine capacity (in my experience with Windows, system should slowly grinding to a halt)? Are there any error messages you receive?</div><div><br></div><div>As for the parallel PCA. Current implementation of `spca` uses `ade4::dudi.pca` and I don't see it mentioned in the docs that it supports parallel execution. In any case, I'm not sure parallel execution would solve the memory problem, unless it's done in parallel sequentially (piece by piece). Perhaps someone else can chip in on this?</div><div><br></div><div>Cheers,</div><div>Roman</div><div><br></div><div><span name="x"></span>----<br>In god we trust, all others bring data.<span name="x"></span><br></div><div><br></div><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Maybellene Gamboa" <maypgamboa@gmail.com><br><b>To: </b>"Roman Luštrik" <roman.lustrik@biolitika.si><br><b>Sent: </b>Friday, March 18, 2016 12:53:38 AM<br><b>Subject: </b>Re: [adegenet-forum] sPCA - memory exceeded, can run in parallel?<br><div><br></div><div dir="ltr">Hi Roman,<div><br>Thank you for your response. The actually Mac has 16GB of memory. I am using the most updated version of R. The memory in R itself is exceeded. How might I go about running the command in parallel? </div><div><br></div><div>Thanks again!</div><div><br></div><div>Best,</div><div><br></div><div>Maybellene</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 17, 2016 at 5:41 AM, Roman Luštrik <span dir="ltr"><<a href="mailto:roman.lustrik@biolitika.si" target="_blank" data-mce-href="mailto:roman.lustrik@biolitika.si">roman.lustrik@biolitika.si</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex" data-mce-style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;"><div><div style="font-family:trebuchet ms,sans-serif;font-size:12pt;color:#000000" data-mce-style="font-family: trebuchet ms,sans-serif; font-size: 12pt; color: #000000;"><div>Hi,</div><div><br></div><div>how much RAM does your machine have? Sometimes it's easier to just run the analysis on a more powerful machine. If you're already tipping the edge, parallelization would be a viable step.</div><div><br></div><div>Cheers,</div><div>Roman</div><div><br></div><div><span></span>----<br>In god we trust, all others bring data.<span></span><br></div><div><br></div><hr><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt" data-mce-style="color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Maybellene Gamboa" <<a href="mailto:maypgamboa@gmail.com" target="_blank" data-mce-href="mailto:maypgamboa@gmail.com">maypgamboa@gmail.com</a>><br><b>To: </b><a href="mailto:adegenet-forum@lists.r-forge.r-project.org" target="_blank" data-mce-href="mailto:adegenet-forum@lists.r-forge.r-project.org">adegenet-forum@lists.r-forge.r-project.org</a><br><b>Sent: </b>Tuesday, January 26, 2016 8:59:20 PM<br><b>Subject: </b>[adegenet-forum] sPCA - memory exceeded, can run in parallel?<div><div class="h5"><br><div><br></div><div dir="ltr">Hi,<div><br></div><div>I am performing sPCA with 228 individuals and 9,273 SNPs. Every time I try to run it, the memory is exceeded in R. Can this command be run in parallel? Does it work for very large datasets? Any help would be greatly appreciated!</div><div><br></div><div>Best,</div><div><br></div><div>Maybellene Gamboa<br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div>Maybellene P. Gamboa<div>PhD Student, Department of Biology</div><div>Graduate Degree Program in Ecology</div><div>Colorado State University <br></div></div><div>Office: Anatomy/Zoology E339</div><div>Phone: <a href="tel:%28562%29%20676-6960" target="_blank" data-mce-href="tel:%28562%29%20676-6960">(562) 676-6960</a></div><div>E-mail: <a href="mailto:mgamboa@rams.colostate.edu" target="_blank" data-mce-href="mailto:mgamboa@rams.colostate.edu">mgamboa@rams.colostate.edu</a></div><div>Alt. e-mail: <a href="mailto:maypgamboa@gmail.com" target="_blank" data-mce-href="mailto:maypgamboa@gmail.com">maypgamboa@gmail.com</a></div></div></div></div></div><br></div></div>_______________________________________________<br>adegenet-forum mailing list<br><a href="mailto:adegenet-forum@lists.r-forge.r-project.org" target="_blank" data-mce-href="mailto:adegenet-forum@lists.r-forge.r-project.org">adegenet-forum@lists.r-forge.r-project.org</a><br><a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/adegenet-forum" target="_blank" data-mce-href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/adegenet-forum">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/adegenet-forum</a></div><div><br></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Maybellene P. Gamboa<div>PhD Student, Department of Biology</div><div>Graduate Degree Program in Ecology</div><div>Colorado State University <br></div></div><div>Office: Anatomy/Zoology E339</div><div>Phone: (562) 676-6960</div><div>E-mail: <a href="mailto:mgamboa@rams.colostate.edu" target="_blank" data-mce-href="mailto:mgamboa@rams.colostate.edu">mgamboa@rams.colostate.edu</a></div><div>Alt. e-mail: <a href="mailto:maypgamboa@gmail.com" target="_blank" data-mce-href="mailto:maypgamboa@gmail.com">maypgamboa@gmail.com</a></div></div></div></div></div><div><br></div></div></body></html>