Error in tools::startDynamicHelp() : internet routines cannot be loaded -- Solution

一、错误描述(Error description)

R升级版本时,在Rstudio中切换到最新版本后,重启Rstudio时会遇到bug:Error in tools::startDynamicHelp() : internet routines cannot be loaded(When upgrade the base R condition, for example R-4.12, you will got a bug, Error in tools::startDynamicHelp() : internet routines cannot be loaded)

1.进入Rstudio后,看到如下错误提示(you will sell error when got into Rstudio)

Error in tools::startDynamicHelp() : internet routines cannot be loaded

二、问题原因(problem explain)

1.表面原因(surface explain)

~\modules\x64\internet.dll文件缺失,安装过程中丢失了 (~\modules\x64\internet.dll lost in install process)

2.深层原因(deep explain)

???问了公司IT同事,说是没有限制,因此暂时不确定深层次原因( I ask IT, who don’t limit, so can’t determine the cause)

三、解决方案(solution)

1.修改安装路径(modify install path)

安装R语言时把默认安装路径C:\Program Files\R修改为C:\Users\sugs\Documents\R,sugs是指电脑用户名,每个人不一样的

(modify the default install path ‘C:\Program Files\R’ to ‘C:\Users\sugs\Documents\R’, ‘C:\Program Files\R’ demand administrator privileges, but ‘C:\Users\sugs\Documents\R’ does not demand. )

2.复制确实文件(copy ~\modules\x64\internet.dll from the old version to new version, ~\modules\x64\ has two files, internet.dll, lapack.dll)

把旧版~\modules\x64\internet.dll 复制到新版~\modules\x64\路径下面

modules\x64路径应该有两个文件,分别是:internet.dll, lapack.dll

3.重启Rstudio(Reopen Rstudio)

错误解决(The error has been solved)

1 Like

太感谢了,解决了问题 Thank you so much!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.