Hi - read the messages from August. I can create plots in rstudio but I cannot export them via the export/save an image facility.
I get messages about permissions but I can save code files to all folders.
When I go to R (rather than rstudio) I can create and save a jpeg.
So I think the problem is with the interaction between rstudio and windows.
R version 4.0.2 (2020-06-22)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19042)
Matrix products: default
Random number generation:
 LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
 LC_MONETARY=English_United States.1252 LC_NUMERIC=C
 LC_TIME=English_United States.1252
attached base packages:
 stats graphics grDevices utils datasets methods base
other attached packages:
 forcats_0.5.0 stringr_1.4.0 dplyr_1.0.1 purrr_0.3.4
 readr_1.3.1 tidyr_1.1.1 tibble_3.0.3 ggplot2_3.3.2
loaded via a namespace (and not attached):
 Rcpp_1.0.5 cellranger_1.1.0 pillar_1.4.6 compiler_4.0.2
 dbplyr_1.4.4 tools_4.0.2 jsonlite_1.7.0 lubridate_1.7.9
 lifecycle_0.2.0 gtable_0.3.0 pkgconfig_2.0.3 rlang_0.4.7
 reprex_0.3.0 cli_2.0.2 DBI_1.1.0 rstudioapi_0.11
 haven_2.3.1 xfun_0.16 withr_2.2.0 xml2_1.3.2
 httr_1.4.2 fs_1.5.0 generics_0.0.2 vctrs_0.3.2
 hms_0.5.3 grid_4.0.2 tidyselect_1.1.0 glue_1.4.1
 R6_2.4.1 fansi_0.4.1 readxl_1.3.1 modelr_0.1.8
 blob_1.2.1 magrittr_1.5 backports_1.1.7 scales_1.1.1
 ellipsis_0.3.1 rvest_0.3.6 assertthat_0.2.1 colorspace_1.4-1
 tinytex_0.25 stringi_1.4.6 munsell_0.5.0 broom_0.7.0
An example plot:
OK didn't work!)
The thread in August didn't show any successful tweaks - Rstudio folks.......do you have a solution that does not include any ggplot code? After all, that's what Rstudio is all about.