To cite magma in publications use

Smith, B.J. (September 3, 2010) R package magma: Matrix Algebra on GPU and Multicore Architectures, Version 0.2.2, [On-line] http://cran.r-project.org/package=magma.

Corresponding BibTeX entry:

  @Misc{,
    title = {R package magma: Matrix Algebra on GPU and Multicore
      Architectures, Version 0.2.2},
    author = {Brian J. Smith},
    year = {September 3, 2010},
    note = {[On-line] http://cran.r-project.org/package=magma},
  }