I am trying to use the Rcartogram package. After following the instructions in the answer by Geoff, I received an error that I can't resolve:
C:\R\R-3.2.3\library\Rcartogram>R CMD INSTALL --debug .
processing '.'
a directory
* installing to library 'C:/R/R-3.2.3/library'
* build_help_types=
* DBG: 'R CMD INSTALL' now doing do_install()
* created lock directory 'C:/R/R-3.2.3/library/00LOCK-Rcartogram'
ERROR: cannot install to srcdir for package 'Rcartogram'
* removing C:/R/R-3.2.3/library/Rcartogram
I have tried running R CMD INSTALL
in other directories, as well as changing the flags as suggested in the linked answer. They either return the same error, or an error that there is no packages specified. What can I do to debug this error?
sessionInfo()
R version 3.2.3 (2015-12-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
locale:
[1] LC_COLLATE=English_Australia.1252 LC_CTYPE=English_Australia.1252
[3] LC_MONETARY=English_Australia.1252 LC_NUMERIC=C
[5] LC_TIME=English_Australia.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] tools_3.2.3
sessionInfo
hope it helps – Sandler--preclean
flag? From very faded memory I used to hit problems after I'd been trying and failing to compile Rcartogram, and cleaning out all the intermediate files and starting again from scratch seemed to help. Confess I'm just guessing though. – Isodevtools::install_github('Geoff99/Rcartogram')
in R to use your forked package. What else should I try first? – Sandlerinstall.packages
approach from inside R. Alternatively try the forked version of Rcartogram mentioned above, and follow the instructions (included in the README.WindowsInstall.Tutorial.Rmd file of the forked version) for using the Winbuilder service. I'll try and refresh my memory of how it all works over the next few days, but I can't promise anything. Maybe someone else can help ... – Iso