[R] (no subject)

Christoph Buser buser at stat.math.ethz.ch
Wed Feb 16 15:56:33 CET 2005


Hi Jim

I'm not sure if I understand your problem correctly. Is this a solution?

(li <- list(a=1,b=200.44))
as.numeric(paste(unlist(li), collapse = ""))

Best regards,

Christoph Buser

--------------------------------------------------------------
Christoph Buser <buser at stat.math.ethz.ch>
Seminar fuer Statistik, LEO C11
ETH (Federal Inst. Technology)	8092 Zurich	 SWITZERLAND
phone: x-41-1-632-5414		fax: 632-1228
http://stat.ethz.ch/~buser/
--------------------------------------------------------------

Jim Gustafsson writes:
 > 
 > R-people
 > 
 > I wonder if one could change a list of table with number of the form 
 > 1,200.44 , to 1200.44
 > 
 > Regards
 > JG
 > 
 > 
 > ------------------------------------------------------------------------------
 > This e-mail and any attachment may be confidential and may also be privileged.
 > If you are not the intended recipient, please notify us immediately and then
 > delete this e-mail and any attachment without retaining copies or disclosing
 > the contents thereof to any other person.
 > Thank you.
 > ------------------------------------------------------------------------------
 > 	[[alternative HTML version deleted]]
 > 
 > ______________________________________________
 > R-help at stat.math.ethz.ch mailing list
 > https://stat.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