Here is my data:
require(HH)
data(ProfChal)
rowsCount = length(ProfChal$Question)
ProfChal$NEW = character(rowsCount)
When I run this loop:
for (r in 1:rowsCount){
ProfChal[r,"NEW"] = ProfChal[r,"Subtable"]
}
the new column has integers in it:

I would like to have text values instead of integers. Debugging it leaves me confused...
ProfChal[2,"Subtable"] returns [1] Employment sector.
ProfChal[1,"NEW"] = "asdf" works as expected.

df$TargetCol <- df$SourceCol, but originally, I don't want it. I created this example loop just for simplicity.