On Mon, 15 Mar 2004, Andy Bunn wrote: > Look at the help for: > ?as.numeric
and make sure you read there that it is the wrong thing (as a column of a data frame will be a factor). Better to look this up in the FAQ! > HTH, Andy > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Janet Gannon > > Sent: Monday, March 15, 2004 7:04 AM > > To: [EMAIL PROTECTED] > > 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. -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595 ______________________________________________ [EMAIL PROTECTED] 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