rte-antares-rpackage / antaresViz

ANTARES Visualizations

Home Page:https://rte-antares-rpackage.github.io/antaresViz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

plot : le fichier h5 est bloqué par la fonction plot

jalazawa opened this issue · comments

Si j'utilise dans la fonction plot un fichier h5 alors je ne peux plus le supprimer et donc je ne peux plus utiliser writeAntaresH5 sur la simulation.

plot

pathh5V2<-paste(pathS2Out,"\\20170616-1412eco-test_2.h5", sep = "")
opts2<-setSimulationPath(pathh5V2)
plot(opts2)

essai d'écriture

writeAntaresH5(path=pathS2Out, writeMcAll = TRUE, overwrite = TRUE)
Error in writeAntaresH5(path = pathS2Out, writeMcAll = TRUE, overwrite = TRUE) : 
  File E:\ANTARES\Exemple_antares\3_petit_exemple\PackagesR\Test_packages_R_602\output/20170616-1412eco-test_2.h5 already exist you must use overwrite argument if you want to overwrite
In addition: Warning message:
In file.remove(path) :
  cannot remove file 'E:\ANTARES\Exemple_antares\3_petit_exemple\PackagesR\Test_packages_R_602\output/20170616-1412eco-test_2.h5', reason 'Permission denied'