[Genabel-commits] r666 - pkg/webpages
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Fri Mar 4 19:44:15 CET 2011
Author: yurii
Date: 2011-03-04 19:44:15 +0100 (Fri, 04 Mar 2011)
New Revision: 666
Modified:
pkg/webpages/tutHowToInstallDevelVersion.html
Log:
webpages how to install dev version -- few changes suggested in discussion
Modified: pkg/webpages/tutHowToInstallDevelVersion.html
===================================================================
--- pkg/webpages/tutHowToInstallDevelVersion.html 2011-02-28 17:23:34 UTC (rev 665)
+++ pkg/webpages/tutHowToInstallDevelVersion.html 2011-03-04 18:44:15 UTC (rev 666)
@@ -25,7 +25,7 @@
</a>
<p></p>
-2) In order to be able to compile devel-dersion, you need to set
+2) In order to be able to compile devel-version, you need to set
an environmental variable R_HOME to point the location, where
R is installed. We assume that you use Bash (most people do); if not,
try to figure out how you can set environmental variables for your particular environment (and let us know so we can add it here :) ).
@@ -35,17 +35,19 @@
on Bash command prompt. Assuming R is installed at '/usr/bin', add the following lines to your ~/.bashrc file
<p></p>
+<pre>
R_HOME=/usr/bin
-<br>
export R_HOME
+</pre>
<p></p>
or, you can try
<p></p>
+<pre>
R_HOME=$(dirname $(which R))
-<br>
export R_HOME
+</pre>
<p></p>
@@ -56,18 +58,20 @@
from CRAN; for that on R command line type
<p></p>
+<pre>
install.packages("GenABEL",dependencies=c("Depends","Suggests"))
-<br>
install.packages("roxygen")
-<br>
install.packages("RUnit")
+</pre>
<p></p>
3) Change to a place, where you want the source code
to go. Get to the latest code by
<p></p>
+<pre>
svn export svn://svn.r-forge.r-project.org/svnroot/genabel/pkg
+</pre>
<p></p>
This should create directory called 'pkg' with all packages
@@ -77,21 +81,22 @@
4) Compile and install latest code by
<p></p>
+<pre>
cd pkg
-<br>
R CMD INSTALL DatABEL
-<br>
R CMD INSTALL GenABEL
-<br>
... etc.
+</pre>
<p></p>
Note some packages (e.g. ProbABEL) are not R packages; to
compile these use specific Makefile's, e.g.
<p></p>
+
+<pre>
cd ProbABEL
-<br>
make
+</pre>
<p></p>
FINITO! Enjoy :)
More information about the Genabel-commits
mailing list