Re: [R] write data using xlsReadWrite

2012-05-22 Thread diyanah
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) >E

Re: [R] write data using xlsReadWrite

2012-05-16 Thread diyanah
Hai, I have change it to these, but error and I couldn't fix it. Do you have any idea why? file <- system.file("D:\\FYP\\image\\Cropped Images\\user61", "forgerUser61.xlsx", package = "xlsx") wb <- loadWorkbook("forgerUser61.xlsx") sheets <- getSheets(wb) sheet <- sheets[["all"]] res <- readRows(s

Re: [R] write data using xlsReadWrite

2012-05-15 Thread diyanah
Hai, I use these codes to read my data from the above data that I create, but how can I get rid of the first V1, because it is row number, not one of my data value. Second, how can I read row 1 and only column 1 (V2 value for example). setwd("D:\\FYP\\image\\Cropped Images\\user61") info <-read.x

Re: [R] write data using xlsReadWrite

2012-05-15 Thread diyanah
Thank you, I came up with these. Problem solve. varValue <- data.frame(varLH2x, varLH2y, varHH2x, varHH2y, varLL2x, varLL2y, varHL2x, varHL2y) res<-write.xlsx(varValue, "D:\\FYP\\image\\Cropped Images\\user61\\genuineUser61temp.xlsx", sheetName="Sheet1",col.names=TRUE, row.names=TRUE, append=FALS

[R] write data using xlsReadWrite

2012-05-12 Thread diyanah
Hai, I'm trying to write these var output data from these codes inside excel file. My directory to store the data is /D:\FYP\image / but receive an error message : /Error in write.xls(mydata, "D:\\FYP\\image.mydata.xls") : object 'mydata' not found/ these are my codes, can you help give an ad

Re: [R] Poblems wih EBImage

2012-02-24 Thread diyanah
hello, I think my EBImage is succesfully unpacked using R and I receive this message package 'EBImage' successfully unpacked and MD5 sums checked The downloaded packages are in C:\Users\Yana-Chan\AppData\Local\Temp\Rtmp7VFmH5\downloaded_packages but when I try to call the library, I re

Re: [R] Poblems wih EBImage

2011-10-28 Thread diyanah
Yes, I'm using windows. Thank you. I made some improvement, I think, but then why did I receive this? > utils:::menuInstallLocal() package 'EBImage' successfully unpacked and MD5 sums checked > library("EBImage") Error: package 'EBImage' was built before R 2.10.0: please re-install it which one d

Re: [R] Poblems wih EBImage

2011-10-27 Thread diyanah
Hai, can you help me. Why am I having this lines of errors? please help me. thank you. > library("EBImage") Error in inDL(x, as.logical(local), as.logical(now), ...) : unable to load shared object 'C:/Program Files/R/R-2.13.2/library/EBImage/libs/i386/EBImage.dll': LoadLibrary failure: The s