[R] Avoiding factors and levels in data frames

Patrick Connolly p_connolly at slingshot.co.nz
Sun Aug 31 11:56:55 CEST 2008


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 them. Is there any way to globally turn this whole feature of
|> data frames off? Using options(stringAsFactors=FALSE) does not seem to
|> work.

Have you tried the as.is option?


-- 
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.   
   ___    Patrick Connolly   
 {~._.~}          		 Great minds discuss ideas    
 _( Y )_  	  	        Middle minds discuss events 
(:_~*~_:) 	       		 Small minds discuss people  
 (_)-(_)  	                           ..... Anon
	  
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.



More information about the R-help mailing list