Jens Oehlschlägel
2000-Dec-20 12:36 UTC
[Rd] unlink() is not synchronized with existing connections
> # creating a file > cat("sddfasdf", file="tempfile") > showConnections()class description mode text isopen can read can write> con <- file("tempfile", "r") > readLines(con)[1] "sddfasdf" Warning message: incomplete final line in: readLines(con, n, ok)> showConnections()class description mode text isopen can read can write 3 "tempfile" "file" "r" "text" "opened" "yes" "no"> unlink("tempfile") > showConnections()class description mode text isopen can read can write 3 "tempfile" "file" "r" "text" "opened" "yes" "no"> # now we have an opened (read) connection to a non-existing file leftBTW: this may be considered as a special case of a more general thing: undefined rights to modify/access connections owned by other parts of the software Regards Jens Oehlschlägel --please do not edit the information below-- Version: platform = i386-pc-mingw32 arch = x86 os = Win32 system = x86, Win32 status = major = 1 minor = 2.0 year = 2000 month = 12 day = 15 language = R Windows NT 4.0 (build 1381) Service Pack 6 Search Path: .GlobalEnv, package:ctest, Autoloads, package:base ______________________________________________________________________________ Die Fachpresse ist sich einig: WEB.DE 15mal Testsieger! Kostenlos E-Mail, Fax, SMS, Verschlüsselung, POP3, WAP....testen Sie uns! http://freemail.web.de -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Peter Dalgaard BSA
2000-Dec-20 13:12 UTC
[Rd] unlink() is not synchronized with existing connections
Jens, could you please avoid mailing to r-devel *and* r-bugs. R-bugs are automagically forwarded to r-devel with the PR# added, so a) we get it in duplicate b) if anyone follows up to the version without the PR# we will 1) get that in duplicate too 2) get a *new* PR# for the follow up (There are bugs enough, no need to multiply them...) -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Seemingly Similar Threads
- unlink() is not synchronized with existing connections (PR#783)
- showConnections() does not show closed (or non-opened) connections though help says so (PR#784)
- showConnections() does not show closed (or non-opened) connections though help says so
- unlink() is not synchronized with existing connections (PR#785)
- cannot destroy connection (?) created by readLines in a tryCatch