R companion to "Curve and Surface Fitting with Splines"