Displaying 3 results from an estimated 3 matches for "triowritewidestringcharact".
Did you mean:
triowritewidestringcharacter
2008 Nov 13
1
R crashes on sprintf with bad format specification (PR#13283)
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.
2008 Nov 14
0
(PR#13283) R crashes on sprintf with bad format specification
...c
> > cs=3D001b ss=3D0023 ds=3D0023 es=3D0023 fs=3D003b gs=3D0000 =
efl=3D00000206
> >
> > Call stack:
> > 6C913FB3 R.dll:6C913FB3 TrioFormatProcess trio.c:2724
> >
> > ...
> > while (length > 0)
> > {
> >> size =3D TrioWriteWideStringCharacter(self,=20
> *wstring++, flags,=20
> > length);
> > if (size =3D=3D 0)
> > break; /* while */
> > ...
> >
> > 6C916592 R.dll:6C916592 trio_vsprintf trio.c:3771
> >
> > ...
> > return status;
> >
> >> status...
2008 Nov 14
0
(PR#13283) R crashes on sprintf with bad format
...;> cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000206
>>>
>>> Call stack:
>>> 6C913FB3 R.dll:6C913FB3 TrioFormatProcess trio.c:2724
>>>
>>> ...
>>> while (length > 0)
>>> {
>>>> size = TrioWriteWideStringCharacter(self,
>> *wstring++, flags,
>>> length);
>>> if (size == 0)
>>> break; /* while */
>>> ...
>>>
>>> 6C916592 R.dll:6C916592 trio_vsprintf trio.c:3771
>>>
>>> ...
>>> return status;
>>>...