 PURPOSE: This randomized phase III trial is studying giving gemcitabine together with or without capecitabine andor radiation therapy to see how well it works compared with giving gemcitabine together with or without erlotinib in treating patients with locally advanced pancreatic cancer that cannot be removed by surgery. 