But, if I invert the order of R and C, the analysis starts with the capacitor already charge. Why? When components are in series, does the order matter?
.tran 0.2s 5s uic
will force v(1) to 0, during the first time step it jumps to 1 as given by V1 1 0 1.
If not using uic, ngspice has to calculate an initial value with the contradictory inputs
V1 1 0 1 and
.ic V(1)=0
which leads to results depending on the circuit.
Even better would be not using just
V1 1 0 1, but
V1 1 0 1 pwl(0 0 0.2 0 0.205 1)
which will start with all zero and then pose a voltage jump with controlled slope at node 1.