I want to a go through 'paragraphs' a list of however many paragraphs and save each individual one as a new variable and tried writing this code block and am getting the following errors:
for (value in paragraphs) {
nam <- paste("p", value, sep = ".")
value <- assign(nam, 1:value)
}
Error in 1:value : NA/NaN argument
In addition: Warning message:
In assign(nam, 1:value) : NAs introduced by coercion
Any advice as to where to go from here?