Skip to content
Prev 18099 / 29559 Next

BUG? readRAST6() closes sink("all.Rout")

On Tue, 23 Apr 2013, Rainer M. Krug wrote:

            
Replaced by counting open connections on entry, and only closing 
connections added to the connection table while running the function, in 
revision 1384. This is not thread-safe (it doesn't cater for something 
else opening connections in R but not in readRAST6), but this should at 
least be less radical than closing them all. The reason for closing is 
that multiple links are opened to GRASS modules, wher the number open 
isn't easy to control.

Roger