Displaying 1 result from an estimated 1 matches for "datfull".
Did you mean:
datafull
2002 Apr 02
1
"Large" data set: performance issue
...variabales to "numeric"-mode.
i use the following snippet:
i <- 23;
while( i <= totCols){
datframe[,i]<-as.numeric(datframe[,i]);
i <- i + 1;
}
each step takes ~2 secs which makes all in all about an hour.
I suppose I do something really stupid. For reading the data I use
datfull<-scan(filename,sep=",",skip=1,what="character")
which gives me a transposed matrix of my data (variables in rows).
If this wasn't, maybe I could give the "what"-parameter a vector value with
the appropriate variable-types?
Sorry, but I really got stuck and don...