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

The main dictionary language can't be changed on RStudio Desktop Windows version #7929

Closed
3 of 4 tasks
andresrcs opened this issue Sep 30, 2020 · 6 comments
Closed
3 of 4 tasks
Assignees
Milestone

Comments

@andresrcs
Copy link

System details

RStudio Edition : Desktop
RStudio Version : 1.4.869
OS Version      : Windows 10
R Version       : 4.0.2

Steps to reproduce the problem

I selected the option to download more dictionaries from the Options>Spelling tab

Describe the problem in detail

After downloading the dictionaries I'm left only with the "Update Dictionaries..." option which is unresponsive and I can't change the dictionary.
image

Describe the behavior you expected

I expect to see all available options as I can on the RStudio Server (Ubuntu) version
image

  • I have read the guide for submitting good bug reports.
  • I have installed the latest version of RStudio, and confirmed that the issue still persists.
  • If I am reporting a RStudio crash, I have included a diagnostics report.
  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
@andresrcs andresrcs changed the title The main dictionary language can be changed on RStudio Desktop Windows version The main dictionary language can't be changed on RStudio Desktop Windows version Sep 30, 2020
@jmcphers jmcphers added this to the v1.4 milestone Sep 30, 2020
@adamconroy
Copy link
Contributor

This should be fixed now. @andresrcs can you clear your user state and try to install the dictionaries again? https://support.rstudio.com/hc/en-us/articles/218730228-Resetting-a-user-s-state-on-RStudio-Server

@andresrcs
Copy link
Author

@adamconroy The issue was with the Desktop version so I think you actually mean this link instead
https://support.rstudio.com/hc/en-us/articles/200534577-Resetting-RStudio-Desktop-s-State specifically the "Resetting Other Preferences" section.
I can confirm that the issue is fixed now, Thanks!

@adamconroy
Copy link
Contributor

Great! Thank you.

@rich-rstudio
Copy link
Contributor

verified on 1.4.938

@Sumidu
Copy link

Sumidu commented Mar 15, 2021

For me this did not fix the issue. My attempts were:

  • Remove the ~/.local/share/rstudio folder.
  • Delete defaults as recommended here
  • Delete RStudio
  • Install RStudio (1.4.1106)
  • Help->Diagnostics->Clear User Prefs

Still nothing.

My log shows
15 Mar 2021 17:24:09 [rsession-andrecalerovaldez] ERROR system error 2 (No such file or directory) [path: /Users/andrecalerovaldez/.config/rstudio/dictionaries/languages-system/.aff]; OCCURRED AT rstudio::core::Error rstudio::core::spelling::(anonymous namespace)::HunspellSpellChecker::initialize(const rstudio::core::spelling::HunspellDictionary &, const rstudio::core::spelling::IconvstrFunction &) src/cpp/core/spelling/HunspellSpellingEngine.cpp:165; LOGGED FROM: void rstudio::core::spelling::HunspellSpellingEngine::Impl::resetDictionaries(const std::string &) src/cpp/core/spelling/HunspellSpellingEngine.cpp:434

@Sumidu
Copy link

Sumidu commented Mar 16, 2021

Finally found a solution.
While RStudio was closed, I (backuped and) deleted the ~/.config/rstudio folder.

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

No branches or pull requests

7 participants