Quarto - moved project folder to new location, but PDF reports are generated in old folder

Error Information:

n/a
Description of issue -
I was told a network drive I'm using is being retired so I had to migrate my R/ to a new location. Ultimately, I moved it to local storage. Setting the working directory seemed to work, generally, but not so for projects. I had to set the working directory in the project itself as well. Closing out and re-opening the project showed that the working directory was set correctly. However, when rendering PDF's, the output goes to the old folder on the networked drive.

Steps taken so far -

  1. Moved files to local storage
  2. Set working directory
  3. Opened project and set working directory within project (via menus)
  4. Rendering a PDF (quarto) results in PDF generated in old folder, not the new one. I can't seem to find a setting that directs to output to that location

System Information:

  • RStudio Edition: Desktop
  • RStudio Version: 2022.02.1 Build 461
  • OS Version: Windows 10 Enterprise
  • R Version: 4.1.3

Also:

  • RStudio diagnostics report:
  • Your sessionInfo():

R version 4.1.3 (2022-03-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19042)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 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] maptools_1.1-4 sp_1.4-7 maps_3.4.0 MetBrewer_0.2.0 lubridate_1.8.0 data.table_1.14.2 forcats_0.5.1 stringr_1.4.0
[9] dplyr_1.0.9 purrr_0.3.4 readr_2.1.2 tidyr_1.2.0 tibble_3.1.7 ggplot2_3.3.6 tidyverse_1.3.1

loaded via a namespace (and not attached):
[1] httr_1.4.3 sass_0.4.1 jsonlite_1.8.0 foreach_1.5.2 modelr_0.1.8 bslib_0.3.1 assertthat_0.2.1 countrycode_1.4.0
[9] cellranger_1.1.0 yaml_2.3.5 Rttf2pt1_1.3.10 pillar_1.7.0 backports_1.4.1 lattice_0.20-45 glue_1.6.2 extrafontdb_1.0
[17] digest_0.6.29 rvest_1.0.2 colorspace_2.0-3 htmltools_0.5.2 pkgconfig_2.0.3 broom_0.8.0 haven_2.5.0 patchwork_1.1.1
[25] scales_1.2.0 tzdb_0.3.0 generics_0.1.2 farver_2.1.0 ellipsis_0.3.2 withr_2.5.0 cli_3.3.0 magrittr_2.0.3
[33] crayon_1.5.1 readxl_1.4.0 evaluate_0.15 fs_1.5.2 fansi_1.0.3 doParallel_1.0.17 xml2_1.3.3 foreign_0.8-82
[41] textshaping_0.3.6 tools_4.1.3 hms_1.1.1 lifecycle_1.0.1 munsell_0.5.0 reprex_2.0.1 compiler_4.1.3 jquerylib_0.1.4
[49] systemfonts_1.0.4 rlang_1.0.2 grid_4.1.3 iterators_1.0.14 rstudioapi_0.13 labeling_0.4.2 rmarkdown_2.14 gtable_0.3.0
[57] codetools_0.2-18 DBI_1.1.2 R6_2.5.1 knitr_1.39 fastmap_1.1.0 extrafont_0.18 utf8_1.2.2 ragg_1.2.2
[65] stringi_1.7.6 parallel_4.1.3 mapproj_1.2.8 vctrs_0.4.1 dbplyr_2.1.1 tidyselect_1.1.2 xfun_0.31

  • RStudio crash report:
  • RStudio application log files:

From Troubleshooting Guide: Using RStudio

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.