Closed MCKnaus closed 7 months ago
Thanks @MCKnaus, it seems the good folks over at RStudio figured this out.
Indeed they did. They fixed it in this daily release https://dailies.rstudio.com/version/2023.12.0-daily+336/ in case somebody has the same issues. Sorry for spamming your issues.
Thank you for helping with getting grf running properly in R Notebooks!
Description of the bug I have opened an issue R Notebooks very slow with newer RStudio versions for the RStudio developers that is specifically motivated by the
regression_forest()
andcausal_forest()
functions. Running them within the R Notebook environment tremendously slows down RStudio. Curiously it seems to be an interaction between recent RStudio versions, R Notebooks andgrf
. No problems for example in 2022 RStudio versions, in the console, or withranger
functions. Maybe you have an idea what is specific aboutregression_forest()
causing these issues and can give a hint towards the RStudio colleagues or find a way to fix it within the package.Steps to reproduce Create a blank R Notebook and include the following code chunk:
Run the code chunk either by pushing the "play button" at the top right of the code chunk or "Run All". Importantly running the same code in the console or knitting the notebook does not produce the problem.
GRF version 2.3.1