Results 1 to 2 of 2

Thread: R Trace/breakpoint trap error

  1. #1
    Join Date
    Nov 2006
    Location
    New Zealand
    Beans
    422

    R Trace/breakpoint trap error

    I was using R today in the terminal, and had just had it open for a few minutes when it exited without warning, going back to the usual Ubuntu terminal prompt. All it displayed as an error was:

    Code:
    Trace/breakpoint trap
    Now whenever I try to use R in the terminal in either Gnome or XFCE4, the terminal prints all the R login messages (right down to 'Type 'q()' to quit R.'), then instantly prings "Trace/breakpoint trap" below that and exits R.

    I can run R in a terminal screen (Cntrl-Alt-F2), but obviously cannot produce plots here without having a window manager.

    Does anyone have any idea what could be happening here?

    Edit:
    Rkward will not run either - the Rkward window opens then suddenly closes again, with Trace/breakpoint trap showing in the terminal from which I was starting Rkward.
    Last edited by samden; February 8th, 2007 at 03:45 PM.

  2. #2
    Join Date
    Oct 2005
    Location
    Wyoming, USA
    Beans
    488
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: R Trace/breakpoint trap error

    http://en.wikipedia.org/wiki/SIGTRAP

    Have you installed all recommended packages?
    Code:
    sudo aptitude install r-recommended
    Have you tried reinstalling R? Judging from the number of google hits for the error message, it is a very common problem, and certainly not specific to R. Maybe a required library or package is not being loaded successfully. Try a reinstall of R and see if the problem goes away.
    This looks nothing like my signature...
    My Page

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •