[Rd] crash with winDialogString("ABC", 1) (PR#620)
ligges@statistik.uni-dortmund.de
ligges@statistik.uni-dortmund.de
Fri, 28 Jul 2000 20:38:00 +0200 (MET DST)
If the default string in winDialogString(.) is not a character (OK, it
was also my bug...), R crashes:
winDialogString("ABC", 1)
Everything works fine with:
winDialogString("ABC", "1")
A fix which hopefully doesn't break anything:
winDialogString <- function (message, default)
.Internal(winDialogString(message, as.character(default)))
Regards,
Uwe Ligges
--please do not edit the information below--
Version:
platform = Windows
arch = x86
os = Win32
system = x86, Win32
status =
major = 1
minor = 1.0
year = 2000
month = June
day = 15
language = R
Windows NT 4.0 (build 1381) Service Pack 6
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._