我在互联网上查找一些解决方案后尝试安装构建必备工具,但仍然收到此错误消息:

free(): invalid pointer
Aborted (core dumped)
ERROR: loading failed
* removing ‘/home/manvi/R/x86_64-pc-linux-gnu-library/3.4/raster’
Warning in install.packages :
  installation of package ‘raster’ had non-zero exit status
ERROR: dependency ‘raster’ is not available for package ‘rasterVis’
* removing ‘/home/manvi/R/x86_64-pc-linux-gnu-library/3.4/rasterVis’
Warning in install.packages :
  installation of package ‘rasterVis’ had non-zero exit status