Displaying 1 result from an estimated 1 matches for "lsctrade".
Did you mean:
lsctrades
2010 Apr 23
2
read.csv data frame thousands separator
...-3.3, -3.3, -3.3)), .Names =
c("Instrument.Long.Name",
"Buy.Sell..Cleared.", "Volume", "Price", "Net.Charges..sum."), class =
"data.frame", row.names = c(NA,
-24L))
I got it from this command line :
>trades1=read.csv2("LSCTrades.csv",dec=".",sep=",",as.is=T,h=T,skip=1)
The csv file has some numbers with thousands separator as a ".", so the
class for my "Price" column is character, when I want it numeric.
I can't change the column class, even when playing with the read....