Error: Maximal number of DLLs reached

后端 未结 4 724
甜味超标
甜味超标 2020-12-10 10:51

I\'m writing an R package which depends upon many other packages. When I load too many packages into the session I frequently got this error:

Error in dyn.lo         


        
4条回答
  •  心在旅途
    2020-12-10 11:20

    As of R 3.4, you can set a different max number of DLLs using and environmental variable R_MAX_NUM_DLLS. From the release notes:

    The maximum number of DLLs that can be loaded into R e.g. via dyn.load() can now be increased by setting the environment variable R_MAX_NUM_DLLS before starting R.

提交回复
热议问题