Displaying 1 result from an estimated 1 matches for "no_elements2".
Did you mean:
no_elements1
2010 Mar 18
2
aumentar tamaño de memoria a mas de 4Gb
...of the output predicted segments with txt extension
# reading the parameter files
input<-read.table("input.txt", header=TRUE)
output<-read.table("output.txt", header=TRUE)
# no_elements for 1 and 2 should be the same
no_elements1<-as.integer(toString(input$para1[1]))
no_elements2<-as.integer(toString(input$para2[1]))
# increasing the memory limit to 4 MB
memory.limit(size=4000)
for (i in 1:no_elements1) {
input_name<-toString(input$para1[i+1])
predict<-read.table(input_name, header=TRUE)
predValues<-predict(calibrate.rf, predict)
predValues<-as.nume...