On Wed, May 24, 2017 at 12:14 PM, James Duffy
<[email protected]> wrote:
...
> v.class.mlR --verbose segments_map=seg_stats_vec@MAP1
...
> 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?
In the script I see things like
reclass_files[classifier] = tmpfilename.replace("\\", "/")
which is probably unhelpful on Windows. Not sure how to make that
portable, though.
Markus
_______________________________________________
grass-user mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-user