From edd @ending from debi@n@org  Thu Aug  9 14:42:58 2018
From: edd @ending from debi@n@org (Dirk Eddelbuettel)
Date: Thu, 9 Aug 2018 07:42:58 -0500
Subject: [Rd] vctrs: a type system for the tidyverse
In-Reply-To: <CABdHhvH=9iGykkmo77b3ZbreWh5_g=bfLcJm_KrdOGAP859cfQ@mail.gmail.com>
References: <CABdHhvFARmiExcEk=NUjfPcRtYnoF4pAA5WTws6r1C+X76zHEw@mail.gmail.com>
 <CAMFmJsn_wNxuV2SQqUiZroJYV+rHRKdADi8Fjg8fRjJr0RGuwQ@mail.gmail.com>
 <CABdHhvEAV-bhprxVMHF_R8vKdN3VEriV86kGNNU02RiK=+m4dQ@mail.gmail.com>
 <CABdHhvHw+_sFcD3H92KQhvurxC8eAyR2A0frZUk7pBcOaVB2Hw@mail.gmail.com>
 <CAMFmJskmkCpVGOYC7=1oPm=xRUbBQJTvyzg=G+Of7+R6UDVUJw@mail.gmail.com>
 <CABdHhvH=9iGykkmo77b3ZbreWh5_g=bfLcJm_KrdOGAP859cfQ@mail.gmail.com>
Message-ID: <23404.14034.740537.291529@rob.eddelbuettel.com>


On 8 August 2018 at 12:40, Hadley Wickham wrote:
| I think this is true in the tidyverse, which will never give you a
| factor unless you explicitly ask for one, but the default in base R
| (at least as soon as a data frame is involved) is to turn character
| vectors into factors.

False. Base R does what the option stringsAsFactors tells it to. Whereas your
incorrect statement implies unconditional behaviour.  

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org



[Rd] vctrs: a type system for the tidyverse
Dirk Eddelbuettel