I have search the internet but none are found.The lme function is like the proc mixed the SAS.But I know no package to fit the model described in http://gsbwww.uchicago.edu/computing/research/SASManual/ets/chap20/sect17.htm ,which fit with the proc tscs in SAS. Thank you.