[R] problem in R.sh.in script

Mitsuru Oka oka at debian.or.jp
Fri Sep 10 06:07:21 CEST 1999


Hi,

I found problem in R-0.65.0/src/scripts/R.sh.in script.
When I run R program with `R -d gdb', R script say,

  /usr/local/bin/R[104]: shift: bad number

I fixed this problem by apply following patch:

*** R.sh.in.orig    Fri Sep 10 13:01:10 1999
--- R.sh.in Fri Sep 10 13:01:23 1999
***************
*** 48,54 ****
      -g|--gnome)
        R_BINARY="R.gnome" ;;
      -d|--debugger)
!       DBG="${2}"; shift 2 ;;
      --no-environ)
        USE_R_ENVIRON=false ;;
      --vanilla)
--- 48,54 ----
      -g|--gnome)
        R_BINARY="R.gnome" ;;
      -d|--debugger)
!       DBG="${2}"; shift ;;
      --no-environ)
        USE_R_ENVIRON=false ;;
      --vanilla)

--
Mitsuru Oka
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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