Erik Wright wrote: > > Hi Charlie, > > I like your idea of updating an R progress bar from C, but I don't at all > understand how to call txtProgressBar from C. I have looked at Writing R > Extensions and it is equally confusing. Any help would be appreciated. > > Thanks!, > Erik >
Hi Erik, Did you look at the link I put in my last post? http://n4.nabble.com/Writing-own-simulation-function-in-C-td1580190.html#a1580423 I linked that post because it gives a step-by-step example for performing a callback to the runif function from C. Just change the execution environment from stats to utils and alter the function arguments appropriately and it should work for txtProgressBar and setTxtProgressBar. -Charlie ----- Charlie Sharpsteen Undergraduate-- Environmental Resources Engineering Humboldt State University -- View this message in context: http://n4.nabble.com/Rprintf-not-updating-tp1751703p1752102.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.