Help, problems with my code. New user!!

I apologize in advance for my English.

Hello friends, I am trying to create a cycle from a database that says "fincaraizcali1", I would like the cycle to go through column 4, and be able to save each of the outputs in a new variable, however, there is no achievement, I would greatly appreciate your help.

Prob_enfermas=for (i in 1:dim(fincaraizcali1[4]){
pageurl= fincaraizcali1[4]
htmlpage <- read_html(pageurl)
precio(i)=htmlpage %>%

Hi Juan, welcome!

To help us help you, could you please prepare a reproducible example (reprex) illustrating your issue? A reprex makes it much easier for others to understand your issue and figure out how to help.

Please have a look at this guide, to see how to create one:

Hola Juan, bienvenido!

Para ayudarnos a ayudarte, podrías preparar un "Ejemplo Reproducible" (REPREX en ingles) ilustrando tu problema? Un ejemplo reproducible hace que sea mucho más fácil para otros entender tu problema y averiguar como ayudar.

Por favor revisa esta guía para ver como crear uno:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.