From Martin Maechler <maechler@stat.math.ethz.ch>  Mon Jun 17 17:31:36 2002
From: Martin Maechler <maechler@stat.math.ethz.ch> (Martin Maechler)
Date: Mon, 17 Jun 2002 18:31:36 +0200
Subject: logicals in data frames -- as.data.frame() should allow them
Message-ID: <15630.3816.296979.38378@gargle.gargle.HOWL>

Currently, as.data.frame() , i.e., at least its "matrix" method,
still coerces logicals to factors.  I think this is not desired
and not according to the changes to read.table() for R 1.4.0
which allow logicals.

Does anybody see a reason against a change which would allow
logical matrices to become data.frames with logical variables ? 

Martin Maechler <maechler@stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO C16	Leonhardstr. 27
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1228			<><
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


logicals in data frames -- as.data.frame() should allow them
Martin Maechler