HI I am runnig WGCNA code for calculating co expression adjacency Matrix but I am getting this error I am running this scrip in C directory and it has 60 Gb free space so why it still gives this error
Sorry, another item. I see that the error is real. I simultaneously imagine what will happen if such a mistake of an intelligent robot leads to a catastrophe. For example, in a car without a driver.
It's hard to answer if you don't give a reproducible example, but the error message looks pretty clear here -- the operation you are trying to do is overloading R's memory. Note that the memory available to R is not the same thing as the space available on the C: drive overall; your drive may have 60 GB of long-term memory free, but R has a much smaller amount of RAM available to actually work with. For example, according to memory.size(), my R installation only has about 25 MB available, even though my computer has about a hundred GB of free space.
I would second Marcus's answer, it seems that you are trying to load a very large data into memory. If everything is correct then probably you will have to thing about an way around like data streaming options, often used with large bam files. Otherwise, you can also try Amazon's cloud service, which offer cheap hour based computational resource for large scale computations.