Skip to content

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

1 message · Brian Ripley

#
Have you read the R FAQ on what a bug is?  It says

   Finally, a command's intended definition may not be best for
statistical analysis.  This is a very important sort of problem, but it is
also a matter of judgment.  Also, it is easy to come to such a conclusion
out of ignorance of some of the existing features.  It is probably best
not to complain about such a problem until you have checked the
documentation in the usual ways, feel confident that you understand it,
and know for certain that what you want is not available.

So, be honest: did you check the documentation?  If you did, why did not 
not mention that you knew it was a documented feature?
On Sun, 23 Feb 2003, Patrick Burns wrote:

            
Let us enlighten you: programmers who read the documentation rely on the
current behaviour to catch user errors, as they are entitled to do.

I trust you have filed a bug report on the `real application' for
mis-using R.