Results 1 to 6 of 6

Thread: R console error

  1. #1
    Join Date
    Aug 2008
    Beans
    124
    Distro
    Ubuntu 11.04 Natty Narwhal

    Exclamation R console error

    Hello,

    I recently installed R for my university class. Unfortunately whien I type "R" in the console it starts and exits with the following message:

    Code:
    Error: segfault from C stack overflow
    There were 47 warnings (use warnings() to see them)
    Segmentation fault
    any help is appreciated.

    Cheers
    Life is cruel and then you die.

  2. #2
    Join Date
    Aug 2008
    Beans
    124
    Distro
    Ubuntu 11.04 Natty Narwhal

    Question Re: R console error

    Strangely, when I tried to run the program again today, it only showed 24 errors!?

    I even tried to run it in valgrind and it just exited after the warning, hunh?

    gdb did not recognise /usr/bin as a valid executable.

    I have already tried to remove and reinstall all the package to no avail, seriously nobody has this problem??
    Life is cruel and then you die.

  3. #3
    Join Date
    Aug 2008
    Beans
    124
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: R console error

    Interesting fact: every time I run the program, it segfaults with a different number of warning number?

    Most bizarre...
    Life is cruel and then you die.

  4. #4
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: R console error

    Which front-end are you using for R? rkward is highly recommended.

  5. #5
    Join Date
    Jul 2009
    Location
    Austin, Texas, USA
    Beans
    434

    Re: R console error

    Quote Originally Posted by Lars Noodén View Post
    Which front-end are you using for R? rkward is highly recommended.
    Also widely recommended is RStudio.

  6. #6
    Join Date
    Aug 2008
    Beans
    124
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: R console error

    Thanks for the replies, but I am not using any front end(at this point), I like the console .

    I have solved(?) my problems though(somewhat), I had installed R directly from the software packages. Instead this time, I added a mirror directly from their dedicated servers to the Software Sources list; then I simply reinstalled. Done!!

    This kind of works in the sense that R at least starts, however, it gives me the following messages:

    Code:
    During startup - Warning messages:
    1: Setting LC_CTYPE failed, using "C" 
    2: Setting LC_COLLATE failed, using "C" 
    3: Setting LC_TIME failed, using "C" 
    4: Setting LC_MESSAGES failed, using "C" 
    5: Setting LC_PAPER failed, using "C" 
    6: Setting LC_PAPER failed, using "C" 
    7: Setting LC_MEASUREMENT failed, using "C"
    Everything I need works now, so I may or may not update this thread. For now, I am marking this as solved.

    Cheers,

    G
    Life is cruel and then you die.

Tags for this Thread

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
  •