[GRASS-user] v.class.mlR Error

Helmut Kudrnovsky hellik at web.de
Thu May 31 03:16:21 PDT 2018


>In file(file, ifelse(append, "a", "w")) :
> cannot open file '.gscript_tmp_model_output_2392.csv': Permission denied 

in the R script:

[...]
resultsdf$prob_smv <- vote$V2
write.csv(resultsdf, '.gscript_tmp_model_output_2392.csv', row.names=FALSE,
quote=FALSE)
write.csv(resultsdf, 'D:\temp\vclassr\class.txt', row.names=FALSE,
quote=FALSE)
[...]

AFAIR in windows and python, you need to specify the temp file e.g. by
python's tempfile functions that it can be found later in the process.



-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html


More information about the grass-user mailing list