Oh, do check the R-bugs database first! This was solved in R-patched
before the first report ...
>From NEWS:
o type.convert() could give stack imbalance warnings if used
with as.is = TRUE.
Actually, it works perfectly, so it's not a serious bug, especially as
using type.convert(letters[1:2],as.is=T) is a waste of time (yours in
that case).
On Thu, 3 Jan 2002 dxsun@bell-labs.com wrote:
> Full_Name: Don Sun
> Version: 1.4.0
> OS: Red Hat Linux release 6.2
> Submission from: (NULL) (204.178.20.14)
>
>
> > type.convert(letters[1:2],as.is=T)
> stack imbalance in internal type.convert, 7 then 6stack imbalance in
.Internal,
> 6 then 5
> [1] "a" "b"
> Error: unprotect(): stack imbalance
>
> > version
> _
> platform i686-pc-linux-gnu
> arch i686
> os linux-gnu
> system i686, linux-gnu
> status
> major 1
> minor 4.0
> year 2001
> month 12
> day 19
> language R
>
>
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-devel mailing list -- Read
http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !) To:
r-devel-request@stat.math.ethz.ch
>
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>
--
Brian D. Ripley, ripley@stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To:
r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._