Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
ci.auc with method bootstrap that works in RStudio Cloud #51
I am trying to use pROC in RStudio Cloud. The data I'm dealing with can only be accessed in a secure "datalab" environment designed by Statistics New Zealand, so using R on my personal computer is not possible and I doubt that Stats NZ will be able to support a different implementation just for me.
Using the DeLong method to get a confidence interval works no problem, but when I try something like:
I get the error:
This appears to me to be similar to this issue in the old RStudio community. It appears that the
Thanks for the great package, would love any feedback on whether I'm mistaken or whether a work around is possible!
Hi, thanks for your report.
These are commands of the tcltk package itself, used by pROC if the package is present.
If tcltk is indeed present and broken, you should ask your administrator to either fix the package if possible, or more likely in your case to uninstall it completely. For a quicker and dirty fix you can manually set the progress bar type to text or disable it completely:
See ?pROC for more options.
Thanks so much for this response. The quick and dirty fix has worked well! I also tried what you recommended above in my personal RStudio Cloud account and ran into the same errors. In a response to the question I linked to above, someone responded:
That was 5 years ago, and so I guess it may just be that
My personal RStudio Cloud attempt:
It's going to be hard to catch this error message specifically without risking to make other errors less useful. After some thought I disabled the tcltk progress bars by default. They have been causing trouble with MacOS before, and a text progress bar seems more appropriate for a command line R terminal anyway.