Re: [Rd] isOpen() misbehaviour

2014-06-19 Thread Karl Forner
Thanks Joris, it makes sense now, though the doc is a bit misleading. On Thu, Jun 19, 2014 at 3:22 PM, Joris Meys wrote: > Hi Karl, > > that is expected. The moment you close a connection, it is destroyed as well > (see ?close). A destroyed connection cannot be tested. In fact, I've used > isOpen

Re: [Rd] isOpen() misbehaviour

2014-06-19 Thread Joris Meys
Hi Karl, that is expected. The moment you close a connection, it is destroyed as well (see ?close). A destroyed connection cannot be tested. In fact, I've used isOpen() only in combination with the argument rw. > con <- file("clipboard",open="r") > isOpen(con,"write") [1] FALSE cheers On Thu,