Text this: R&D investments under endogenous cluster formation.