: [GRASS-user] Using RStudio in a GRASS GIS session
Dear community
Dear Roger
I suppose it is my name
Here the output from the console:
C:\Users\Sibylle Stöckli>
C:\Users\Sibylle Stöckli>
ERROR: Unable to read WIND file: not enough values to unpack (expected 2,
got 1)
library(rgrass)
Der
geschrieben oder
konnte nicht gefunden werden.
Kind regards
Sibylle
-Original Message-
From: Roger Bivand
Sent: Friday, April 19, 2024 4:31 PM
To: sibylle.stoec...@gmx.ch
Cc: grass-user@lists.osgeo.org
Subject: Re: [GRASS-user] Using RStudio in a GRASS GIS session
Please see: https://rs
Please see: https://rsbivand.github.io/rgrass/articles/use.html.
https://rsbivand.github.io/rgrass/articles/use.html
Do you have a GRASS location and wish to use R on the data in that location?
Then start GRASS first and start rstudio from inside GRASS.
The error messages suggest that
From: grass-user On Behalf Of Bernardo
Santos via grass-user
Sent: Friday, April 19, 2024 11:09 AM
To: Veronica Andreo ; Veronica Andreo via grass-user
; Micha Silver ; Paulo van
Breugel
Subject: Re: [GRASS-user] Using RStudio in a GRASS GIS session
Hi Sybille,
I have never tried
Hi Sybille,
I have never tried opening Rstudio from the GRASS terminal, but I know that it
is possible to open R. So as others have mentioned, you could try to first open
R (from the GRASS terminal) and within it try `library(rgrass)` (or
`install.packages("rgrass")` if it was not installed
From the message that library is not found, I wonder, did you type
GRASS> rstudio & library(grass)
all on the command line?
Just to be sure, you should ope Grass gis. And in the grass gis command line,
type
rstudio &
Next, after RStudio opens, you type the following in RStudio
; could not be found.
>
>
>
> library(rgrass)
>
>
> Der Befehl "library" ist entweder falsch geschrieben oder
>
> konnte nicht gefunden werden.
>
> (Thu Apr 18 19:59:40 2024) Command ended with non-zero return code 1 (0
> sec)
>
>
>
> K
n-zero return code 1 (0 sec)
Kind regards
Sibylle
From: Veronica Andreo
Sent: Thursday, April 18, 2024 7:56 PM
To: Micha Silver
Cc: sibylle.stoec...@gmx.ch; grass-user@lists.osgeo.org
Subject: Re: [GRASS-user] Using RStudio in a GRASS GIS session
Hello Sibylle,
Perhaps you can
Hello Sibylle,
Perhaps you can tell us some details about your operative system, which
GRASS installer you are using (i.e., standalone or OSGeo4W), how did you
start GRASS, if R and RStudio are installed.
>From your email, I do not understand why GRASS is not recognized as a
command, as it seems
Silly question, do you have the 'rgrass' library
installed?
i.e. can you do `library(rgrass)` at the R command
prompt (without rstudio)?
On 17/04/2024 21:34, sibylle via
grass-user wrote:
Dear community
To use
Dear community
To use RStudio in a GRASS GIS session I used the command line
GRASS> rstudio &
library(rgrass)
(see https://grasswiki.osgeo.org/wiki/R_statistics/rgrass)
Unfortunately I was not able to solve the error message:
- The command "GRASS" is either misspelled or
could not be found.
-
11 matches
Mail list logo