Re: [R] read.csv data frame thousands separator

2010-04-23 Thread Marc Schwartz
On Apr 23, 2010, at 8:00 AM, arnaud Gaboury wrote: > Dear group, > > > > Here is my df, trades1 : > > > > trades1 <- > > structure(list(Instrument.Long.Name = c("CORN", "CORN", "CORN", > "CORN", "CORN", "SOYBEANS", "SOYBEANS", "SOYBEANS", "SOYBEANS", > "SOYBEANS", "SOYBEANS", "STANDARD LE

Re: [R] read.csv data frame thousands separator

2010-04-23 Thread Barry Rowlingson
On Fri, Apr 23, 2010 at 2:00 PM, arnaud Gaboury wrote: > Dear group, > "2,421.5000", "2,448.5000", "1,380.", "1,383.", "1,383.", > > "1,386.", "1,386.", "1,388.", "1,389.", "1,389." > > >>trades1=read.csv2("LSCTrades.csv",dec=".",sep=",",as.is=T,h=T,skip=1) > > >

[R] read.csv data frame thousands separator

2010-04-23 Thread arnaud Gaboury
Dear group, Here is my df, trades1 : trades1 <- structure(list(Instrument.Long.Name = c("CORN", "CORN", "CORN", "CORN", "CORN", "SOYBEANS", "SOYBEANS", "SOYBEANS", "SOYBEANS", "SOYBEANS", "SOYBEANS", "STANDARD LEAD USD", "STANDARD LEAD USD", "SPCL HIGH GRADE ZINC USD", "SPCL HIGH GRA