Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6106105
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:02:39+00:00 2026-05-23T14:02:39+00:00

I am trying to use doSMP for parallel .CAll functions in windows R, but

  • 0

I am trying to use doSMP for parallel .CAll functions in windows R, but got the following errors:

1: In startWorkers(wr) : there is an existing doSMP session using doSMP1
2: In startWorkers(wr) : there is an existing doSMP session using doSMP2
3: In startWorkers(wr) : there is an existing doSMP session using doSMP3
4: In startWorkers(wr) : there is an existing doSMP session using doSMP4
5: In startWorkers(wr) : there is an existing doSMP session using doSMP5
6: In startWorkers(wr) : there is an existing doSMP session using doSMP6
7: In startWorkers(wr) : there is an existing doSMP session using doSMP7
8: In startWorkers(wr) : there is an existing doSMP session using doSMP8 
9: In startWorkers(wr) :
possible leak of worker sessions: consider using FORCE=TRUE

I did the rmSessions(all=TRUE), but R always freeze at the following lines:

attempting to delete qnames: doSMP1, doSMP2, doSMP3,doSMP4,doSMP5,doSMP6,doSMP7,doSMP8

I have restarted R and Windows many times, even tried to remove the package and reinstalled it but still not working.
Is there anyway to remove these sessions?

What I want is to parallel the for loop which calls .Call, is there other packages can do this in windows R?
Thanks a lot for your help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T14:02:39+00:00Added an answer on May 23, 2026 at 2:02 pm

    I’m fairly new at using the doSMP library and have had the same problem as you. I’m sure there are other packages that do parallel processing, though doSMP seems to be fairly simple to use. I have developed the habit of putting the rmSessions(all=T) at the beginning of my code (after loading the doSMP library) just to make sure there are no sessions active and haven’t had the problem of the program crashing. I think the thing you have to remember is to call the stopWorkers function every time your loop has finished otherwise R seems to get angry with you. Hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

trying to use the preferred on method call but the code is not working
I revieving the following error when trying use mysql_real_escape() function Fatal error: Call to
I was trying use a set of filter functions to run the appropriate routine,
I'm trying use mod_rewrite to rewrite URLs from the following: http://www.site.com/one-two-file.php to http://www.site.com/one/two/file.php The
Trying to use a guid as a resource id in a rest url but
Trying to use Net::SFTP, version 2.05 (appears to be the latest). But it fails
I am trying use std::copy to copy from two different iterator. But during course
Trying to use autdoc extension of sphinx but its not working. i kept docs
Trying to use the Formo module with ORM and Kohana 3.1, but keep getting
I'm trying to use doSMP / foreach to parallelize some code in R. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.