Skip to content
Prev 8937 / 63424 Next

error from sample if sampling length one character (PR#2546)

x: Either a (numeric, complex, character or logical) vector of
          more than one element from which to choose, or a positive
          integer.

so this is as documented, hence not a bug.

[Re-created from the R-bugs page as my mail server is offline.]