I'm suffering from a lot of errors in R.

Asked 2 years ago, Updated 2 years ago, 36 views

When I try to load the library of rgl, I get the following error:
I have already verified that xfun is also in the win-library and R's library folder, and I have reinstalled xfun and rgl several times, so I don't know why.
I have also installed rds just in case.

Error: package or namespace load failed for 'rgl' in library.dynam (lib, package, package.lib):
  DLL 'xfun' not found: Is it not installed for this architecture?

We just downloaded R yesterday.
The packages we have installed so far are as follows:

Enter a description of the image here

Run Environment
Windows 10 Enterprise (64bit) 21H1 R4.2.0
RStudio Desktop 2022.02.2+485

add
Uninstall and reinstall R,Rstudio,rtools and
When I tried to install.packages, I got the following error:
It's worse than the previous situation...

Error install.packages:error reading from connection

r

2022-09-30 17:34

1 Answers

Using R in Japanese version of Windows is exhausting due to a lot of trouble with the character code, so
How about using the Linux version with Docker?
In particular, the rocker project image is recommended because many libraries have been build-validated from the start and have less trouble.

After installing Docker for Windows,

docker run-d-p 8787:8787 rocker/verse

After you type , you can start using it simply by opening localhost:8787 in a modern browser.

RStudio was originally built like a web app using QtWebEngine (migrating to Electron), so
The server version feels almost the same.


2022-09-30 17:34

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.