Of the basic vector types, is there any special reason why the logical does not show its length?
View(list(1:10, rep(NA, 10), rep(1.0, 10), rep('x', 10)))
Details. TRUE and FALSE are reserved words denoting logical constants in the R language, whereas T and F are global variables whose initial values set to these. All four are logical(1) vectors.
You may also be aware that where numeric values are coerced into logical values, 0 is FALSE and anything else is TRUE (unless it is missing).
This is indeed a bug: thanks for filing an issue (https://github.com/rstudio/rstudio/issues/4347). This will be fixed in the next release of RStudio (v1.2).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With