the alter command specifies the name of the resist...
# xschem
s
the alter command specifies the name of the resistor to alter. Your resistor is R1 and the alter is on r1, so it is correct. Just remove the second
R1 1 2 1k
line.