Displaying 1 result from an estimated 1 matches for "testurl".
Did you mean:
testual
2005 Dec 28
1
Enhancement request: anonymous connections
I would like to be able to use anonymous connections in R and have
them close themselves when they go out of scope.
Here is an example of what I think should work, but does not at
present:
## create test file
x <- 1:10
fn <- "anon-con-test-x.rda"
save(x, file=fn)
testUrl <- paste("file:/", getwd(), fn, sep="/")
## use an anonymous connection to load data from
## the URL as suggested in help(load).
for (i in 1:50) {
print(load(url(testUrl)))
}
[snip some output]
Error in url(testUrl) : all connections are in use
If such a feature is not...