Displaying 3 results from an estimated 3 matches for "weath".
Did you mean:
death
2024 Nov 06
1
Using multiple dat files
"It seems therefore that there is no other way than read in individually >
100 weather tables using read.tables., right? Using file.choose() doesn't
change the work."
Yes. With that many files, file.choose() does not make sense. However, I
still do not understand what is the problem with using lapply() on the
character vector of file names with read.table() as you did in...
2024 Nov 07
0
Using multiple dat files
...ks
> Solution
> filelist <- list.files(path = "O:/Data-Work/2.../Daten_RA-MeteoCH_1990-2021",
> pattern='*.dat', all.files= T, full.names= T)
> AAR<-read.table(filelist[1])
> It seems therefore that there is no other way than read in individually > 100
> weather tables using read.tables., right? Using file.choose() doesn't change the
> work.
> Yes my .dat files are data.frames
>
>> str(W[[1]]) 'data.frame': 11688 obs. of 7 variables: $ year : num 1990 1990 1990
> 1990 1990 1990 1990 1990 1990 1990 ... $ DOY : num 1 2 3 4 5...
2024 Nov 06
3
Using multiple dat files
Dear community
To import multiple .dat weather files I am using list.files().
I intend to use the R package ?ClimInd? to calculate different agroclimatic indicators.
Question: Is there another solution to import multiple .dat files so that I can select elements from the list, e.g. one specific weather file (example AAR_DailyWeather)?
#...