Displaying 1 result from an estimated 1 matches for "gw1kb_tables".
2016 Apr 08
2
sorting of files using system
Hello, I came across the following oddity when it comes to file order
using the system command: different system commands return files in a
different order:
This is a real filenames example:
> system("ls gw1kb_tables/rpkm_47*", intern=T)
[1] "gw1kb_tables/rpkm_479_Input.tab"
[2] "gw1kb_tables/rpkm_479_IP.tab"
> system("for file in gw1kb_tables/rpkm_4*; do echo $file;done" )
gw1kb_tables/rpkm_479_IP.tab
gw1kb_tables/rpkm_479_Input.tab
As you see, in the first case, the &q...