Skip to content

Problem with installing packages in R

3 messages · Farah Al Saifi, Ivan Krylov, Eric Berger

#
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,
#
On Wed, 14 Sep 2022 15:49:18 +0000
Farah Al Saifi <farah.alsaifi at uzh.ch> wrote:

            
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.
#
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: