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

  • Home
  • SEARCH
  • 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 3996724
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T07:18:51+00:00 2026-05-20T07:18:51+00:00

I am a happy user of ESS for coding and debugging R code. I

  • 0

I am a happy user of ESS for coding and debugging R code. I have found a elusive bug recently deeply inside several for loops and ifs structures.

Is there any way of having ESS selectively travel the if/else structures or loop for all the values in a for loop?.

Does R or ESS have debugger mode where you can skip else clauses, loop the values and step into, step through, return etc?

[UPDATE]

Thanks @jubba for the link to the other SO question about debugging tools for R-language. At the end this was my real question. This other thread give the links for the kind of things that I wanted to know about the way of doing debugging in the current R.

  • R-debug-tools.pdf
  • debuggingR
  • and the one for debugging with ESS, ess-tracebug
  • 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-20T07:18:51+00:00Added an answer on May 20, 2026 at 7:18 am

    There has been a more general question about debugging in R on Stackoverflow :

    Debugging tools for the R language

    One answer by Davor Cubranic points to ess-tracebug which is, according to its website, “An emacs package for interactive debugging and error tracing in ESS”. I’ve never used it myself, but it may be useful to you :

    http://code.google.com/p/ess-tracebug/

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

Sidebar

Related Questions

I'm a happy user of Github. Over time I have accrued a number of
I am a long-time, generally very happy user of Prototype. I recently switched to
I'm a happy user of DevExpress components, though currently I'm still on a linux
Happy New Year. I have a bunch of SOAP Web Services. They all have
I am quite happy to code out tables by hand when making a database
I'm very happy of Netbeans 6.5 diff tool, I have to ask some questions
I do all my coding in vim and am quite happy with it (so,
I am a quite happy user of Eclipse (I mostly develop in PHP and
I'm a happy user of PortableGit 1.7.0.2. Today I wanted to pull a project
I am a happy BASH user. I do not want to switch to another

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.