ggplot2 Error in initFields

后端 未结 3 1345
半阙折子戏
半阙折子戏 2021-01-18 10:01

The function ggplotfrom package ggplot2 gives the following error:

Error in initFields(scales = scales) : 
cannot find function \"initRefFields\"
         


        
3条回答
  •  太阳男子
    2021-01-18 10:51

    Both @Agnus and @Amy seem to have had a problem with their installation/upgrade. Note that in both cases, the version of grid and tools listed is 2.14.0. These two packages ship with base R and should have the same version as R (2.14.2 or 2.15.0). This indicates to me that the standard packages did not get installed correctly, or something is causing the R installation to look in the wrong place for the core libraries.

    I'm not sure what could cause this, or how to fix it short of installing the standard R (Windows, in both cases) distribution (again).

提交回复
热议问题