Re: [GRASS-user] Boxplots based on raster data in GRASS GIS

2024-04-24 Thread Roger Bivand via grass-user
S, not R, but can be installed through execGRASS(). In that case, on Windows, the R session needs to restarted. In any case, I guess that making the boxplot in R is easier, see for example: https://rsbivand.github.io/rgrass/reference/readRAST.html. -- Roger Bivand Emeritus Professor Norwegian Sch

Re: [GRASS-user] Boxplots based on raster data in GRASS GIS

2024-04-24 Thread Roger Bivand via grass-user
It is a GRASS addon, install as per: https://grass.osgeo.org/download/addons/ https://grass.osgeo.org/grass83/manuals/g.extension.html https://grass.osgeo.org/grass83/manuals/addons/r.boxplot.html -- Roger Bivand Emeritus Professor Norwegian School of Economics Postboks 3490 Ytre Sandviken

Re: [GRASS-user] Using RStudio in a GRASS GIS session

2024-04-19 Thread Roger Bivand via grass-user
before anything else. --- Roger Bivand Emeritus Professor Department of Economics Norwegian School of Economics, Bergen, Norway Fra: sibylle.stoec...@gmx.ch Sendt: fredag, april 19, 2024 5:56:04 p.m. Til: Roger Bivand Kopi: grass-user@lists.osgeo.org Emne: RE

Re: [GRASS-user] Using RStudio in a GRASS GIS session

2024-04-19 Thread Roger Bivand via grass-user
something is missing in your installation. Is your query related to https://stat.ethz.ch/pipermail/r-help/2024-April/479232.html ? -- Roger Bivand Emeritus Professor Norwegian School of Economics Postboks 3490 Ytre Sandviken, 5045 Bergen, Norway roger.biv...@nhh.no

Re: [GRASS-user] grass-7.8.5 on Fedora 33

2020-12-23 Thread Roger Bivand
$ pkg-config proj --libs --static -L/usr/local/lib -lproj -lsqlite3 -ltiff -lcurl -lstdc++ - Roger Bivand NHH Norwegian School of Economics, Bergen, Norway -- Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html ___ grass-user m

Re: [GRASS-user] [R-sig-Geo] [R] Need help using GRASS within R - error when running the script for a second time

2020-07-09 Thread Roger Bivand
he second time. In your hypothesis, I guess it shouldn't work at all. Best regards, Loïc De : Roger Bivand Envoyé : mardi 7 juillet 2020 20:20 À : Loïc Valéry Cc : Micha Silver ; r-sig-...@r-project.org ; grass-user Objet : Re: [R-sig-Geo] [R] Need help using GRASS within R - error w

Re: [GRASS-user] [R-sig-Geo] [R] Need help using GRASS within R - error when running the script for a second time

2020-07-07 Thread Roger Bivand
at to set the project parameters for the new LOCATION, with execGRASS("g.proj", flags = "c", proj4 = p4str) Now you should be able to continue with... execGRASS("v.generalize",flag=c("overwrite"),parameters=list(input="vec1", +  

Re: [GRASS-user] rgrass7 syntax for passing a command

2016-04-29 Thread Roger Bivand
5, 218835", tf) execGRASS("v.in.ascii", input=tf, output="outlet1", separator=",", flags="n") which is closer to your script but less natural. Yes, grass-stats is a more appropriate list. Roger - Roger Bivand NHH Norwegian School of Economics, Be

[GRASS-user] Re: Natural breaks classification

2012-05-18 Thread Roger Bivand
Since all Spatial*DataFrame objects behave link data.frame objects, you can say: DTM<- readRAST6("DTM@mapset", ignore.stderr=TRUE) DTM_class <- classIntervals(DTM.df$varOfInterest, n=5, style="fisher") However, if nrow(DTM) is large, you may find that the "natural breaks" classifications take a l

[GRASS-user] Re: spgrass6

2012-02-22 Thread Roger Bivand
Just 2k may mean 4 million rectangles. R display is vector, hard-copy, with some recent support for raster grids when the rectangles are in fact square. As has been said, the graphics engine is not designed for fast screen output, but for scientific statistical graphics. spplot uses lattice graph

[GRASS-user] Re: readVECT6 in R under GRASS

2011-10-24 Thread Roger Bivand
t_field_name_encoding) : >> Cannot open layer >> >> How can I fix the problem? >> >> Thanks. >> >> Salvatore >> > > ___ > grass-user mailing list > grass-user@.osgeo > http://lists.osgeo.org/mailman/listinfo/grass-user >

[GRASS-user] Re: Error running GRASS from R

2011-07-19 Thread Roger Bivand
ht in the initGRASS > command. > > I hope you can help me with one. I have no clue what to do! > > Thanks in advance, > > Tim > > > > _______ > grass-user mailing list > grass-user@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/grass-user >

[GRASS-user] Re: Download the new release 6.4.0

2010-09-12 Thread Roger Bivand
h. obviously there's demand for it. > > > Hamish > > > > > ___ > grass-user mailing list > grass-user@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/grass-user > > - Roger Bivand Economic Geography Section Department of Economics Norwegian Scho

[GRASS-user] Re: Installing spgrass6 package - Errors and warnings

2010-09-12 Thread Roger Bivand
gt; 2: In install.packages("spgrass6", dependencies = TRUE) : > installation of package 'XML' had non-zero exit status > 3: In install.packages("spgrass6", dependencies = TRUE) : > installation of package 'spgrass6' had non-zero exit status > &

Re: [GRASS-user] Retaining holes in buffers

2010-01-26 Thread Roger Bivand
h to add the menu location between the option summary and the description.html part of the module help pages. It's doable, it just takes some Makefile magic. Hamish -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administra

[GRASS-user] Retaining holes in buffers

2010-01-25 Thread Roger Bivand
kie-cutter was cutting the island too, and should have avoided the hole. I'd be very grateful for leads. Roger PS. Where is v.to.rast on the wx menu system? -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Ad

Re: [GRASS-user] R and GRASS-windows (readRAST6 problem, installation)

2009-11-02 Thread Roger Bivand
this for GISDBASE and location variants that do work. Roger Bivand wrote: > > For questions of this kind, please use the statgrass list. > > When you repeat your question on that list, please include sessionInfo() > with all information including your locale, and full GRASS details,

Re: [GRASS-user] R and GRASS-windows (readRAST6 problem, installation)

2009-11-02 Thread Roger Bivand
name. So probably it would be a good idea to change > "GIS DataBase" to "GISDataBase". But then there is still the blank in > "My Documents"! > > Can anyone confirm this, and should I file a bug report? > > Martin > _______

Re: [GRASS-user] R and GRASS (readVECT6 problem)

2009-10-29 Thread Roger Bivand
anybody have the same error and can give a hint, why this error > occures? > > Martin > ___ > grass-user mailing list > grass-user@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/grass-user > > - Roger Bivand Eco

Re: [GRASS-user] problem on vectorizing a float point raster

2009-06-10 Thread Roger Bivand
lays of Ii for increasing values of size." Roger Roger Bivand wrote: > > I think that r.to.vect wants to build a line structure, like river > channels, but sees all the raster cells occupied, so no linear structure, > and the advice to thin first is then appropriate. If this is

Re: [GRASS-user] problem on vectorizing a float point raster

2009-06-09 Thread Roger Bivand
properly. >Please run r.thin. > By the way, I am running grass under a WinXp 64bit. > Any help are welcome. > > Cheers > > milton > brazil=toronto > > _______ > grass-user mailing list > grass-user@lists.os

Re: [GRASS-user] passing output from GRASS to R.

2009-05-05 Thread Roger Bivand
> So: >> > rasterfiles <- read.table(textConnection(system("g.mlist rast >> pattern="*_output_*",intern = TRUE))) >> > str(rasterfiles) >> >> >> >> > By the way, I am running GRASS inside MSYS, under windows. >> >> Pleas

Re: [GRASS-stats] Re: [GRASS-user] Testing i.pca (continued...)

2009-04-29 Thread Roger Bivand
that the means are all zero? You will find reading imagery/i.pca/main.c interesting and not hard. Roger Cheers, Nikos -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 Bergen, Norway. voice:

[GRASS-user] Re: GRASS & R : g.region command not found

2009-04-06 Thread Roger Bivand
Milton Cezar Ribeiro gmail.com> writes: > > > Dear all, >   > I am running grass65 under MSYS under Vista. > After launch MSYS  / GRASS / R, I get the information about > mapset without problem. But as my raster image are very large, > R can support the file. >   > But when I try run system("g

Re: [GRASS-stats] Re: [GRASS-user] Testing i.pca ~ prcomp(), m.eigensystem ~ princomp()

2009-03-10 Thread Roger Bivand
regards, Nikos ___ grass-stats mailing list grass-st...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-stats -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 Bergen, Norway. voice:

[GRASS-user] Re: Using R to check points in polygons does not work

2008-03-04 Thread Roger Bivand
Corrado york.ac.uk> writes: > > Dear friends, > > Platform: Ubuntu 7.10, Grass 6.2.3,PostgresSQL 8.2,R 2.6.2 > > Yes, I am in a hurry. If I do not solve it by tomorrow, then it is back to > ARCGIS I am afraid. It is not my will, of course, but the project's leader is > already not keen on sw

[GRASS-user] Re: Using R to check points in polygons does not work

2008-03-04 Thread Roger Bivand
Corrado york.ac.uk> writes: > > Dear friends, > > I attempted to solve the problem using R, as Hamish suggested. > > Because there are some ring direction changes in the shape files, the > conversion to polylist returns "NA" in some fields. When I run inout() on > those list elements the fun

Re: [GRASS-stats] Re: [GRASS-user] grass/stats mapping/prediction question

2007-12-19 Thread Roger Bivand
On Wed, 19 Dec 2007, Dylan Beaudette wrote: On Wednesday 19 December 2007, Roger Bivand wrote: On Wed, 19 Dec 2007, Daniel McInerney wrote: The original questioner should have written to the grass-stats list in the first place - thanks for CC-ing. See below for inline comments: Hi Andy

Re: [GRASS-stats] Re: [GRASS-user] grass/stats mapping/prediction question

2007-12-19 Thread Roger Bivand
) Hope this helps, Roger outmap <- predict(tree,newdata=mypredDF, type="class") -------- ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman

[GRASS-user] Re: Start R w/in Cygwin and Native WinGrass?

2007-12-05 Thread Roger Bivand
attglobal.net> writes: > > Hi all, > > I use window for my work computers so I have been using Grass under Cygwin and the latest native WinGrass and R > for windows. By the way the WinGrass RC3 look GREAT > > I want to use the R package spgrass6. Can/How do I start windows R within cygw