Giter VIP home page Giter VIP logo

Comments (6)

DaliangNing avatar DaliangNing commented on August 22, 2024

Sorry to hear that. I searched around. This seems a difficult problem without a final solution yet.
rstudio/rstudio#6692

I do not have Mac, thus, cannot test. If you find any solution, I am willing to revise iCAMP.
If you are using Rstudio, did you try the original R?
If R 4.x does not work anyway, you may have to install an old version of R (>=3.5) to run iCAMP, until R or the 'parallel' package developers find the solution.
If your dataset is not very large, you may use our galaxy pipeline http://ieg3.rccc.ou.edu:8080/. please email me ([email protected]) to set up your account.

from icamp1.

bholt20 avatar bholt20 commented on August 22, 2024

I believe I have found a temporary fix:
cl <- parallel::makeCluster(10, setup_timeout = 0.5)

Then specify nworkers= cl and it seemed to work for me. For others having this issue, try some of the other solutions on the above link if this doesn't work.

Thanks!

from icamp1.

DaliangNing avatar DaliangNing commented on August 22, 2024

Great. I will try to add this to the functions.

from icamp1.

DaliangNing avatar DaliangNing commented on August 22, 2024

The following code has been added to iCAMP (version >= 1.4.3, can be found in /RPckage/AllVersion).

paste0("RC",taxo.metric," i")
Example output files

c1<-try(parallel::makeCluster(nworker,type="PSOCK"))
if(class(c1)[1]=='try-error'){c1 <- parallel::makeCluster(nworker, setup_timeout = 0.5)}
if(class(c1)[1]=='try-error'){c1 <- parallel::makeCluster(nworker, setup_strategy = "sequential")}

from icamp1.

DaliangNing avatar DaliangNing commented on August 22, 2024

@bholt20 please let me know if the new version (1.4.3) can solve your problem. I will close this issue if no more question : )

from icamp1.

bholt20 avatar bholt20 commented on August 22, 2024

Yes, this fixed it. Thanks!

from icamp1.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.