I have tried the example of hydroPSO-MF2005 but I always got an error message as below. The version of R I used is 3.4.4. I have tried on both Win 7 and Win 10 but same error remains. Can anyone suggest what I should do to find out the issue? Thanks in advance for help.
Error in file(con, "r") : cannot open the connection
In addition: There were 28 warnings (use warnings() to see them)
There are additional warning messages as below.
1: running command '"run_me.bat"' had status 1
2: In readLines(fname) : line 22 appears to contain an embedded nul
3: In readLines(fname) : line 58 appears to contain an embedded nul
4: In readLines(fname) : line 90 appears to contain an embedded nul
5: In readLines(fname) : line 124 appears to contain an embedded nul
6: In readLines(fname) : line 22 appears to contain an embedded nul
7: In readLines(fname) : line 58 appears to contain an embedded nul
8: In readLines(fname) : line 90 appears to contain an embedded nul
9: In readLines(fname) : line 124 appears to contain an embedded nul
10: running command '"run_me.bat"' had status 1
11: In readLines(fname) : line 22 appears to contain an embedded nul
12: In readLines(fname) : line 58 appears to contain an embedded nul
13: In readLines(fname) : line 90 appears to contain an embedded nul
14: In readLines(fname) : line 124 appears to contain an embedded nul
15: In readLines(fname) : line 22 appears to contain an embedded nul
16: In readLines(fname) : line 58 appears to contain an embedded nul
17: In readLines(fname) : line 90 appears to contain an embedded nul
18: In readLines(fname) : line 124 appears to contain an embedded nul
19: running command '"run_me.bat"' had status 1
20: In readLines(fname) : line 22 appears to contain an embedded nul
21: In readLines(fname) : line 58 appears to contain an embedded nul
22: In readLines(fname) : line 90 appears to contain an embedded nul
23: In readLines(fname) : line 124 appears to contain an embedded nul
24: In readLines(fname) : line 22 appears to contain an embedded nul
25: In readLines(fname) : line 58 appears to contain an embedded nul
26: In readLines(fname) : line 90 appears to contain an embedded nul
27: In readLines(fname) : line 124 appears to contain an embedded nul
28: In file(con, "r") : cannot open file 'pre_param.txt': Permission denied
There were 14 warnings (use warnings() to see them)
I have tried the example of hydroPSO-MF2005 but I always got an error message as below. The version of R I used is 3.4.4. I have tried on both Win 7 and Win 10 but same error remains. Can anyone suggest what I should do to find out the issue? Thanks in advance for help.
There are additional warning messages as below.