ich habe ein Problem, das ich nicht verstehe. Ich möchte in einer for-loop data frames erzeugen und das Ergebnis in eine Liste schreiben:
Code: Alles auswählen
out<-list()
for(i in 6){
out[[i]]<-data.frame(...)
}
Wenn ich das manuell mache, also:
Code: Alles auswählen
out[[1]]<-data.frame(...)
out[[2]]<-data.frame(...)
out[[3]]<-data.frame(...)
out[[4]]<-data.frame(...)
out[[5]]<-data.frame(...)
out[[6]]<-data.frame(...)
Ist das ein Bug oder ein Feature? Oder mache ich einfach nur etwas falsch?
Bei mir läuft die Version:
Code: Alles auswählen
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status
major 4
minor 0.3
year 2020
month 10
day 10
svn rev 79318
language R
version.string R version 4.0.3 (2020-10-10)
nickname Bunny-Wunnies Freak Out
Daniel