Hi, I'm trying to install Rstudio addins, but they don't show up in the Addins button or Tools → Addins → Browse Addins... menu. I first updated my Rstudio, and then reinstalled again, to no avail.
This is how I proceed:
devtools::install_github("rstudio/addinexamples", type = "source")
It installs successfully (and I can check that it appears correctly in the package tab or in C:\Users\USERNAME\Documents\R\win-library\4.0\addinexamples) but still does not show up under the addins button. Username has special characters though (French accents). Would that be the problem?
Even after loading the library manually as so:
library(addinexamples)
The library appears loaded but no button. I tried many other packages with the same result (e.g., addinmanager, addinslist, colourpicker, esquisse). Any idea? Thanks.
Hi @rempsyc,
You could try several things:
Upgrade to R-4.0.3 to see if that changes anything.
Try installing an addin package from CRAN which does not need compiling e.g. {datapasta}.
Check that the RStudio addin registration file has not been lost/corrupted - see details here: http://rstudio.github.io/rstudioaddins/
I couldn't find the file inst/rstudio/addins.dcf within C:\Program Files\RStudio but I did find it in each library's folder e.g, Documents\R\win-library\4.0\addinexamples\rstudio. So I'm not sure why it would be corrupted since I tried reinstalling the packages, and several of them. (How do you check if the file is corrupted? If it's only reinstalling, then that's been done) File contains:
Name: Insert %in%
Description: Inserts `%in%` at the cursor position.
Binding: insertInAddin
Interactive: false
Name: Find and Replace
Description: Find and replace words in a document.
Binding: findAndReplaceAddin
Interactive: true
Name: Reformat R Code
Description: Reformat R code using 'formatR::tidy_source()'.
Binding: reformatAddin
Interactive: true
Name: Subset a Data Frame
Description: Interactively subset a data frame.
Binding: subsetAddin
Interactive: true
Finally, I just updated R to 4.0.3, and I still experience the same problem.
sessionInfo()
R version 4.0.3 (2020-10-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19042)
Matrix products: default
locale:
[1] LC_COLLATE=English_Canada.1252 LC_CTYPE=English_Canada.1252 LC_MONETARY=English_Canada.1252
[4] LC_NUMERIC=C LC_TIME=English_Canada.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] lattice_0.20-41 codetools_0.2-16 mvtnorm_1.1-1 zoo_1.8-8 psych_2.0.7 MASS_7.3-53
[7] grid_4.0.3 nlme_3.1-149 xtable_1.8-4 coda_0.19-4 estimability_1.3 multcomp_1.4-13
[13] bootES_1.2 Matrix_1.2-18 boot_1.3-25 sandwich_2.5-1 splines_4.0.3 TH.data_1.0-10
[19] tools_4.0.3 emmeans_1.5.1 parallel_4.0.3 survival_3.2-7 compiler_4.0.3 mnormt_2.0.1
[25] tmvnsim_1.0-2