Downloading Package "Cart" in R

880 Views Asked by At

Does anybody know where I can download the R package "cart" that can help create Gastner's "Mapping with Diffusion-based Cartograms" ? I tried a install.package on R and says it's not available for R 2.15. There is a page on R-forge about it but it doesn't explain how to download the package.

Thanks.

2

There are 2 best solutions below

0
On

If you check the build page you'll see that at the moment the package fails to build. I thought it might be something minor but I've put in a little bit of work so far and it's still failing to build on my machine.

You might want to email the authors and ask them. You could also try their forum but it looks like it hasn't seen much activity lately.

0
On

Way late to the game, but from what I can tell there's not much happening for the cart package; my recent efforts with cartogramming in R have pushed me towards two alternatives: Rcartogram within R (available from the GitHub repository) and ScapeToad, a program written in JS.

Advantage of the former is that you don't have to leave R (better for long-term project management), however it's a bit arcane to use (requires converting your shapefile to a density grid & then figuring out how to use an interpolation method, etc.).

Advantage of the latter is that it's got a very simple point-and-click GUI--add shapefile, create cartogram wizard, export shapefile, voila.

Both are based on the Gastner-Newman diffusion-based algorithm.