Hello, Does anyone know if all the R packages that are available for Windows users are also available for Mac users? Thank you, Scott -- Scott R. Colwell, Ph.D. Associate Professor, Dept. of Mkt/Cons Studies Adjunct Professor, Dept. of Psychology University of Guelph Guelph, Ontario, Canada, N1G 2W1
> On Feb 23, 2016, at 11:10 AM, Scott Colwell <scolwell at uoguelph.ca> wrote: > > > Hello, > > Does anyone know if all the R packages that are available for Windows users are also available for Mac users? > > Thank you, > > ScottHi, In general, yes, if the package is available from CRAN, but there are some exceptions, where you may have to install a package from source, rather than from a pre-compiled binary. In that case, if the package is "pure R", there should not be any issues. If there is C/C++ or FORTRAN source code in the package, you will need to have additional tools installed on your Mac (e.g. XCode, etc.) to install the package. You can check the CRAN page for a particular package and see what is available. Some packages are not on CRAN and may be available via other sources, like GitHub, etc. You would have to look at each, to get a sense for any issues there. There are also two Mac specific resources that you should be aware of, if not already: R for Mac OS X FAQ: https://cran.r-project.org/bin/macosx/RMacOSX-FAQ.html R-SIG-Mac: https://stat.ethz.ch/mailman/listinfo/r-sig-mac Regards, Marc Schwartz
On 23 Feb 2016, at 18:10 , Scott Colwell <scolwell at uoguelph.ca> wrote:> > Hello, > > Does anyone know if all the R packages that are available for Windows users are also available for Mac users? >In a word: Yes. In two words: Yes, mostly. As long as a package doesn't rely on Windows-specific features, or on interfacing to programs that are only available for Windows, it will usually work on Mac or Linux or ... as well. -pd> Thank you, > > Scott > > -- > Scott R. Colwell, Ph.D. > Associate Professor, Dept. of Mkt/Cons Studies > Adjunct Professor, Dept. of Psychology > University of Guelph > Guelph, Ontario, Canada, N1G 2W1 > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.-- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com
"All" is a pretty stringent test for a herd of cats. If you constrain to packages on CRAN, there are currently about 300 binaries for Windows that don't show up in the Mac list, and about 40 that are in the Mac list but not the Windows list. There are about 8000 total. Many times the non matched packages are OS specific and it would not make sense for them to be on both systems. -- Sent from my phone. Please excuse my brevity. On February 23, 2016 9:10:07 AM PST, Scott Colwell <scolwell at uoguelph.ca> wrote:> >Hello, > >Does anyone know if all the R packages that are available for Windows >users are also available for Mac users? > >Thank you, > >Scott > >-- >Scott R. Colwell, Ph.D. >Associate Professor, Dept. of Mkt/Cons Studies >Adjunct Professor, Dept. of Psychology >University of Guelph >Guelph, Ontario, Canada, N1G 2W1 > >______________________________________________ >R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide >http://www.R-project.org/posting-guide.html >and provide commented, minimal, self-contained, reproducible code.[[alternative HTML version deleted]]
> On 23 Feb 2016, at 19:12 , Jeff Newmiller <jdnewmil at dcn.davis.ca.us> wrote: > > "All" is a pretty stringent test for a herd of cats.Hehehe... [Fades to a grin, leaving only a paw print.] -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com