Resumen: In this paper the numerical integration of non conservative perturbations of differential systems that possess a first integral, as for example slowly dissipative Hamiltonian systems, is considered. Numerical methods that are able to reproduce appropriately the evolution of the first integral are proposed. These algorithms are based on a combination of standard numerical integration methods and certain projection techniques. Some conditions under which known conservative methods reproduce that desirable evolution in the invariant are analysed. Finally, some numerical experiments in which we compare the behaviour of the new proposed methods, the averaged vector field method AVF proposed by Quispel and McLaren and standard RK methods of orders 3 and 5 are presented. The results confirm the theory and show a good qualitative and quantitative performance of the new projection methods. Idioma: Inglés DOI: 10.1016/j.cpc.2014.10.012 Año: 2015 Publicado en: COMPUTER PHYSICS COMMUNICATIONS 187 (2015), 72-82 ISSN: 0010-4655 Factor impacto JCR: 3.635 (2015) Categ. JCR: PHYSICS, MATHEMATICAL rank: 1 / 53 = 0.019 (2015) - Q1 - T1 Categ. JCR: COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS rank: 11 / 104 = 0.106 (2015) - Q1 - T1 Factor impacto SCIMAGO: 1.788 - Physics and Astronomy (miscellaneous) (Q1) - Hardware and Architecture (Q1)