[R] drop=F in [

Paul Gilbert pgilbert at bank-banque-canada.ca
Wed Jul 25 17:00:29 CEST 2001


>> dim(a[a[,1]<1,drop=F])
>NULL

You forgot a comma:

> dim(a[a[,1]<1,, drop=F])
[1] 1 3

Paul Gilbert

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list