[R] Help with Nesting
Rui Barradas
ruipbarradas at sapo.pt
Tue Oct 31 21:46:44 CET 2017
Hello,
This is cross-posted from
https://stackoverflow.com/questions/47042591/how-to-resolve-nested-variables-inside-a-loop-in-r
And you already have the answer there. See my comment.
Rui Barradas
Em 31-10-2017 19:00, Edward Guda via R-help escreveu:
> How do i resolve this?
>
> symbol <- c('RRR' ,'GGG')
>
> for(i in seq_along(symbol)) {
> dat <- Quandl("LLL/symbol[i]")
>
> }
>
> required solutionis a loop where Quandl is a function and it loops as flows,
> Quandl("LLL/RRR")
> Quandl("LLL/GGG")
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
More information about the R-help
mailing list