Knitr not knitting?

Hello!
Long time lurker, first time poster. I've finally run into a problem I can't solve on my own. I've been using flexdashboard no problem forever at this point but I went to sleep last night only to find that when I try and knit it this morning, I get this message:

Error in file(con, "w") : cannot open the connection
Calls: -> -> write_utf8 -> writeLines -> file
In addition: Warning message:
In file(con, "w") : cannot open file 'xxxx': Permission denied
Execution halted

I'm an admin and I have permission to write in the particular folder I'm in. Pls help as I've spent several hours and I am still unable to knit a simple dashboard or anything else for that matter. Thanks in advance!

sessionInfo:

R version 4.0.0 (2020-04-24)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18362)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] sp_1.4-1

loaded via a namespace (and not attached):
[1] Rcpp_1.0.4.6 lattice_0.20-41 digest_0.6.25
[4] grid_4.0.0 R6_2.4.1 jsonlite_1.6.1
[7] lifecycle_0.2.0 magrittr_1.5 evaluate_0.14
[10] scales_1.1.1 rlang_0.4.6 leaflet_2.0.3
[13] rmarkdown_2.1 flexdashboard_0.5.1.1 tools_4.0.0
[16] htmlwidgets_1.5.1 munsell_0.5.0 prettydoc_0.3.1
[19] crosstalk_1.1.0.1 yaml_2.2.1 xfun_0.13
[22] compiler_4.0.0 colorspace_1.4-1 htmltools_0.4.0
[25] knitr_1.28 Preformatted text

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.