Dear Sir/Madam After the update of the new version of R 4.2.1, an error message ( Error in nchar(homeDir): invalid multibyte string, element 1) appears every time i open RStudio. Also the following warning message appears in the console: In normalizePath (path.expand(path), winslash, mustwork): path[1]="C:/Users/41784/oneDrive - Universit?t z?rich UZH/Dokumente": the system cannot find the given path. I would be glad, if you can tell me the solution for this problem. Thank you for your consideration. Best,
Problem with installing packages in R
3 messages · Farah Al Saifi, Ivan Krylov, Eric Berger
On Wed, 14 Sep 2022 15:49:18 +0000
Farah Al Saifi <farah.alsaifi at uzh.ch> wrote:
After the update of the new version of R 4.2.1, an error message ( Error in nchar(homeDir): invalid multibyte string, element 1) appears every time i open RStudio.
Does the error message happen when you run Rgui instead of Rstudio? What is your sessionInfo()? R has greatly improved its support for strings not representable in the current ANSI codepage, but that requires a recent version of Windows 10.
Best regards, Ivan
Can you bring up R in a shell? Do you get the same message? (Also, set your email to send plain text. HTML versions are deleted.)
On Thu, Sep 15, 2022 at 11:27 AM Farah Al Saifi <farah.alsaifi at uzh.ch> wrote:
Dear Sir/Madam
After the update of the new version of R 4.2.1, an error message ( Error in nchar(homeDir): invalid multibyte string, element 1) appears every time i open RStudio. Also the following warning message appears in the console: In normalizePath (path.expand(path), winslash, mustwork): path[1]="C:/Users/41784/oneDrive - Universit?t z?rich UZH/Dokumente": the system cannot find the given path.
I would be glad, if you can tell me the solution for this problem. Thank you for your consideration.
Best,
[[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.