Today I found that R cannot properly accept a string containing 4093 or more characters. I have encountered related problems many times before, but I always thought it's because there are some escape characters in the string (turns out it's not). Is this a bug? #RStats
1
2
1
It is more complicated as `paste0(rep('a', 5000), collapse="")` easily creates a longer one.
What you found is an (arbitrary but high) limit on a (single) input line in the REPL. If this really mattered to you could probably recompile with a larger constant.
#rstats
Sep 16, 2021 · 2:20 AM UTC
2
2
17



