search for: gpclib

Displaying 20 results from an estimated 39 matches for "gpclib".

2007 Apr 04
1
gpclib library
Hi all, I'm tring to download the gpclib library but I don't find it in the old repository install.packages(c("gpclib"), dependencies=TRUE, repos="http://cran.cnr.berkeley.edu/") Avviso in install.packages(c("gpclib"), dependencies = TRUE, repos = "http://cran.cnr.berkeley.edu/") : arg...
2007 Jun 15
1
gpclib problem
Hi all, I am trying to test the new adehabitat package but I have a problem with a linked library, "gpclib". When I try do install it I have this output: install.packages("gpclib", dependencies=TRUE, repos="http://cran.cnr.berkeley.edu/") Avviso in install.packages("gpclib", dependencies = TRUE, repos = "http://cran.cnr.berkeley.edu/") : argument 'lib...
2004 May 11
2
How to draw holes generated by gpclib using plot function
Hi. I've tried to create a polygon with one hole by gpclib using following example script. holepoly <- read.polyfile(system.file("poly-ex/hole-poly.txt", package ="gpclib"), nohole = FALSE) area.poly(holepoly) plot(holepoly,poly.args=list(col="red",border="blue")) And I noticed plot function couldn't dra...
2003 Jan 08
0
New package: gpclib
I have just uploaded a package to CRAN called `gpclib' for clipping large and complex polygons. This package provides an R interface to Alan Murta's very fast General Polygon Clipper library (written in C), which has an optimized version of the Vatti algorithm. Not all features of Murta's library are implemented -- right now you can do in...
2003 Jan 08
0
New package: gpclib
I have just uploaded a package to CRAN called `gpclib' for clipping large and complex polygons. This package provides an R interface to Alan Murta's very fast General Polygon Clipper library (written in C), which has an optimized version of the Vatti algorithm. Not all features of Murta's library are implemented -- right now you can do in...
2003 Jan 14
1
install problem: gpclib
Dear list, I face some problems installing gpclib_1.0-1.tar.gz: R-161 R : Copyright 2002, The R Development Core Team Version 1.6.1 (2002-11-01) [...] system("R CMD INSTALL gpclib_1.0-1.tar.gz") WARNING: ignoring environment value of R_HOME ERROR: This R is version 1.5.0 package 'gpclib' depends on R 1.6.1 The same hap...
2011 Jul 22
1
Start-up messages when Importing from a package
...file as follow: importFrom("sp", proj4string, coordinates) The package is built without any problem, but when I load the package, I get the following message: " Loading required package: sp Note: polygon geometry computations in maptools depend on the package gpclib, which has a restricted licence. It is disabled by default; to enable gpclib, type gpclibPermit() Checking rgeos availability as gpclib substitute: TRUE " However, if I only load the 'sp' package (in a different R session), I don't get any warning message. I...
2003 Oct 23
2
GIS re-mapping / polygon overlap
...ta of Unemployment Boundaries and/or Administrative Boundaries AND - is there a general function in R available to map demographic data between two boundary systems OR - is there an efficient R function that can determine the amount of area overlap between two general polygons (beyond gpclib) I am willing to share developed code for this problem (that's why I would prefer gpl code over gpclib, which is not really free) Thanks for any help Jens Oehlschl?gel -- NEU F?R ALLE - GMX MediaCenter - f?r Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gru?, GMX Foto...
2010 Jul 08
0
0 exit status on packages update try
...Loading required package: zoo Loading required package: stats Loading required package: chron Loading required package: maptools Loading required package: foreign Loading required package: sp Loading required package: lattice Note: polygon geometry computations in maptools depend on the package gpclib, which has a restricted licence. It is disabled by default; to enable gpclib, type gpclibPermit() Checking rgeos availability as gpclib substitute: FALSE General Polygon Clipper Library for R (version 1.5-1) Type 'class ? gpc.poly' for help [1] TRUE * installing *source* package ?sp?...
2010 Jun 02
2
Faster union of polygons?
...lygons (not necessarily convex ones, and they never have holes) given by x,y coordinates. I want to get the polygon that is the union of these polygons. This is my current method, but I am hoping there is a faster method (up to thousands of polygons, each with ca. 40 xy points). Example: library(gpclib) # A polygon leaf <- structure(c(0, 1, 12.9, 16.5, 18.8, 17, 16.8, 15.5, 12.1, 8.2, 6.3, 5, 2, 0, -1.5, -4.3, -6.6, -10.3, -14.8, -19.4, -22.2, -23.5, -22.2, -17.6, -7.8, 0, 0, -2.4, 2.8, 8.9, 19.9, 33.9, 34.8, 40.4, 49.7, 69.2, 77.4, 83.4, 91.4, 99, 92.8, 87.3, 81.2, 71.1, 57.6, 45.4, 39.2, 26...
2005 Nov 01
4
S4 classes in existing packages
R-devel, I'm interested in looking at some examples of existing R packages that rely heavily on S4 classes to get a feel for varying styles and package organization techniques. Could you recommend any packages that might serve as a good starting point? Thanks in advance, Jeff
2005 Nov 01
4
S4 classes in existing packages
R-devel, I'm interested in looking at some examples of existing R packages that rely heavily on S4 classes to get a feel for varying styles and package organization techniques. Could you recommend any packages that might serve as a good starting point? Thanks in advance, Jeff
2010 Jul 14
2
qplot in ggplot2 not working any longer - (what did I do?)
...LC_MESSAGES=en_US.utf8 [7] LC_PAPER=en_US.utf8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.utf8 LC_IDENTIFICATION=C attached base packages: [1] graphics grDevices utils datasets stats grid methods [8] base other attached packages: [1] gpclib_1.5-1 StreamMetabolism_0.03-3 maptools_0.7-34 [4] lattice_0.18-8 sp_0.9-64 foreign_0.8-40 [7] chron_2.3-35 zoo_1.6-3 vegan_1.17-3 [10] ggplot2_0.8.8 proto_0.3-8 reshape_0.8.3 [13] plyr_0.1.9 .Rprofile: #source USGS...
2009 Jun 10
1
gpc.poly datatype
I have a list of polygons generated by the contourLines() command (each object of the list is a list in itself with two objects: a vector of x values, and a vector of y values for each vertex). I wish to convert that list into a gpc.poly object of multiple contours. How do I do this? gpclib apparently has no method of coercing lists into the gpc.poly object type. As well, when I have a gpc.poly object, I can view the points using the get.pts() command, but cannot find a way of only extracting the x values of a polygon (or the y values, for that matter). How do I do this? Any help w...
2008 Nov 19
1
rkward on Ubuntu heron with R2.8.0
...he default (2.6) in the Ubuntu heron repository by adding deb http://cran.stat.sfu.ca/bin/linux/ubuntu hardy/ I updated all packages installed in /usr/lib/R/site-library and those in my home directory /home/duncan/R/i486-pc-linux-gnu-library/2.6 without obvious issues. I installed adehabitat and gpclib, which should be good tests as they depend on the Matrix package. However I have now lost the use of rkward. rkward /usr/bin/rkward.bin error while loading shared libraries: libRlapack.so: cannot open shared object file: No such file or directory I tried adding a backport repository deb http:...
2010 May 09
1
Plot polygon in 3D with rgl
Dear R-helpers, an rgl-ers in particular, what is the easiest way to plot a section of a plane in 3D, that is given by the xyz coordinates of the outline? Suppose I have a polygon - which I know for sure is a set of coordinates on the same plane. One method I found is to use surf.tri from the geometry package, and then plot the triangles with rgl.triangles. This method is not perfect though,
2013 Jan 24
3
Implications of a Dependency on a GPLed Package
...age (a restriction that is incompatible with the GPL), but states an explicit dependency on the MASS package (which is not a "base" package and released under the GPL). Furthermore, several packages also prohibit commercial use, but list an explicit dependency on the methods package (e.g. gpclib, isa2, optmatch). As all of these packages are on CRAN, and at least one author is also a core R contributor (Duncan Murdoch for gpclib), I assume that the CRAN maintainers and/or the R Foundation do not consider these packages to violate the GPL, and therefore also do not agree with the FSF inter...
2010 Jun 09
1
[R-sig-Geo] How to extract coordinates values from a shapefile?
I'm not sure if this is what you want. But the function coordinates() in sp package gives you the coordinates of SpatialObjects. Regards. Rodrigo. 2010/6/9 Nikhil Kaza <nikhil.list@gmail.com> > You need to execute gpclibPermit() to enable gpclib. > > library(maptools) should have issued a warning to that effect. > > > Nikhil Kaza > Asst. Professor, > City and Regional Planning > University of North Carolina > > nikhil.list@gmail.com > > On Jun 9, 2010, at 3:34 PM, Thiago Veloso...
2003 Feb 19
3
Rcmd check does not recognize formal generic function as code object
...omething that need a documentation entry? The document "Writing R Extensions" doesn't cover formal methods and classes, and I haven't found any other documentation that covers writing packages using formal methods. I am working from looking at code in Bioconductor, pixmap and gpclib. I downloaded source for pixmap and confirmed that it has the same problem with rcmd check that I mention here. Any advice gratefully received, including any tips about how to write organise .Rd files for generic methods. Thanks Gordon -------------------------------- test.R ------------------...
2009 Jun 10
0
License quandry in the Fedora sub-space of all R packages
...ome up with a 'bootstrap' method to solve the 'check' phase BuildRequires issue cleanly and traceably, and can outline it if anyone else needs a solution To the license questionable packages, then: R-acepack 'ace is on Statlib' R-mapproj non-commercial purposes only R-gpclib further review needed R-mlbench further review needed R-tcltk2 further review needed ... these three have a field: file LICENSE which I need to read in each case R-akima Fortran code: ACM, free for non-commercial use, R functions GPL ... which confuses me mightily as a 'de...