[Rd] bug.report("unused argument(s) crash R when options(error=quote (PR#663)
zivan.karaman@limagrain.com
zivan.karaman@limagrain.com
Tue, 19 Sep 2000 13:53:21 +0200 (MET DST)
# Your mailer is set to "none" (default on Windows),
# hence we cannot send the bug report directly from R.
# Please copy the bug report (after finishing it) to
# your favorite email program and send it to
#
# r-bugs@biostat.ku.dk
#
######################################################
Hello!
I have observed a curious problem with the Windows version of R.
> version
_
platform Windows
arch x86
os Win32
system x86, Win32
status
major 1
minor 1.1
year 2000
month August
day 15
language R
> win.version()
[1] "Windows NT 4.0 (build 1381) Service Pack 5"
When I mistype an argument in a function call (like in the example below), Rgui
crashes with the message:
The instruction at "0x025571b8" uses the memory address "0x00000008". The memory
can't be "read". (This is my translation from French, but I guess it's
something like that in English.)
Example:
> ls(poq=3)
Normally, one should get a message saying:
Error in ls(poq = 3) : unused argument(s) (poq ...)
In my etc/Rprofile file I have added the following line:
options(error=quote(dump.frames()))
When I comment this line out, Rgui works OK (i.e. I get the message "Error in
ls(poq = 3) : unused argument(s) (poq ...)").
This happens for any other typo that should normally cause the message "unused
argument(s)", like "matrix(1:15, nrow=5, byrox=TRUE)", or anything else.
The same happens with Rterm, except that you see the error message before Rterm
dies, and the message is little bit different:
The instruction at "0x02556678" uses the memory address "0xec83e591". The memory
can't be "read".
It happens on both my desktop and my laptop, but since both are running the same
OS version (NT4 SP5), it's not so surprising.
Also, I have the same behaviour with the previous version of R
> version
_
platform Windows
arch x86
os Win32
system x86, Win32
status
major 1
minor 1.0
year 2000
month June
day 15
language R
Did I do anything wrong, or is it a problem with R.dll?
It is not a big problem, but I just wanted let you know about it.
Best regards
Zivan
--please do not edit the information below--
Version:
platform = Windows
arch = x86
os = Win32
system = x86, Win32
status =
major = 1
minor = 1.1
year = 2000
month = August
day = 15
language = R
Windows NT 4.0 (build 1381) Service Pack 5
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._