From ocheyett at bonddesk.com  Thu Nov 13 02:30:06 2008
From: ocheyett at bonddesk.com (ocheyett at bonddesk.com)
Date: Thu, 13 Nov 2008 02:30:06 +0100 (CET)
Subject: [Rd] R crashes on sprintf with bad format specification (PR#13283)
Message-ID: <20081113013006.E82FF282EFF6@mail.pubhealth.ku.dk>

Full_Name: Oren Cheyette
Version: 2.7.2
OS: Win XP
Submission from: (NULL) (64.161.123.194)


Enter the following at the R command prompt:
> sprintf("A %S %S %S XYZ", 1, 1, 1);

Note the erroneous capitalized %S instead of %s and the numeric inputs instead
of strings. With strings there's no crash - R reports bad format
specifications.



[Rd] R crashes on sprintf with bad format specification (PR#13283)
ocheyett at bonddesk.com