Rising R&D costs puts a dent into earnings forecasts