Skip to content
Prev 32058 / 63424 Next

typo in sprintf format string segfaults R

Sklyar, Oleg (London) wrote:
not exactly:

    sprintf('%S', 'aa')
    # error: unrecognised format at end of string

without a segfault.  but with another format specifier behind, it will
cause a segfault.

interestingly, here's again the same problem i have reported recently: 
that you are given a number of options for how to leave the session, but
you can type ^c and stay in a semi-working session.  (and the next
execution of the above will  then cause a segfault with immediate exit.)

vQ