PDA

View Full Version : [SOLVED] R console error



2uRcJQ34G1
September 8th, 2012, 10:31 PM
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:


Error: segfault from C stack overflow
There were 47 warnings (use warnings() to see them)
Segmentation fault


any help is appreciated.

Cheers :D

2uRcJQ34G1
September 9th, 2012, 07:59 PM
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??

2uRcJQ34G1
September 9th, 2012, 08:03 PM
Interesting fact: every time I run the program, it segfaults with a different number of warning number?

Most bizarre...

Lars Noodén
September 9th, 2012, 08:12 PM
Which front-end are you using for R? rkward is highly recommended.

rewyllys
September 10th, 2012, 01:11 AM
Which front-end are you using for R? rkward is highly recommended.
Also widely recommended is RStudio.

2uRcJQ34G1
September 11th, 2012, 12:32 AM
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:



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