Re: [R] Reading File Sizes: very slow!

2021-09-26 Thread Leonard Mada via R-help
On 9/27/2021 1:06 AM, Leonard Mada wrote: > > Dear Bill, > > > Does list.files() always sort the results? > > It seems so. The option: full.names = FALSE does not have any effect: > the results seem always sorted. > > > Maybe it is better to process the files in an unsorted order: as > stored o

Re: [R] Reading File Sizes: very slow!

2021-09-26 Thread Leonard Mada via R-help
Dear Bill, Does list.files() always sort the results? It seems so. The option: full.names = FALSE does not have any effect: the results seem always sorted. Maybe it is better to process the files in an unsorted order: as stored on the disk? Sincerely, Leonard On 9/25/2021 8:13 PM, Bill

Re: [R] USB devices?

2021-09-26 Thread Jiefei Wang
Hi, If you can talk with your device through the terminal. One option is using 'system2' in R to send the command to your OS. Best, Jiefei On Sun, Sep 26, 2021 at 9:14 PM Roger Coppock wrote: > > How do I communicate directly with USB devices in R? > > Specifically, I want to read data from thi

Re: [R] Reading File Sizes: very slow!

2021-09-26 Thread Jiefei Wang
What kind of disk do you use? The hardware differences might be important to this issue. Best, Jiefei Leonard Mada via R-help 于 2021年9月26日周日 下午9:04写道: > Dear Bill, > > > - using the Ms Windows Properties: ~ 15 s; > > [Windows new start, 1st operation, bulk size] > > - using R / file.info() (2nd

[R] USB devices?

2021-09-26 Thread Roger Coppock
How do I communicate directly with USB devices in R? Specifically, I want to read data from this device. http://www.zyaura.com/products/ZGm05.asp I have the USB message formats it uses, and they are quite simple. - - Roger Coppock, rcopp...@cox.net __

Re: [R] Reading File Sizes: very slow!

2021-09-26 Thread Leonard Mada via R-help
Dear Bill, - using the Ms Windows Properties: ~ 15 s; [Windows new start, 1st operation, bulk size] - using R / file.info() (2nd operation): still 523.6 s [and R seems mostly unresponsive during this time] Unfortunately, I do not know how to clear any cache. [The cache may play a role only