Re: [R] file reading problem unique to windows. Err info: Error in file(file, ifelse(append, a, w)). cannot open the connection

2010-11-26 Thread Yong Wang
Thanks a lot, Prof. Ripley. the problem must be download.file() prior R-patched 2.12. for each loop, I tired a couple of candidate links and only one or none will work, this must accumulate soon to an amount of unclosed destination files beyond the tolerance of windows. I updated R from 2.10 to

Re: [R] file reading problem unique to windows. Err info: Error in file(file, ifelse(append, a, w)). cannot open the connection

2010-11-25 Thread Prof Brian Ripley
We don't have any of the information asked for in the posting guide, such as your version of R, reproducible example But please try R-patched, since this might be • download.file() could leave the destination file open if the URL was not able to be opened. (PR#14414) (If you

[R] file reading problem unique to windows. Err info: Error in file(file, ifelse(append, a, w)). cannot open the connection

2010-11-24 Thread Yong Wang
Dear List I asked this question before, got some tips but can't get it solved. it is clear now that this problem only occurs when run on windows (I tested it on windows XP) nothing wrong at all when run on unix. unfortunately, sometimes I have to run it on windows, I appreciate any suggestion on