Re: [Qgis-user] Where is R in QGIS Sextante

2012-11-23 Thread Manuel Spínola
Yes, no problem, but my script is for working in RStudio, I don't know how
to do it in R SEXTANTE or ManageR.

##

library(adehabitatHR)

the data set is called mam

 head(mam)
  Especie  X.coord Y.coord
1Canis familiaris 322988.0 1212817
2 Caluromys derbianus 325730.6 1203590
3 Mamifero sp 321659.7 1216665
4 Mamifero sp 322918.3 1213156
5Didelphis sp 323609.1 1211597
6 Mamifero sp 325512.2 1203657

# con adehabitatHR

xy - c(mam$X.coord, mam$Y.coord)
xyspm - matrix(xy, ncol=2)
xyspm
xysp - SpatialPoints(xyspm)
plot(xysp, pch = 16, col = red)

ud - kernelUD(xysp)
ud
image(ud)

# Estimating the home range from the UD

homerange - getverticeshr(ud)
class(homerange)

plot(homerange, col = red)

vud - getvolumeUD(ud)
vud

image(vud)
contour(vud)


2012/11/20 simbamangu simbamangu+os...@gmail.com

 Could you share the code here or as a page on the  QGIS wiki how-tos
 http://hub.qgis.org/wiki/quantum-gis/Users_Corner#HowTos  ?



 --
 View this message in context:
 http://osgeo-org.1560.n6.nabble.com/Where-is-R-in-QGIS-Sextante-tp5016411p5017669.html
 Sent from the Quantum GIS - User mailing list archive at Nabble.com.
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user




-- 
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspin...@una.ac.cr
mspinol...@gmail.com
Teléfono: (506) 2277-3598
Fax: (506) 2237-7036
Personal website: Lobito de río https://sites.google.com/site/lobitoderio/
Institutional website: ICOMVIS http://www.icomvis.una.ac.cr/
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Where is R in QGIS Sextante

2012-11-23 Thread Filipe Dias
Hi
R Sextante imports data via readogr () and writes them with (library
rgdal). So your function has to accept an input created by readogr() and to
export it as an ouput that writeogr() can write.

After you've done that it's easy to put in Sextante. The instructions made
by Victor are quite clear but I can help if necessary.

Regards



On Fri, Nov 23, 2012 at 4:28 PM, Manuel Spínola mspinol...@gmail.comwrote:

 Yes, no problem, but my script is for working in RStudio, I don't know how
 to do it in R SEXTANTE or ManageR.

 ##

 library(adehabitatHR)

 the data set is called mam

  head(mam)
   Especie  X.coord Y.coord
 1Canis familiaris 322988.0 1212817
 2 Caluromys derbianus 325730.6 1203590
 3 Mamifero sp 321659.7 1216665
 4 Mamifero sp 322918.3 1213156
 5Didelphis sp 323609.1 1211597
 6 Mamifero sp 325512.2 1203657

 # con adehabitatHR

 xy - c(mam$X.coord, mam$Y.coord)
 xyspm - matrix(xy, ncol=2)
 xyspm
 xysp - SpatialPoints(xyspm)
 plot(xysp, pch = 16, col = red)

 ud - kernelUD(xysp)
 ud
 image(ud)

 # Estimating the home range from the UD

 homerange - getverticeshr(ud)
 class(homerange)

 plot(homerange, col = red)

 vud - getvolumeUD(ud)
 vud

 image(vud)
 contour(vud)


 2012/11/20 simbamangu simbamangu+os...@gmail.com

 Could you share the code here or as a page on the  QGIS wiki how-tos
 http://hub.qgis.org/wiki/quantum-gis/Users_Corner#HowTos  ?



 --
 View this message in context:
 http://osgeo-org.1560.n6.nabble.com/Where-is-R-in-QGIS-Sextante-tp5016411p5017669.html
 Sent from the Quantum GIS - User mailing list archive at Nabble.com.
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user




 --
 *Manuel Spínola, Ph.D.*
 Instituto Internacional en Conservación y Manejo de Vida Silvestre
 Universidad Nacional
 Apartado 1350-3000
 Heredia
 COSTA RICA
 mspin...@una.ac.cr
 mspinol...@gmail.com
 Teléfono: (506) 2277-3598
 Fax: (506) 2237-7036
 Personal website: Lobito de ríohttps://sites.google.com/site/lobitoderio/
 Institutional website: ICOMVIS http://www.icomvis.una.ac.cr/

 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Where is R in QGIS Sextante

2012-11-20 Thread simbamangu
Could you share the code here or as a page on the  QGIS wiki how-tos
http://hub.qgis.org/wiki/quantum-gis/Users_Corner#HowTos  ?



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Where-is-R-in-QGIS-Sextante-tp5016411p5017669.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Where is R in QGIS Sextante

2012-11-17 Thread Paolo Cavallini
Il 16/11/2012 18:41, Manuel Spínola ha scritto:
 Thank you very much Werner.
 
 I wrote a very simple script to do a kernel (through adehabitatHR), how can I

Hi Manuel,
would you mind sharing it?
Thanks.
-- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc
Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Where is R in QGIS Sextante

2012-11-16 Thread Manuel Spínola
Thank you very much Werner.

I wrote a very simple script to do a kernel (through adehabitatHR), how can
I excecute the code?

Best,

Manuel


2012/11/15 Werner Macho werner.ma...@gmail.com

 On 15/11/12 16:52, Manuel Spínola wrote:
  Thank you very much Gene.
 
  I remember there was an R icon on the Sextante menu, but I cannot see
  it right now.  I have R installed in my computer.
 
  In this link it shows a screenshot where you can see R within the
  SEXTANTE menu.
 
 Hi!

 You have to go to Analysis - SEXTANTE Options and configuration - R
 scripts - Activate ..

 Then you should have R available again ..

 HTH

 kind regards
 Werner

 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user




-- 
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspin...@una.ac.cr
mspinol...@gmail.com
Teléfono: (506) 2277-3598
Fax: (506) 2237-7036
Personal website: Lobito de río https://sites.google.com/site/lobitoderio/
Institutional website: ICOMVIS http://www.icomvis.una.ac.cr/
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Where is R in QGIS Sextante

2012-11-15 Thread Manuel Spínola
Thank you very much Gene.

I remember there was an R icon on the Sextante menu, but I cannot see it
right now.  I have R installed in my computer.

In this link it shows a screenshot where you can see R within the SEXTANTE
menu.

http://press.underdiverwaterman.com/qgis-with-r-working-with-the-sextante-plugin/

Best,

Manuel


2012/11/15 gene martin.lal...@gmail.com

 R has nothing to do with Sextante which only use it. You must install it
 (see
 http://hub.qgis.org/issues/6029 http://hub.qgis.org/issues/6029  )



 --
 View this message in context:
 http://osgeo-org.1560.n6.nabble.com/Where-is-R-in-QGIS-Sextante-tp5016411p5016478.html
 Sent from the Quantum GIS - User mailing list archive at Nabble.com.
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user




-- 
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspin...@una.ac.cr
mspinol...@gmail.com
Teléfono: (506) 2277-3598
Fax: (506) 2237-7036
Personal website: Lobito de río https://sites.google.com/site/lobitoderio/
Institutional website: ICOMVIS http://www.icomvis.una.ac.cr/
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Where is R in QGIS Sextante

2012-11-15 Thread Werner Macho
On 15/11/12 16:52, Manuel Spínola wrote:
 Thank you very much Gene.

 I remember there was an R icon on the Sextante menu, but I cannot see
 it right now.  I have R installed in my computer.

 In this link it shows a screenshot where you can see R within the
 SEXTANTE menu.

Hi!

You have to go to Analysis - SEXTANTE Options and configuration - R
scripts - Activate ..

Then you should have R available again ..

HTH

kind regards
Werner

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Where is R in QGIS Sextante

2012-11-15 Thread MARIO ROBERTO PADILLA RAUDALES
Con mucho gusto ya sabes

2012/11/15 Manuel Spínola mspinol...@gmail.com

 Thank you very much Gene.

 I remember there was an R icon on the Sextante menu, but I cannot see it
 right now.  I have R installed in my computer.

 In this link it shows a screenshot where you can see R within the SEXTANTE
 menu.


 http://press.underdiverwaterman.com/qgis-with-r-working-with-the-sextante-plugin/

 Best,

 Manuel


 2012/11/15 gene martin.lal...@gmail.com

 R has nothing to do with Sextante which only use it. You must install it
 (see
 http://hub.qgis.org/issues/6029 http://hub.qgis.org/issues/6029  )



 --
 View this message in context:
 http://osgeo-org.1560.n6.nabble.com/Where-is-R-in-QGIS-Sextante-tp5016411p5016478.html
 Sent from the Quantum GIS - User mailing list archive at Nabble.com.
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user




 --
 *Manuel Spínola, Ph.D.*
 Instituto Internacional en Conservación y Manejo de Vida Silvestre
 Universidad Nacional
 Apartado 1350-3000
 Heredia
 COSTA RICA
 mspin...@una.ac.cr
 mspinol...@gmail.com
 Teléfono: (506) 2277-3598
 Fax: (506) 2237-7036
 Personal website: Lobito de ríohttps://sites.google.com/site/lobitoderio/
 Institutional website: ICOMVIS http://www.icomvis.una.ac.cr/

 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Where is R in QGIS Sextante

2012-11-14 Thread Manuel Spínola
Dear list members,

Where is R in QGIS Sextante?

I am using MAC iOS lion and QGIS 1.8.0

Best,

Manuel


-- 
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspin...@una.ac.cr
mspinol...@gmail.com
Teléfono: (506) 2277-3598
Fax: (506) 2237-7036
Personal website: Lobito de río https://sites.google.com/site/lobitoderio/
Institutional website: ICOMVIS http://www.icomvis.una.ac.cr/
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Where is R in QGIS Sextante

2012-11-14 Thread gene
R has nothing to do with Sextante which only use it. You must install it (see 
http://hub.qgis.org/issues/6029 http://hub.qgis.org/issues/6029  )



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Where-is-R-in-QGIS-Sextante-tp5016411p5016478.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user