Hello,
When trying to run the following:
*v.class.mlR --verbose segments_map=seg_stats_vec@MAP1
training_map=seg_stats_train_val@MAP1
raster_segments_map=seg_optimum_clump@MAP1 classified_map=out
train_class_column=class output_class_column=vote output_prob_column=prob
folds=5 partitions=10 tunelength=10 weighting_metric=accuracy processes=6*
I get the following error:
*Running R now. Following output is R output.During startup - Warning
messages:1: Setting LC_CTYPE=en_GB.cp1252 failed 2: Setting
LC_COLLATE=en_GB.cp1252 failed 3: Setting LC_TIME=en_GB.cp1252 failed 4:
Setting LC_MONETARY=en_GB.cp1252 failed Loading required package:
caretLoading required package: latticeLoading required package:
ggplot2Error: '\S' is an unrecognized escape in character string starting
""C:\S"Execution haltedERROR: There was an error in the execution of the R
script.Please check the R output.(Wed May 24 11:05:30 2017) Command
finished (17 sec)*
My GRASS mapset is located in -
*C:\Sandbox\RGRASS\TEST\MAP1*
Given that R takes paths with */ *rather than *\*, I think the issue lies
at the start of the R part of the script which reads:
*require(caret)features <-
read.csv("C:\Sandbox\RGRASS\TEST\MAP1\.tmp/unknown\5636.0", sep="|",
header=TRUE, row.names=1)training <-
read.csv("C:\Sandbox\RGRASS\TEST\MAP1\.tmp/unknown\5636.1", sep="|",
header=TRUE, row.names=1)*
I have run v.class.mlR on an osgeolive build before, but not on Windows. Is
this a Windows specific issue that needs addressing?
I'm using GRASS 7.3.svn (2017).
Kind regards
James
_______________________________________________
grass-user mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-user