search for: noah78

Displaying 3 results from an estimated 3 matches for "noah78".

Did you mean: noah
2006 Jun 29
3
cat and positioning of the output
Hello R users! I like to use cat in a loop. I know, loops are not the best way in R ... but my question: It is possible to overwrite the expression "Reading row: i" in each iteration of the loop (print out in the below loop on the screen) or more particulary to overwrite the counter "i". for(i in 1:header$M){ cat("Reading row: ", i) SparseIndex[[i]] <-
2006 Jul 18
2
send a list from R to C
Hello at all ! What is the correct form to give a list form R (e.g. list(c(-1,1), "TestFile") ) to C. I have no problems, if I don't use character and I have also no problems to give a character vector form R to C. But, if I combine real and strings in a list then I don't know the correct syntax. I try it with following (an example): SEXP writeFile(SEXP headerR){ Image
2006 Jun 28
2
read file with readBin (the file was saved with a C-routine)
Hello! I have problems with using of "readBin" to read files, which was written in C with "fwrite". In the C-File there is the following Code: fwrite(MyitINI,sizeof(itINItype),1,outfile); where MyitINI is a structure of the following form typedef struct{ int KernelFileSave; /* Determined, if Systemmatrix saved or not.*/ char KernelFileName[200]; /* A-Matrix name