[R] write data using xlsReadWrite
diyanah
yanadj28 at gmail.com
Wed May 23 01:59:06 CEST 2012
Hi Ive come up with this code to read my file, but receive an error that I ve
no idea how to fix. can some one help.
> read<-read.xlsx("D:\\FYP\\image\\Cropped
> Images\\user227\\user227forger.xlsx", sheetName="Sheet1", rowIndex="1",
> colIndex="varLH2y", colClasses="character", row.names=TRUE)
>Error in colIndex - 1 : non-numeric argument to binary operator
here is an example of my data in .xlsx
varLH2x varLH2y varHH2x varHH2y varLL2x
varLL2y varHL2x varHL2y
1 4967.552716 12278.95794 679.3101705 254.2841431 4480777.986 3792655.605
2149.541058 827.9458738
2 5629.682598 8439.341331 812.4770397 326.7078909 6257926.174 4259659.878
1959.730324 1396.045697
3 5358.412977 8522.830297 967.7044858 420.9888243 6189762.401 3684682.244
3483.700887 1293.746943
--
View this message in context: http://r.789695.n4.nabble.com/write-data-using-xlsReadWrite-tp4629825p4631019.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list