Setting graphics parameters with the par() function changes the value of the parameters permanently, in the sense that all future calls to graphics functions (on the current device) will be affected by the new value. You can think of setting graphics parameters in this way as setting `default' values for the parameters, which will be used by all graphics functions unless an alternative value is given.
Note that calls to par() always affect the global values of graphics parameters, even when par() is called from within a function. This is often undesirable behaviour -- usually we want to set some graphics parameters, do some plotting, and then restore the original values so as not to affect the user's . session. You can restore the initial values by saving the result of par() when making changes, and restoring the initial values when plotting is complete.
oldpar <- par(col=4,lty=2)
...plotting commands ...
par(oldpar)