Displaying 1 result from an estimated 1 matches for "h20100902".
Did you mean:
20100902
2012 Mar 07
1
how to read a file containing a series filename
hi everyone .
I have a group of files that needs to be read in .
And I put their filename into one file with the name "file.txt"
And in the file.txt,the filename are shown as below :
H20100902.TXT
H20100903.TXT
H20100904.TXT
H20100905.TXT
H20100906.TXT
H20100907.TXT
H20100908.TXT
Now I want to read these file from the file.txt by such codes:
filename <-("file.txt")
pp <- scan(filename,what=list(""),sep=" ")
but R shows that :
> pp
[[1]]
that...