[R] high dimensional convex hull

Greg Jefferis jefferis at stanford.edu
Tue Dec 11 02:32:17 CET 2001

Dear Ben,

There is no R package, however you can use the program qhull available at:


Unfortunately this site seems to be down a lot of the time.  An earlier
version of the program - which probably has all the functionality you need
is available at:


Assuming you can compile the software ok, you can then run it as a standard
command line application if you are in a unix environment.  David Marquette
provided me with some R code to handle calling from R - it writes out a
temporary file containing the data matrix you want to find a hull for and
then calls qhull.  Let me know if this would be of use to you.  Best wishes,


On 12/10/01 09:16, "Ben Stapley" <b.stapley at umist.ac.uk> wrote:

> Does anyone know of a R package that will determine the convex hull of a
> high-dimensional dataset (say 4-10 dimensions).  I know chull works for
> 2D data.  
> I'm neophyte to R and convex hulls so please keep it simple.
> Many thanks
> Ben

Greg Jefferis,                          Lab Address: Liqun Luo, Herrin 144
Neurosciences PhD Programme &                e-mail: jefferis at stanford.edu
Dept Biological Sciences,                       Lab: (650) 725 5809
Gilbert Biology Building,                       Fax: (650) 723 0589
371 Serra Mall,
Stanford, CA 94305-5020.                       Home: (650) 497 1135

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list