installing Rcartogram packages - error message

前端 未结 2 981
小鲜肉
小鲜肉 2020-12-19 09:26

I am trying to build a cartogram like here

Installation from the link does not work:

`install.packages(\'Rcartogram\', repos = \'http://www.omegahat.         


        
2条回答
  •  太阳男子
    2020-12-19 09:42

    To install Rcartogram, you need to download the package from the website http://www.omegahat.org/Rcartogram/ and install it from source. Open your Terminal (in Windows, it’s called Command Prompt), change directory to where the downloaded file is and type: R CMD INSTALL Rcartogram_0.2-2.tar.gz

    That command is to install an R package from source. You will need a working C complier for the purpose. From your error messages, it looks like you have some problems with our C complier. Make sure if it works (or you have one). Check out this question: C compiler for Windows?

提交回复
热议问题