Displaying 1 result from an estimated 1 matches for "9000d".
Did you mean:
9000
2009 Apr 21
8
incorrect output and segfaults from sprintf with %*d (PR#13667)
...documented limit on strings included in the output using the
format '%s'. It appears that there is a limit on the length of strings included
with, e.g., the format '%d' beyond which surprising things happen (output
modified for conciseness):
gregexpr('1', sprintf('%9000d', 1))
# [1] 9000 9801
gregexpr('1', sprintf('%9000d', 1))
# [1] 9000 9801 10602
gregexpr('1', sprintf('%9000d', 1))
# [1] 9000 9801 10602 11403
gregexpr('1', sprintf('%9000d', 1))
# [1] 9000 9801 10602 11403 12204...