<div dir="ltr">I am using standalone winGRASS, but installed it with OSGeo4W because I also use QGIS. <div>I was using version 8.2.1, but went back to 7.8.5 and OSGeo4W v1. </div><div>With R4.3.1 getting other errors, and with R4.0 there was also trouble finding the R script? (FileNotFoundError: [WinError 2] The system cannot find the file specified.)</div><div>I checked the input text files. These don't have NA values. </div><div>I am doing a test classification with limited training-data.</div><div>-----------------------------------</div><div><u>Msg when using R4.3.1</u></div><div>Running R now. Following output is R output.<br>During startup - Warning messages:<br>1: Setting LC_COLLATE=en_US.cp1252 failed <br>2: Setting LC_CTYPE=en_US.cp1252 failed <br>3: Setting LC_MONETARY=en_US.cp1252 failed <br>4: Setting LC_TIME=en_US.cp1252 failed <br>Loading required package: ggplot2<br>Loading required package: lattice<br>Warning messages:<br>1: package 'caret' was built under R version 4.3.1 <br>2: package 'ggplot2' was built under R version 4.3.1 <br>Warning message:<br>package 'data.table' was built under R version 4.3.1 <br>Something is wrong; all the Accuracy metric values are missing:<br>    Accuracy       Kappa    <br> Min.   : NA   Min.   : NA  <br> 1st Qu.: NA   1st Qu.: NA  <br> Median : NA   Median : NA  <br> Mean   :NaN   Mean   :NaN  <br> 3rd Qu.: NA   3rd Qu.: NA  <br> Max.   : NA   Max.   : NA  <br> NA's   :4     NA's   :4    <br>Error: Stopping<br>In addition: There were 33 warnings (use warnings() to see them)<br>Execution halted<br>ERROR: There was an error in the execution of the R script.<br>Please check the R output.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 18, 2023 at 3:43 PM Helmut Kudrnovsky <<a href="mailto:hellik@web.de" target="_blank">hellik@web.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">>>Is it best to go back to the previous versions for the meantime?<br>
> <br>
>yes, that would be an option.<br>
><br>
>are you using OSGeo4W or standalone winGRASS?<br>
><br>
>these R-batch-files are living also in the source:<br>
><br>
><a href="https://github.com/OSGeo/grass/tree/main/mswindows/external/rbatch" rel="noreferrer" target="_blank">https://github.com/OSGeo/grass/tree/main/mswindows/external/rbatch</a><br>
><br>
>and are integrated into extrabin-folder of the winGRASS standalone installer.<br>
><br>
>could you try the standalone installer? which version are you using?<br>
<br>
see also discussion at:<br>
<br>
<a href="https://github.com/OSGeo/grass/discussions/3091" rel="noreferrer" target="_blank">https://github.com/OSGeo/grass/discussions/3091</a><br>
 <br>
 <br>
 <br>
<br>
<br>
 <br>
 <br>
</blockquote></div>