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 6919243
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:57:54+00:00 2026-05-27T09:57:54+00:00

I am new debugging in R using traceback() and option(error=recover) and debug(function) to try

  • 0

I am new debugging in R using traceback() and option(error=recover) and debug(function) to try to find the reason of an error I have in an R package.

I am debugging a function with a big loop and I want to ‘step out’ of the loop into the next block. How can I do that? I know that you can put breakpoints, but I don’t know where the loop is nor which is the next step. I am in an only text environment so the graphical help of the debug package probably does not help.

To sum up, how to step out of a loop when debugging, and how to step into a function for debug when you are already debugging?

Probably this has been already answered and I have missed it. I have seen several SO R debug question but none answering this part that I am aware.

  • 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-27T09:57:55+00:00Added an answer on May 27, 2026 at 9:57 am

    I’m fairly sure R’s help system works even if you’re not using a GUI. Try typing ?debug and see what happens. You ought to be informed that typing c or cont will

    continue to the end of the current context: e.g. to the end of the loop if within a loop or to the end of the function.

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

Sidebar

Related Questions

I'm having a miserable time debugging one small function on my new project. Essentially
New AS3/Flash Builder user here. I'm debugging an AS3 project using Flash Builder 4.5,
Behold the code: using (var client = new WebClient()) { try { var bytesReceived
Have anybody tried debugging celeryd worker using pdb? Whenever a breakpoint is encountered (either
What kind of debugging tools you've been using to debug working binaries? Is there
I'm using chrome for a new website, and I'm doing some javascript debugging. One
I have made a new windows service which works fine using barebone code (just
Greetings all i have a j2ee app using spring framework and while debugging on
I'm new to using logcat and debugging in Android. I've analyzing someone else's code
I am new to SSMTP and Ubuntu, but I have successfully sent emails using

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.