Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in get_stylesheets_location() : Could not find location of your RStudio installation. #57

Open
JannisZeller opened this issue Apr 8, 2023 · 8 comments

Comments

@JannisZeller
Copy link

Hello everybody!
When trying to initially install the theme using rscodeio::install_theme() I get the following error message:

Error in get_stylesheets_location() :    Could not find location of your RStudio installation.

I remember that I once had a similar problem, but I can not recall it properly. Anybody has a solution? I installed Rstudio in the default location...

Keep up the good work, I love the theme!

@wvictor14
Copy link

+1
I'm on windows with r 4.2.3

> rscodeio::install_theme()
Error in get_stylesheets_location() : 
  Could not find location of your RStudio installation.
> sessionInfo()
R version 4.2.3 (2023-03-15 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 22621)

Matrix products: default

locale:
[1] LC_COLLATE=English_Canada.utf8  LC_CTYPE=English_Canada.utf8   
[3] LC_MONETARY=English_Canada.utf8 LC_NUMERIC=C                   
[5] LC_TIME=English_Canada.utf8    

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

other attached packages:
[1] OSUICode_0.0.0.9002

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.10      digest_0.6.31    later_1.3.1      mime_0.12       
 [5] R6_2.5.1         lifecycle_1.0.3  xtable_1.8-4     magrittr_2.0.3  
 [9] stringi_1.7.12   rlang_1.1.1      cli_3.6.1        curl_5.0.0      
[13] renv_0.17.3      fs_1.6.2         remotes_2.4.2    rstudioapi_0.14 
[17] promises_1.2.0.1 rscodeio_0.1.0   ellipsis_0.3.2   tools_4.2.3     
[21] stringr_1.5.0    glue_1.6.2       shiny_1.7.4      httpuv_1.6.9    
[25] fastmap_1.1.1    compiler_4.2.3   htmltools_0.5.5 

@alexk22-dev
Copy link

I also got this error:

Error in get_stylesheets_location() :
Could not find location of your RStudio installation.

@vivek-verma202
Copy link

I got the same error too, RStudio 2023.06.0 Build 421, R v4.2.2, and Windows 10 Enterprise for Virtual Desktops v22H2.

@Andy-Jiang-483
Copy link

Andy-Jiang-483 commented Aug 27, 2023

Same. And I don't think I can manually specify the path.

@Skumin
Copy link

Skumin commented Sep 6, 2023

Doesn't directly solve the issue, but I've been able to manually change the theme using the RStudio UI in Tools -> Global Options -> Appearance -> Editor Theme and selecting "rscodeio".

@JannisZeller
Copy link
Author

Doesn't directly solve the issue, but I've been able to manually change the theme using the RStudio UI in Tools -> Global Options -> Appearance -> Editor Theme and selecting "rscodeio".

Thank you for this; did the trick for me. I did not notice, that the theme becomes available there as well.

@KraftRicardo
Copy link

I got the same issue of the command not working. The fix suggested by @Skumin helped!

@cloudy-sfu
Copy link

Doesn't directly solve the issue, but I've been able to manually change the theme using the RStudio UI in Tools -> Global Options -> Appearance -> Editor Theme and selecting "rscodeio".

Same problem. This method works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants