At 10 Sep 1999 06:53:01 -0000, Mitsuru Oka <oka@debian.or.jp> wrote:> > > 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 applying following patch to the script:...> > Version: > platform = i586-unknown-linux > arch = i586 > os = linuxI'm Sorry. I made a mistake. In above environment, R script has no problem. The problem is in following environment. May be, /bin/sh is incompatible. --please do not edit the information below-- Version: platform = mips-sgi-irix6.4 arch = mips os = irix6.4 system = mips, irix6.4 status = status.rev = 0 major = 0 minor = 65.0 year = 1999 month = August day = 27 language = R Search Path: .GlobalEnv, Autoloads, package:base -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel 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-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
oka@debian.or.jp writes:> I'm Sorry. I made a mistake. In above environment, R script > has no problem. The problem is in following environment. > May be, /bin/sh is incompatible.It *does* have a problem on Linux too, it just doesn't protest quite as badly: $ R -d gdb shift: shift count must be <= $# GNU gdb 4.17.0.11 with Linux support I fixed this for 0.65.1 a couple of days ago. PS to everyone: When you follow up on a Problem Report, please make sure that you include the original PR# in the subject field so that yo don't open a new PR#. This is easily done by 'reply' in most mailers. And please also avoid sending reports both to r-bugs and the mailinglists (where they will appear with no PR# and subsequent discussion will not get filed.) -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel 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-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._