[R] progress of a function...
akshay kulkarni
@k@h@y_e4 @ending from hotm@il@com
Fri Jul 6 11:37:37 CEST 2018
dear members,
I want to use svMisc package in R to check how my function is progressing.
It has the following syntax:
f <- function(x){ for (i in 1:1000){
progress (i)
s[i] <- sqrt(i)
}
return(i)
}
This gives me the progress of the function as i moves.
But what if I have mclapply function instead of the for loop? How do we get the progress of an ongoing "apply" family of functions?
Very many thanks for your time and effort...
yours sincerely,
AKSHAY M KULKARNI
[[alternative HTML version deleted]]
More information about the R-help
mailing list