<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Thanks for this,<br>
<br>
I just updated the spatstat package and found out some changes in
the licence.polygons()...<br>
Best regards<br>
<br>
Alex<br>
<br>
<br>
On 3.12.2010 14:59, Marcelino de la Cruz wrote:
<blockquote
cite="mid:sKxdve4P.1291381190.5383800.marcelino.delacruz@upm.es"
type="cite">
<pre wrap="">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" <a class="moz-txt-link-rfc2396E" href="mailto:villers.alexandre@gmail.com"><villers.alexandre@gmail.com></a>
escribió:
</pre>
<blockquote type="cite">
<pre wrap="">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)
</pre>
<blockquote type="cite">
<pre wrap=""> sessionInfo()
</pre>
</blockquote>
<pre wrap="">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
<a class="moz-txt-link-rfc2396E" href="http://www.mozilla-europe.org/fr/"><http://www.mozilla-europe.org/fr/></a>
[[alternative HTML version deleted]]
_______________________________________________
R-sig-Geo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:R-sig-Geo@r-project.org">R-sig-Geo@r-project.org</a>
<a class="moz-txt-link-freetext" href="https://stat.ethz.ch/mailman/listinfo/r-sig-geo">https://stat.ethz.ch/mailman/listinfo/r-sig-geo</a>
</pre>
</blockquote>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<address> Alexandre Villers, PhD. <br>
Postdoc researcher<br>
Spatial Ecology & Population Dynamics<br>
Section of Ecology, Department of Biology<br>
University of Turku<br>
FIN-20014 Turku<br>
Finland<br>
<br>
@mail: alexandre.villers@utu.fi<br>
phone: 00358 (0)2 333 5039<br>
<br>
Skype <a href="skype:aquila06?call"><img
src="cid:part1.03060102.00060807@gmail.com" style="border:
medium none;" alt="You can skype me (but think of using
Ekiga instead !)" height="50"></a></address>
<br>
<b>Use open source and free softwares</b><br>
<a href="http://cran.r-project.org/" title="R statistical
software"><img style="border-color: rgb(255, 255, 255);"
src="cid:part2.08010505.09060402@gmail.com" height="50"></a><spacer>
<a href="http://grass.itc.it/" title="GIS software for data
processing, easily replaces ArcMap and Mapinfo"><img
style="border-color: rgb(255, 255, 255);"
src="cid:part3.07000909.06030706@gmail.com" height="50"></a>
<a href="http://www.qgis.org/" title="GIS visualization, easily
replaces ArcMap or Mapinfo"><img style="border-color: rgb(255,
255, 255);" src="cid:part4.05010602.01070204@gmail.com"
height="50"></a> <spacer>
<a href="http://fr.openoffice.org/" title="Stop using Microsoft
Office !"><img style="border-color: rgb(255, 255, 255);"
src="cid:part5.06070008.00060803@gmail.com" height="50"></a>
<a href="http://www.mozilla-europe.org/fr/" title="Stop using
Microsoft Outlook !"><img style="border-color: rgb(255, 255,
255);" src="cid:part6.09050606.07030804@gmail.com" height="50"></a>
<a href="http://www.mozilla-europe.org/fr/" title="Stop using
Microsoft Internet Explorer !"><img style="border-color:
rgb(255, 255, 255);"
src="cid:part7.02050409.05020109@gmail.com" height="50"></a>
</div>
</body>
</html>