Error: could not find function "file.edit" Execution halted Unable to locate an installed version of R. #3552
-
I am able to run R code within a Quarto document, but when I try to render the document (either html or pdf) I receive the following error: Error: could not find function "file.edit" Unable to locate an installed version of R. Running 'quarto check' gives the same error: 'Error: could not find function "file.edit"' which results in not finding an installed version of R. I have tried uninstalling both RStudio and R, and reinstalling both. Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
Could you provide a small reproducible example? Without nobody will be able to help. |
Beta Was this translation helpful? Give feedback.
-
I am also facing the same problem as you, but with the MacOS M1 chip. I even tried rendering with the whole new qmd, but the result was disappointing. Reinstallation was one of my solutions, but it proved to be useless. Afterward, I tried to knit it with rmd, and I got the same result as qmd did. It would be greatly appreciated if anyone could help me solve the problem. |
Beta Was this translation helpful? Give feedback.
-
Sorry for the super late reply. I have solved the problem by reinstalling my MacBook. Once again, thank you for your help in solving the problems, even though we still do not know what really happened. |
Beta Was this translation helpful? Give feedback.
Sorry for the super late reply. I have solved the problem by reinstalling my MacBook. Once again, thank you for your help in solving the problems, even though we still do not know what really happened.