[R] Rodbc quesion: how to reliably determine the data type?

David Winsemius dwinsemius at comcast.net
Tue May 3 15:50:02 CEST 2011


On May 3, 2011, at 2:10 AM, Albert-Jan Roskam wrote:

> Hi Jeff,
>
> Ah, thanks a lot! Yes, meanwhile I also switched to csv. This still  
> requires
> knowledge about the regional settings (Sys.getlocale), but it's a  
> lot more
> transparent.
>
>
> I'm quite new to R and I must say that stuff like this is eating up  
> a LOT of my
> time. All those invisible data type conversions are driving me nuts.
> StringsAsFactors=F should be the default, for instance.
>

You can set that (if spelled correctly) with options in  
your .Rprofile, and some knowledgeable people have made that choice.

-- 
David.

> Cheers!!
> Albert-Jan
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> All right, but apart from the sanitation, the medicine, education,  
> wine, public
> order, irrigation, roads, a fresh water system, and public health,  
> what have the
> Romans ever done for us?
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>

David Winsemius, MD
Heritage Laboratories
West Hartford, CT



More information about the R-help mailing list