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

2024-04-19 Thread sibylle via grass-user
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 Befehl "library" ist entweder falsch geschrieben oder

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

2024-04-19 Thread Roger Bivand via grass-user
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

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

2024-04-19 Thread sibylle via grass-user
Dear community Thank you very much for all your input. Unfortunately I got always the same error The command "rstudio" is either misspelled or could not be found. The command "GRASS" is either misspelled or could not be found. Find here some info about the operating system:

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

2024-04-19 Thread Bernardo Santos via grass-user
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

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

2024-04-19 Thread Paulo van Breugel via grass-user
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