Re: [R] Avoiding factors and levels in data frames

2008-09-01 Thread Prof Brian Ripley
ks for any comments, Ted. -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Asher Meir Verzonden: zondag 31 augustus 2008 11:02 Aan: r-help@r-project.org Onderwerp: [R] Avoiding factors and levels in data frames Hello all. I am an experienced R user, I have used

Re: [R] Avoiding factors and levels in data frames

2008-09-01 Thread Ted Harding
read.fwf and give it the same defaults as read.table. I was thinking the same, too. Ted. > Cheers, > > Thierry > > Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Namens [EMAIL PROTECTED] > Verzonden: maandag 1 september 2008 11:23 > Aan: r-help@r-project.org &g

Re: [R] Avoiding factors and levels in data frames

2008-09-01 Thread ONKELINX, Thierry
an: r-help@r-project.org Onderwerp: Re: [R] Avoiding factors and levels in data frames On 01-Sep-08 08:20:25, ONKELINX, Thierry wrote: > > Try to add options(stringsAsFactors = FALSE) in your Rprofile.site > (in the etc directory). Using as.is = TRUE seems safer than > stringsAs

Re: [R] Avoiding factors and levels in data frames

2008-09-01 Thread Ted Harding
that is the case, then it seems to indicate some conflict or inconsistency between read.fwf() and read.table() in this respect. In any case, it strikes me as something of an undesirable tangle! With thanks for any comments, Ted. > -Oorspronkelijk bericht- > Van: [EMAIL PROTECTED]

Re: [R] Avoiding factors and levels in data frames

2008-09-01 Thread ONKELINX, Thierry
2008 11:02 Aan: r-help@r-project.org Onderwerp: [R] Avoiding factors and levels in data frames Hello all. I am an experienced R user, I have used R for many years for a wide variety of applications. However, I keep on running into one obstacle: I never want factors or levels in my data frames, but

Re: [R] Avoiding factors and levels in data frames

2008-08-31 Thread Patrick Connolly
On Sun, 31-Aug-2008 at 12:01PM +0300, Asher Meir wrote: |> Hello all. |> |> I am an experienced R user, I have used R for many years for a wide |> variety of applications. However, I keep on running into one obstacle: |> I never want factors or levels in my data frames, but I keep on |> getting t

[R] Avoiding factors and levels in data frames

2008-08-31 Thread Asher Meir
Hello all. I am an experienced R user, I have used R for many years for a wide variety of applications. However, I keep on running into one obstacle: I never want factors or levels in my data frames, but I keep on getting them. Is there any way to globally turn this whole feature of data frames of