Differences between revisions 12 and 13
Revision 12 as of 2011-01-31 17:07:30
Size: 2005
Editor: platypus
Comment:
Revision 13 as of 2011-08-08 19:33:39
Size: 2133
Editor: echidna
Comment:
Deletions are marked like this. Additions are marked like this.
Line 24: Line 24:
{{{ {{{#!highlight r numbers=disable
Line 28: Line 28:
Sometimes a package isn't available (usually temporarily) as a binary for your platform. If you need to build a package from source, make sure you have the developer tools for your OS installed (for MacOS, they come on the install DVD, but aren't installed by default. You may also need Fortran, available from the [http://cran.r-project.org/bin/macosx/tools/ MacOS tools] page on CRAN), then find the package on [http://cran.r-project.org/search.html CRAN search] and download the package source file, and then run this command at the command line (i.e. in a Terminal, not in the R GUI):
{{{
Sometimes a package isn't available (usually temporarily) as a binary for your platform. If you need to build a package from source, make sure you have the developer tools for your OS installed (for MacOS, they come on the install DVD, but aren't installed by default. You may also need Fortran, available from the [[http://cran.r-project.org/bin/macosx/tools/|MacOS tools]] page on CRAN), then find the package on [[http://cran.r-project.org/search.html|CRAN search]] and download the package source file, and then run this command at the command line (i.e. in a Terminal, not in the R GUI):
{{{#!highlight console numbers=disable
Line 34: Line 34:
When you install the packages above, you may get this warning: ```Warning: dependencies ‘marray’, ‘affy’, ‘Biobase’, ‘Rgraphviz’, ‘’ are not available```. To fix it, install the standard packages from [http://www.bioconductor.org/docs/install/ Bioconductor] by doing the following at the R prompt: When you install the packages above, you may get this warning: ```Warning: dependencies ‘marray’, ‘affy’, ‘Biobase’, ‘Rgraphviz’, ‘’ are not available```. To fix it, install the standard packages from [[http://www.bioconductor.org/docs/install/|Bioconductor]] by doing the following at the R prompt:
Line 36: Line 36:
{{{ {{{#!highlight r numbers=disable
Line 42: Line 42:
{{{ {{{#!highlight r numbers=disable

R Packages

1. From CRAN

Install these packages from CRAN. Always check the "install dependencies" box.

  • DPpackage
  • ggplot2
  • gsubfn
  • hexbin
  • languageR
  • lme4
  • MCMCglmm
  • multcomp
  • plyr
  • reshape
  • Design

A quicker way to do it is to copy and paste the following line at your R prompt:

install.packages(c("DPpackage", "ggplot2", "gsubfn","hexbin","languageR","lme4","MCMCglmm","multcomp","plyr","reshape","Design"))

Sometimes a package isn't available (usually temporarily) as a binary for your platform. If you need to build a package from source, make sure you have the developer tools for your OS installed (for MacOS, they come on the install DVD, but aren't installed by default. You may also need Fortran, available from the MacOS tools page on CRAN), then find the package on CRAN search and download the package source file, and then run this command at the command line (i.e. in a Terminal, not in the R GUI):

R CMD INSTALL <zipped-package-file>

2. From Bioconductor

When you install the packages above, you may get this warning: Warning: dependencies ‘marray’, ‘affy’, ‘Biobase’, ‘Rgraphviz’, ‘’ are not available. To fix it, install the standard packages from Bioconductor by doing the following at the R prompt:

source("http://bioconductor.org/biocLite.R")
biocLite(lib='/Library/Frameworks/R.framework/Resources/library/')

adjusting lib as appropriate for your OS. The example above is for Mac OS X. For Windows use:

biocLite(lib='C:\\Program Files\\R\\R-2.11.1\\library')

adjusting the version number as appropriate. (n.b. You must have Administrator privileges to install anything under C:/Program Files/)

Rpackages (last edited 2017-05-02 14:41:12 by dhcp-10-5-7-149)

MoinMoin Appliance - Powered by TurnKey Linux