I would like to do a loop that will generate additional code but do not know how to do this.
i = 1
while (i <= 6) { (some code here)
i=i+1
}
The output would be to create the following new lines of R code in the dame or a new chunk
df1 <- load10X(This path would come from another data frame)
df2 <- load10X(This path would come from another data frame)
df3 <- load10X(This path would come from another data frame)
df4 <- load10X(This path would come from another data frame)
df5 <- load10X(This path would come from another data frame)
df6 <- load10X(This path would come from another data frame)
Any help would be appreciated Dan