Yelab2020 / Cottrazm

Construct Tumor Transition Zone Microenvironment
31 stars 6 forks source link

Error in file(con, "w") : all connections are in use #9

Open Ryeeeeeeeeee opened 6 months ago

Ryeeeeeeeeee commented 6 months ago

Dear developers,

Thank you very much for your outstanding contributions. However, I got the following error when running STCNV(). How should I solve it? Error in file(con, "w") : all connections are in use many thanks.

xzz-1995 commented 3 months ago

Hi, This error might due to using too many cores. The parameter in the STCNV() function for the number of used cores is 30 by default. I updated the function, and now you can try to reduce the number of cores used by setting the parameter: num_threads = xx (less than 30, 1 if needed).