ok, dealing with expandRApp is a rat-hole. will leave for niki.