I recently upgraded to R version 4.4.0 (2024-04-24 ucrt) and also updated the R version in RStudio via the global options.
Since the update, I am unable to open Rnw (RSweave) files. When attempting to do so, I encounter the following error message:
So far, I have tried installing and updating all the relevant packages such as
- install.packages("knitr")
- install.packages("rmarkdown")
- tinytex::reinstall_tinytex() tinytex::tlmgr_install("listings")
- update.packages(checkBuilt = TRUE, ask = FALSE)
but still couldn't fix the issue. I googled it further, and I found this Github Issue related to "storybook"(https://github.com/storybookjs/storybook/issues/23787), but I am not sure if this is relevant to my case.
Could I get some insights on how to solve this issue?