R loop using PLINK keeps stalling
Hi
I have a loop set up in R which calls in PLINK for part of the loop. It works completely fine on my work laptop (Window 10) but when I try it on my personal laptop ( also windows 10) and will the same versions of PLINK and R - the loop keeps stalling which the errer message saying "child process failing to respond".
Can anyone advise how I can rectify this please? Am I missing some drivers or are some there some limitation setting on my personal latop?
Many thanks Key
• 1,897 views
•
link
0 answers
No answers yet.
Log in to answer this question.
There's not enough information to help you. My guess is that you're running out of memory.
please see comment below
Thanks for that - how would I know if I am running out of memory please? When PLINK runs it states how much RAM is detected (8084MB) and that half of it if left for main workspace. The files created in each loop are overwritten each time so there is no decrease in computer space capacity. I agree it is something to do with my laptop rather than the program - but I am not a computer person so don't know what to look for.... what type of information would you need to advise on this please?
Please provide your R code for forloop.
I am using the magic for loop but i don't think its the code as it is working for my work laptop fine - it just keeps stalling on my personal laptop. The loop is pretty long....
Thanks for fixing the script zx8754 - did a copy and paste quickly between teaching sessions - came back to find it sorted