Hi again, I should add that installation of the Debian packages r-cran-kernsmooth and r-cran-mgcv proceeded without any problems. It's just building and installing packages requiring those (and possibly others) that are giving the error. Cheers, -- Seb