[R] R installation problems...

Diego Kuonen Diego at kuonen.com
Thu Jan 11 09:53:09 CET 2001


Peter Dalgaard BSA wrote:
> 
> This is perplexing! Could you please try "/path/to/R -d gdb" and
> inside gdb do
> 
> run  --verbose --vanilla
> 
> then at the point of the crash do a "bt" command and tell us what it
> says.

  $ /usr2/R-patched/bin/R -d gdb 
  GNU gdb 4.17
  ...
  (gdb) run  --verbose --vanilla
  Starting program: /usr2/R-patched/bin/R.bin --verbose --vanilla
  R : Copyright 2001, The R Development Core Team
  Version 1.2.0 Patched (2001-01-09)
  ...
  now dyn.load(/usr2/R-patched/library/ctest/libs/ctest.so)..
  >R_ReplConsole(): before "for(;;)" {main.c}

  Program received signal SIGSEGV, Segmentation fault.
  0x4011e1d1 in _IO_fflush (fp=0x401cce60) at iofflush.c:41
  iofflush.c:41: No such file or directory.
  (gdb) bt
  #0  0x4011e1d1 in _IO_fflush (fp=0x401cce60) at iofflush.c:41
  #1  0x4004e738 in rl_prep_terminal ()
  #2  0x4005835b in _rl_callback_newline ()
  #3  0x400583c1 in rl_callback_handler_install ()
  #4  0x80ec24e in Rstd_ReadConsole (prompt=0x81e3c00 "> ", buf=0xbfffec90 "", 
      len=1024, addtohistory=1) at sys-std.c:369
  #5  0x80e9c14 in R_ReadConsole (prompt=0x81e3c00 "> ", buf=0xbfffec90 "", len=1024, 
      addtohistory=1) at system.c:61
  #6  0x80990b1 in R_ReplConsole (rho=0x81e5a6c, savestack=0, browselevel=0)
      at main.c:135
  #7  0x80998e1 in run_Rmainloop () at main.c:491
  #8  0x8099914 in Rf_mainloop () at main.c:505
  #9  0x80e9cd6 in main (ac=3, av=0xbffff164) at system.c:88
  #10 0x400cdbfc in __libc_start_main (main=0x80e9cc0 <main>, argc=3, 
      ubp_av=0xbffff164, init=0x8056568 <_init>, fini=0x8125c6c <_fini>, 
      rtld_fini=0x4000d674 <_dl_fini>, stack_end=0xbffff15c)
      at ../sysdeps/generic/libc-start.c:118
  (gdb) quit


With R-1.2.0 (release) I get exactly the same messages.

> One thing that could cause trouble is if some higher directory (eg
> /usr/R) is not readable, since make is generally using relative paths.

Everything is owned by root, and I'm running R as root, so this should
not be the case.

Greets + many thanks for your help.

  Diego Kuonen

-- 
   _                                          _  
  (o-             Diego Kuonen               -o)
  //\  DMA-Ecublens, EPFL, CH-1015 Lausanne  /\\  
 .v_/_......................................_\_v.
/ Phone: +41(0)21 6935508  Fax: +41(0)21 6934250 \
: http://stat.kuonen.com   http://www.Statoo.com :
: ` Never trust an operating system you don't    : 
:   have sources for ;-) '    http://www.LUGO.ch :
\................................................/
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list