<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<div dir="auto">Do read the guide please. You must give the full, absolute path to rstudio. This error message is from Windows, as rstudio.exe is not on your path within GRASS. Do also ask for local support, noboby here can see over your shoulder.</div>
<div id="ms-outlook-mobile-signature" dir="auto">
<div><br>
</div>
<div>---</div>
<div dir="auto">Roger Bivand</div>
<div dir="auto">Emeritus Professor</div>
<div dir="auto">Department of Economics</div>
<div dir="auto">Norwegian School of Economics, Bergen, Norway</div>
</div>
<div id="mail-editor-reference-message-container" dir="auto"><br>
<hr style="display:inline-block;width:98%">
<div id="divRplyFwdMsg" style="font-size: 11pt;"><strong>Fra:</strong> sibylle.stoeckli@gmx.ch <sibylle.stoeckli@gmx.ch><br>
<strong>Sendt:</strong> søndag, april 21, 2024 9:28:32 p.m.<br>
<strong>Til:</strong> Roger Bivand <Roger.Bivand@nhh.no><br>
<strong>Kopi:</strong> grass-user@lists.osgeo.org <grass-user@lists.osgeo.org><br>
<strong>Emne:</strong> RE: [GRASS-user] Using RStudio in a GRASS GIS session<br>
</div>
<br>
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<div class="WordSection1">
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif">Thank Roger</span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif">Yes. But still the same error even if GRASS GIS is working and RStudio installed.</span></p>
<pre style="margin: 0cm 0cm 0.0001pt; font-size: 10pt; font-family: "Courier New";"><span style="color: rgb(38, 40, 42);">The command "rstudio" is either misspelled or</span></pre>
<pre style="margin: 0cm 0cm 0.0001pt; font-size: 10pt; font-family: "Courier New";"><span style="color: rgb(38, 40, 42);">could not be found.</span></pre>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<img width="1155" height="338" id="image001.png@01DA9432.D8E8EBF0" src="cid:image001.png@01DA9432.D8E8EBF0" style="width: 12.0312in; height: 3.5208in; max-width: 100%;"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif"></span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> Roger Bivand <Roger.Bivand@nhh.no>
<br>
<b>Sent:</b> Sunday, April 21, 2024 9:17 PM<br>
<b>To:</b> sibylle.stoeckli@gmx.ch<br>
<b>Cc:</b> grass-user@lists.osgeo.org<br>
<b>Subject:</b> Re: [GRASS-user] Using RStudio in a GRASS GIS session</span></p>
</div>
</div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
</p>
<div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
Rtools is only needed for installation of source packages on Windows. It is spuriously sometimes required by rstudio. Since installing source packages is irrelevant here, maybe drop rstudio?</p>
</div>
<div id="ms-outlook-mobile-signature">
<div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
</p>
</div>
<div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
---</p>
</div>
<div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
Roger Bivand</p>
</div>
<div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
Emeritus Professor</p>
</div>
<div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
Department of Economics</p>
</div>
<div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
Norwegian School of Economics, Bergen, Norway</p>
</div>
</div>
<div id="mail-editor-reference-message-container">
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
</p>
<div class="MsoNormal" align="center" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;text-align:center">
<hr size="2" width="98%" align="center">
</div>
<div id="divRplyFwdMsg">
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<strong><span style="font-size:11.0pt; font-family:"Aptos",sans-serif">Fra:</span></strong><span style="font-size:11.0pt">
<a href="mailto:sibylle.stoeckli@gmx.ch">sibylle.stoeckli@gmx.ch</a> <<a href="mailto:sibylle.stoeckli@gmx.ch">sibylle.stoeckli@gmx.ch</a>><br>
<strong><span style="font-family:"Aptos",sans-serif">Sendt:</span></strong> søndag, april 21, 2024 8:40:05 p.m.<br>
<strong><span style="font-family:"Aptos",sans-serif">Til:</span></strong> Roger Bivand <<a href="mailto:Roger.Bivand@nhh.no">Roger.Bivand@nhh.no</a>><br>
<strong><span style="font-family:"Aptos",sans-serif">Kopi:</span></strong> <a href="mailto:grass-user@lists.osgeo.org">
grass-user@lists.osgeo.org</a> <<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>><br>
<strong><span style="font-family:"Aptos",sans-serif">Emne:</span></strong> RE: [GRASS-user] Using RStudio in a GRASS GIS session</span></p>
</div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
</p>
<div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif">Thanks Roger,</span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif">Thanks a lot.</span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif">I tried to use R within a GRASS session following the instructions. Hmm the problem seems to be the rtools42 (rtools not being detected), however the path is correct.</span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif">Kind regards</span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif">Sibylle</span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<img border="0" width="447" height="281" id="image002.png@01DA9432.D8E8EBF0" src="cid:image002.png@01DA9432.D8E8EBF0" style="width: 4.6562in; height: 2.927in; max-width: 100%;"></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<img border="0" width="522" height="147" id="image003.png@01DA9432.D8E8EBF0" src="cid:image003.png@01DA9432.D8E8EBF0" style="width: 5.4375in; height: 1.5312in; max-width: 100%;"></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<img border="0" width="450" height="208" id="image004.png@01DA9432.D8E8EBF0" src="cid:image004.png@01DA9432.D8E8EBF0" style="width: 4.6875in; height: 2.1666in; max-width: 100%;"></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> Roger Bivand <<a href="mailto:Roger.Bivand@nhh.no">Roger.Bivand@nhh.no</a>>
<br>
<b>Sent:</b> Saturday, April 20, 2024 2:43 PM<br>
<b>To:</b> <a href="mailto:sibylle.stoeckli@gmx.ch">sibylle.stoeckli@gmx.ch</a><br>
<b>Cc:</b> <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<b>Subject:</b> Re: [GRASS-user] Using RStudio in a GRASS GIS session</span></p>
</div>
</div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
</p>
<div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
Enter:</p>
</div>
<div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
</p>
</div>
<div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
library(rgrass)</p>
</div>
<div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
</p>
</div>
<div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
at the R prompt in rstudio, not at the GRASS console prompt; it is an R command.</p>
</div>
<div>
<div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
</p>
</div>
<div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
The error message:</p>
</div>
<div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
</p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
Der Befehl "library" ist entweder falsch geschrieben oder konnte nicht gefunden werden.</p>
</div>
<div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
</p>
</div>
<div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
comes from Windows, not GRASS or R.</p>
</div>
<div id="ms-outlook-mobile-signature">
<div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
</p>
</div>
<div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
---</p>
</div>
<div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
Roger Bivand</p>
</div>
<div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
Emeritus Professor</p>
</div>
<div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
Department of Economics</p>
</div>
<div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
Norwegian School of Economics, Bergen, Norway</p>
</div>
</div>
<div id="mail-editor-reference-message-container">
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
</p>
<div class="MsoNormal" align="center" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;text-align:center">
<hr size="2" width="98%" align="center">
</div>
<div id="divRplyFwdMsg">
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<strong><span style="font-size:11.0pt; font-family:"Aptos",sans-serif">Fra:</span></strong><span style="font-size:11.0pt">
<a href="mailto:sibylle.stoeckli@gmx.ch">sibylle.stoeckli@gmx.ch</a> <<a href="mailto:sibylle.stoeckli@gmx.ch">sibylle.stoeckli@gmx.ch</a>><br>
<strong><span style="font-family:"Aptos",sans-serif">Sendt:</span></strong> lørdag, april 20, 2024 1:10:29 p.m.<br>
<strong><span style="font-family:"Aptos",sans-serif">Til:</span></strong> Roger Bivand <<a href="mailto:Roger.Bivand@nhh.no">Roger.Bivand@nhh.no</a>><br>
<strong><span style="font-family:"Aptos",sans-serif">Kopi:</span></strong> <a href="mailto:grass-user@lists.osgeo.org">
grass-user@lists.osgeo.org</a> <<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>><br>
<strong><span style="font-family:"Aptos",sans-serif">Emne:</span></strong> RE: [GRASS-user] Using RStudio in a GRASS GIS session</span></p>
</div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
</p>
<div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif">Dear Roger</span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif">Dear community</span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif">May aim is to use RStudio in a GRASS GIS session, to visualize raster and vector data: e.g. a boxplot of a species raster file or boxplot of a species raster file differentiated for different
regions (vector file). </span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif">Similar in </span>
</p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif"><a href="https://ecodiv.earth/post/drawing-boxplots-of-raster-values/" originalsrc="https://ecodiv.earth/post/drawing-boxplots-of-raster-values/" shash="n68v7HGwY3pjdNBznpuhgOG7ES8WC0R4FzSFP4X+mo06vRQ3q7+mB0KfsPfhYNAT8iRyPw7cDgWP4Xxmebi4djjAAxs3pBBYKsu3HheKZiatmN9/37IG+/k0eL7ORdir2+aYiILo0URmDw5ET91lGlV3ErPbJOBK/uoX4RPF0cw=">https://ecodiv.earth/post/drawing-boxplots-of-raster-values/</a></span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif">Because of my name with “ö” I changed the location to C:/GrassGIS: this seems to be the solution for the error when staring GRASS. No warming anymore.</span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<img border="0" width="488" height="227" id="image005.png@01DA9432.D8E8EBF0" src="cid:image005.png@01DA9432.D8E8EBF0" style="width: 5.0833in; height: 2.3645in; max-width: 100%;"></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif">Using the command line, I was able to produce a boxplot.</span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<img border="0" width="509" height="267" id="image006.png@01DA9432.D8E8EBF0" src="cid:image006.png@01DA9432.D8E8EBF0" style="width: 5.302in; height: 2.7812in; max-width: 100%;"></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif">I am more comfortable in R, so I tried starting R inside the GRASS console (as suggested for windows) following the code here:</span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif"><a href="https://rsbivand.github.io/rgrass/articles/use.html" originalsrc="https://rsbivand.github.io/rgrass/articles/use.html" shash="cnunS/OcoiITwDdwOLde6X7U99vpfoqsN4NWJ0VWYoPtm/pPnHlhaVs/BsIcAEGwApPYxWLqFcQjab97Hq2x8q3TM5Vtxp2E2Pt64Mn6OKbnMULm5Wg5ThzG81v3CYSyjIDhyyKDyUUP7eWIWS74dlYi7IJEpFa1eDv590slNGE=">https://rsbivand.github.io/rgrass/articles/use.html</a></span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif">However, I am still struggling around with the error</span></p>
<pre style="margin: 0cm 0cm 0.0001pt; font-size: 10pt; font-family: "Courier New";"><span style="color: rgb(38, 40, 42);">The command "library" is either misspelled or</span></pre>
<pre style="margin: 0cm 0cm 0.0001pt; font-size: 10pt; font-family: "Courier New";"><span style="color: rgb(38, 40, 42);">could not be found.</span></pre>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span lang="DE-CH" style="font-size:11.0pt; font-family:"Calibri",sans-serif">library(rgrass)
</span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span lang="DE-CH" style="font-size:11.0pt; font-family:"Calibri",sans-serif">Der Befehl "library" ist entweder falsch geschrieben oder</span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span lang="DE-CH" style="font-size:11.0pt; font-family:"Calibri",sans-serif">konnte nicht gefunden werden.</span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span lang="DE-CH" style="font-size:11.0pt; font-family:"Calibri",sans-serif">(Sat Apr 20 12:57:24 2024) Command ended with non-zero return code 1 (0 sec)
</span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span lang="DE-CH" style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span lang="DE-CH" style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span lang="DE-CH" style="font-size:11.0pt; font-family:"Calibri",sans-serif">Kind regards</span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span lang="DE-CH" style="font-size:11.0pt; font-family:"Calibri",sans-serif">Sibylle</span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<span lang="DE-CH" style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> Roger Bivand <<a href="mailto:Roger.Bivand@nhh.no">Roger.Bivand@nhh.no</a>>
<br>
<b>Sent:</b> Saturday, April 20, 2024 8:09 AM<br>
<b>To:</b> <a href="mailto:sibylle.stoeckli@gmx.ch">sibylle.stoeckli@gmx.ch</a><br>
<b>Cc:</b> <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<b>Subject:</b> Re: [GRASS-user] Using RStudio in a GRASS GIS session</span></p>
</div>
</div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
</p>
<div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
First tell us exactly what you do. Do you start GRASS first (how was GRASS installed, which version?), then what? The first message suggests a failed GRASS installation. Can you use GRASS at all? Try to run any regular example on the data in your location in
GRASS to check that GRASS works before anything else.</p>
</div>
<div id="ms-outlook-mobile-signature">
<div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
</p>
</div>
<div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
---</p>
</div>
<div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
Roger Bivand</p>
</div>
<div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
Emeritus Professor</p>
</div>
<div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
Department of Economics</p>
</div>
<div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
Norwegian School of Economics, Bergen, Norway</p>
</div>
</div>
<div id="mail-editor-reference-message-container">
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
</p>
<div class="MsoNormal" align="center" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;text-align:center">
<hr size="2" width="98%" align="center">
</div>
<div id="divRplyFwdMsg">
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
<strong><span style="font-size:11.0pt; font-family:"Aptos",sans-serif">Fra:</span></strong><span style="font-size:11.0pt">
<a href="mailto:sibylle.stoeckli@gmx.ch">sibylle.stoeckli@gmx.ch</a> <<a href="mailto:sibylle.stoeckli@gmx.ch">sibylle.stoeckli@gmx.ch</a>><br>
<strong><span style="font-family:"Aptos",sans-serif">Sendt:</span></strong> fredag, april 19, 2024 5:56:04 p.m.<br>
<strong><span style="font-family:"Aptos",sans-serif">Til:</span></strong> Roger Bivand <<a href="mailto:Roger.Bivand@nhh.no">Roger.Bivand@nhh.no</a>><br>
<strong><span style="font-family:"Aptos",sans-serif">Kopi:</span></strong> <a href="mailto:grass-user@lists.osgeo.org">
grass-user@lists.osgeo.org</a> <<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>><br>
<strong><span style="font-family:"Aptos",sans-serif">Emne:</span></strong> RE: [GRASS-user] Using RStudio in a GRASS GIS session</span></p>
</div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;margin-bottom:12.0pt">
</p>
<div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;margin-bottom:12.0pt">
<span style="font-size:11.0pt">Dear community<br>
Dear Roger<br>
<br>
I suppose it is my name<br>
Here the output from the console:<br>
<br>
C:\Users\Sibylle Stöckli><br>
C:\Users\Sibylle Stöckli><br>
ERROR: Unable to read WIND file: not enough values to unpack (expected 2,<br>
got 1)<br>
library(rgrass)<br>
Der Befehl "library" ist entweder falsch geschrieben oder<br>
konnte nicht gefunden werden.<br>
<br>
Kind regards<br>
Sibylle<br>
<br>
-----Original Message-----<br>
From: Roger Bivand <<a href="mailto:Roger.Bivand@nhh.no">Roger.Bivand@nhh.no</a>>
<br>
Sent: Friday, April 19, 2024 4:31 PM<br>
To: <a href="mailto:sibylle.stoeckli@gmx.ch">sibylle.stoeckli@gmx.ch</a><br>
Cc: <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
Subject: Re: [GRASS-user] Using RStudio in a GRASS GIS session<br>
<br>
Please see: <a href="https://rsbivand.github.io/rgrass/articles/use.html" originalsrc="https://rsbivand.github.io/rgrass/articles/use.html" shash="J7TOtmeGwgffL1bQV0BlR7OofTbpvy4zqTJqn4ZXb4JWGk41RJRrVzPrx2kBvHt15acdUYscJyLb6hiHmePX/uJLcnA+iIqaBk1r2j546YvIiJ5tayf8Vte8c7zuyWuO05mZVylxmn2rCz9LGvTx7QXk5TOkxtLW8RWWFmFTF8M=">
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Frsbivand.github.io%2Frgrass%2Farticles%2Fuse.html&data=05%7C02%7CRoger.Bivand%40nhh.no%7C04d6d2c547b14550ec5f08dc608936de%7C33a15b2f849941998d56f20b5aa91af2%7C0%7C0%7C638491389645818206%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=3fLYSzCE3uRNBetqb69RxZz%2FzLiv%2F1LuBFkdb%2B19nsA%3D&reserved=0</a>.<br>
<a href="https://rsbivand.github.io/rgrass/articles/use.html" originalsrc="https://rsbivand.github.io/rgrass/articles/use.html" shash="IWeHoPrs5uT2n7CF56WKWko4NrkBYk0VVEoPXpJz3K3LralqQ8GoYSJTQtT85aie+fZdiRWlpj1N3QLgFpYJHx5vwjquQKLIczGUor0Uf8mJ1ccTuTKSO57/g9RhUJgrbKjVeFF1ddxsHYyiUJ5PVd9aJFTsWVlG+9sEJ0RYT58=">https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Frsbivand.github.io%2Frgrass%2Farticles%2Fuse.html&data=05%7C02%7CRoger.Bivand%40nhh.no%7C04d6d2c547b14550ec5f08dc608936de%7C33a15b2f849941998d56f20b5aa91af2%7C0%7C0%7C638491389645826443%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=zM%2Fia4%2BGNTgKd%2Bjxo3HVJnDgt02JrI9CSyx%2F1AtwK%2FU%3D&reserved=0</a><br>
<br>
Do you have a GRASS location and wish to use R on the data in that location?<br>
Then start GRASS first and start rstudio from inside GRASS.<br>
<br>
The error messages suggest that something is missing in your installation.<br>
<br>
Is your query related to<br>
<a href="https://stat.ethz.ch/pipermail/r-help/2024-April/479232.html" originalsrc="https://stat.ethz.ch/pipermail/r-help/2024-April/479232.html" shash="A3CNHrcR1CaSFR9tqFrXdgavhn7XjZVdV12KiN3+XkVc3Vp6HUdokZt9xpuqD3Va9A6fem9OSIjkOEqQ2bDmj982SpDRS010VqdJDnsSZXs6IdxvTJ3LncDyMJ/iKTJdH7Qj7VQXRIo+VhBm5u+/s2cAsMFxqI8t/oZSbr0cZqg=">https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstat.ethz.ch%2Fpipermail%2Fr-help%2F2024-April%2F479232.html&data=05%7C02%7CRoger.Bivand%40nhh.no%7C04d6d2c547b14550ec5f08dc608936de%7C33a15b2f849941998d56f20b5aa91af2%7C0%7C0%7C638491389645832105%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=i1bTT5y7lmJcG1MtEniurDJsEYbK63t0UB%2BSagiLmMM%3D&reserved=0</a>
?<br>
<br>
--<br>
Roger Bivand<br>
Emeritus Professor<br>
Norwegian School of Economics<br>
Postboks 3490 Ytre Sandviken, 5045 Bergen, Norway <a href="mailto:Roger.Bivand@nhh.no">
Roger.Bivand@nhh.no</a></span></p>
</div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
</p>
</div>
</div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
</p>
</div>
</div>
<p class="MsoNormal" style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">
</p>
</div>
</div>
<br>
</div>
</body>
</html>