Questions tagged as 'loop'

1
answer

Using the code below, why am I only collecting the data from the last page of the Loop? [closed]

rm(list=ls()) options(warn=-1) library("RCurl") library("XML") baseurl <- "http://www.gmbahia.ufba.br/index.php/gmbahia/issue/archive?issuesPage=XX#issues" dados <- data.frame() for (i in 1:29){ print(i) url <- gsub("XX", i...
asked by 10.08.2015 / 19:02
1
answer

Arrays in loops

I could not solve the following question: Fill in the blanks to print all elements of a array arr containing 3 elements: for(int x=0; x<___; x++){______<<______[x]<<endl;}     
asked by 16.05.2017 / 04:16