Skip to content
Prev 5825 / 29559 Next

Problems loading hydrosanity package

On Thu, 28 May 2009, BRWIN338 at aol.com wrote:

            
The package description does say that it is "under development and should 
not be considered stable", seems honest. Look at the code in its URL:

http://code.google.com/p/hydrosanity/source/browse/trunk/R/spatial_functions.R

find the function and its dependencies, load sp first, and probably a 
matrix of boundary coordinates for a representation that has a coercion 
method to gpc.poly, your point matrix, a vector of IDs, and source the 
function locally. That avoids resolving all the dependencies needed for 
the GUI in the package, and ought to work. Watch the min.area.pct= 
argument as small polygons may go away.

Should work with some tweaking.

Roger