Rd] R crashes when setWinProgressBar is give a numeric
> value for label argument
>
> Greg,
>
> winProgressBar() has internal checks for the argument types, and for
> some unaccounted-for reason I omitted them in setWinProgressBar(). So
> 2) is easy (cut-and-paste).
>
&g
Greg,
winProgressBar() has internal checks for the argument types, and for
some unaccounted-for reason I omitted them in setWinProgressBar(). So
2) is easy (cut-and-paste).
I am less sure that we should add coercion, and sure that if we add it
to setWinProgressBar() we should also add it to
This problem can be seen by the following commands:
> pb <- winProgressBar(max=1000, label='0')
> b <- 1
> setWinProgressBar(pb, b, label=b)
This set of commands (on windows of course, XP in this case) causes R to crash.
This is not strictly a bug since the documentation states that the label
a