Firms undertake different kinds of R&D activities. They do product R&D (R&D aimed at improving the quality of existing products, and creating new products). They also do process R&D (R&D aimed at lowering the cost of making existing and new products). Moreover, firms often do both product and process R&D simultaneously. As far as the objective of firms is concerned, this need not be limited to profit-maximization only. Rather, firms may have a broader objective, where they care about profits as well as consumer surplus. This paper studies effects of a firm having a general objective function (that takes into consideration both profits and consumer surplus) on its product and process R&D choices, and corresponding implications.I consider product and process R&D choices of firms in an infinite horizon set-up with discrete time. Firms in my framework can simultaneously do both product and process R&D in every period, face a discrete-choice model of consumer demand with vertical product differentiation, and maximize a discounted, weighted sum of their profits and consumer surplus over the infinite time horizon.I show how process and product R&D differ from each other in my framework, and the role of a firm's objective function in this regard. I compare process and product R&D choices across firms that differ in their objective function, and illustrate effects of providing general R&D subsidies (subsidies given for any R&D, regardless of whether it is product or process R&D) to firms. I also characterize how in my framework, the choice of process R&D in total R&D — R&D composition — by an individual firm varies over time, and how process and product R&D choices, process and product R&D productivity, and the choice of R&D composition vary across firms that differ in size but are otherwise similar.