in reply to Re^3: Calling package function returns 1, not data from functionin thread Calling package function returns 1, not data from function