[R] Simple numeric "as.is" question

Andy Bunn abunn at montana.edu
Mon Mar 15 16:23:57 CET 2004


Look at the help for:
?as.numeric
HTH, Andy
> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch 
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Janet Gannon
> Sent: Monday, March 15, 2004 7:04 AM
> To: r-help at stat.math.ethz.ch
> Subject: [R] Simple numeric "as.is" question
> 
> 
> I am reading a list of numbers from my clipboard, and have been 
> successful, except I can't make a histogram as R doesn't recognize my 
> variable as numeric.  I know I need to use "as.is", but the specifics 
> escape me. 
> 
> I have used x<-read.table("clipboard", header=F) to import from a txt 
> file.  How do make this numeric?  Thanks, J.
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list 
> https://www.stat.math.ethz.ch/mailman/listinfo> /r-help
> PLEASE 
> do read the posting guide! 
> http://www.R-project.org/posting-guide.html
> 
>




More information about the R-help mailing list