[R] How do I find the apparent magnitude of a galaxy from a FITS file?

Michael Weylandt michael.weylandt at gmail.com
Sat Aug 11 17:50:46 CEST 2012



On Aug 11, 2012, at 6:34 AM, andrej <andrejfavia at ml1.net> wrote:

> 
> [2] I obtained R (actually R64) from the following website:
> http://cran.cnr.berkeley.edu/bin/macosx/
> 
> I guess it didn't come with an 'sos' package. I assume it's here:
> http://cran.r-project.org/web/packages/sos/index.html
> 
> and when I download/expand the package, I get a bunch of files, but I didn't
> see anything in them or the sos.pdf manual that tells me where the files go.

Since you're on a Mac, it's much easier to simply type

install.packages("sos")

Inside R to install the package (which you only need to do once) and then 

library(sos)

In each session you wish to use it to load the package


Michael



More information about the R-help mailing list