Hey all, thanks for your input... assigning the connection and then using
unlink works just fine.
Thanks
On Mon, Dec 21, 2009 at 12:33 PM, Gray Calhoun wrote:
> Hi Nick,
> I hope you're being a little disingenuous about how hard you looked
>
> Typing ?close will pull up the right help pag
Hi Nick,
I hope you're being a little disingenuous about how hard you looked
Typing ?close will pull up the right help page. I think you're
having trouble because you don't store the file object in a variable,
so there's no convenient way to refer to it when you need to close it
(or when
Try:
closeAllConnections()
On Mon, Dec 21, 2009 at 3:22 PM, Nick Torenvliet
wrote:
> When I run the following code in a loop I get an error after about 125 times
> saying too many open files...
>
>
> if(inherits(atmpt, "try-error")){
> output <- paste(yahooSymbol,"\n",sep="")
>
That would work... except I've got a DBConnection I don't want to close and
open constantly
On Mon, Dec 21, 2009 at 12:28 PM, Henrique Dallazuanna wrote:
> Try:
>
> closeAllConnections()
>
> On Mon, Dec 21, 2009 at 3:22 PM, Nick Torenvliet
> wrote:
> > When I run the following code in a loop I g
When I run the following code in a loop I get an error after about 125 times
saying too many open files...
if(inherits(atmpt, "try-error")){
output <- paste(yahooSymbol,"\n",sep="")
write(output, file = "data", append = TRUE, sep = "")
} else {
I've tried various things
5 matches
Mail list logo