R: [PD] total newbie: making pd work