An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20101203/ec7d9c2e/attachment.pl>
gpclib problem with as.polygonal in spatstat ?
3 messages · Alexandre Villers, Marcelino de la Cruz
Hi Alexander,
Try this:
spatstat.options(gpclib=TRUE)
data(letterR)
m<- as.mask(letterR, dimyx=32)
p<- as.polygonal(m)
Cheers,
Marcelino
Con fecha 3/12/2010, "Alexandre Villers" <villers.alexandre at gmail.com>
escribi?:
Good afternoon I'm trying to convert a mask to a polygonal windows with spatstat. However, despite, the gpclibPermit() command, I get this error message: Warning message: In as.polygonal(m) : Can't convert mask to polygon: gpclib is disabled/unavailable While trying this data(letterR) m<- as.mask(letterR, dimyx=32) p<- as.polygonal(m)
sessionInfo()
R version 2.11.1 (2010-05-31) i386-pc-mingw32 locale: [1] LC_COLLATE=English_United Kingdom.1252 LC_CTYPE=English_United Kingdom.1252 LC_MONETARY=English_United Kingdom.1252 LC_NUMERIC=C LC_TIME=English_United Kingdom.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] gdata_2.8.1 gpclib_1.5-1 maptools_0.7-38 lattice_0.18-8 foreign_0.8-40 rgdal_0.6-29 sp_0.9-72 spatstat_1.21-2 deldir_0.0-13 mgcv_1.6-2 loaded via a namespace (and not attached): [1] grid_2.11.1 gtools_2.6.2 Matrix_0.999375-39 nlme_3.1-96 tools_2.11.1 Thanks for any hint Alex <http://www.mozilla-europe.org/fr/> [[alternative HTML version deleted]]
_______________________________________________ R-sig-Geo mailing list R-sig-Geo at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo
Thanks for this, I just updated the spatstat package and found out some changes in the licence.polygons()... Best regards Alex
On 3.12.2010 14:59, Marcelino de la Cruz wrote:
Hi Alexander,
Try this:
spatstat.options(gpclib=TRUE)
data(letterR)
m<- as.mask(letterR, dimyx=32)
p<- as.polygonal(m)
Cheers,
Marcelino
Con fecha 3/12/2010, "Alexandre Villers"<villers.alexandre at gmail.com>
escribi?:
Good afternoon
I'm trying to convert a mask to a polygonal windows with spatstat.
However, despite, the gpclibPermit() command, I get this error message:
Warning message:
In as.polygonal(m) :
Can't convert mask to polygon: gpclib is disabled/unavailable
While trying this
data(letterR)
m<- as.mask(letterR, dimyx=32)
p<- as.polygonal(m)
sessionInfo()
R version 2.11.1 (2010-05-31) i386-pc-mingw32 locale: [1] LC_COLLATE=English_United Kingdom.1252 LC_CTYPE=English_United Kingdom.1252 LC_MONETARY=English_United Kingdom.1252 LC_NUMERIC=C LC_TIME=English_United Kingdom.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] gdata_2.8.1 gpclib_1.5-1 maptools_0.7-38 lattice_0.18-8 foreign_0.8-40 rgdal_0.6-29 sp_0.9-72 spatstat_1.21-2 deldir_0.0-13 mgcv_1.6-2 loaded via a namespace (and not attached): [1] grid_2.11.1 gtools_2.6.2 Matrix_0.999375-39 nlme_3.1-96 tools_2.11.1 Thanks for any hint Alex <http://www.mozilla-europe.org/fr/> [[alternative HTML version deleted]]
_______________________________________________ R-sig-Geo mailing list R-sig-Geo at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo
Alexandre Villers, PhD. Postdoc researcher Spatial Ecology & Population Dynamics Section of Ecology, Department of Biology University of Turku FIN-20014 Turku Finland @mail: alexandre.villers at utu.fi phone: 00358 (0)2 333 5039 Skype You can skype me (but think of using Ekiga instead !) <skype:aquila06?call> *Use open source and free softwares* <http://cran.r-project.org/> <http://grass.itc.it/> <http://www.qgis.org/> <http://fr.openoffice.org/> <http://www.mozilla-europe.org/fr/> <http://www.mozilla-europe.org/fr/> -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20101203/0bb6e49e/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: Skypelogo.jpg Type: image/jpeg Size: 5395 bytes Desc: not available URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20101203/0bb6e49e/attachment.jpg> -------------- next part -------------- A non-text attachment was scrubbed... Name: Rlogo.jpg Type: image/jpeg Size: 1753 bytes Desc: not available URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20101203/0bb6e49e/attachment-0001.jpg> -------------- next part -------------- A non-text attachment was scrubbed... Name: GRASSlogo.png Type: image/png Size: 3277 bytes Desc: not available URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20101203/0bb6e49e/attachment.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: QGIS.png Type: image/png Size: 4144 bytes Desc: not available URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20101203/0bb6e49e/attachment-0001.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: OOlogo.gif Type: image/gif Size: 4246 bytes Desc: not available URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20101203/0bb6e49e/attachment.gif> -------------- next part -------------- A non-text attachment was scrubbed... Name: TBlogo.jpg Type: image/jpeg Size: 1385 bytes Desc: not available URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20101203/0bb6e49e/attachment-0002.jpg> -------------- next part -------------- A non-text attachment was scrubbed... Name: FFlogo.jpg Type: image/jpeg Size: 1686 bytes Desc: not available URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20101203/0bb6e49e/attachment-0003.jpg>