[R] (no subject)

Petr Pikal petr.pikal at precheza.cz
Wed Feb 16 16:32:43 CET 2005


Hi Jim

Something like

> x<-"1,200.44"
> as.numeric(sub(",", "" , x))
[1] 1200.44


Petr


On 16 Feb 2005 at 15:08, Jim Gustafsson wrote:

> 
> 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

Petr Pikal
petr.pikal at precheza.cz




More information about the R-help mailing list