Revision: 750
          http://rpy.svn.sourceforge.net/rpy/?rev=750&view=rev
Author:   lgautier
Date:     2009-08-16 05:49:10 +0000 (Sun, 16 Aug 2009)

Log Message:
-----------
Finished the port of the web pages to the new templating system.
RPy pages now have a prefix "rpy_".

Modified Paths:
--------------
    trunk/htdocs/build.py
    trunk/htdocs/templates/base.html

Added Paths:
-----------
    trunk/htdocs/templates/rpy_faq.html
    trunk/htdocs/templates/rpy_svn.html
    trunk/htdocs/templates/rpy_todo.html

Removed Paths:
-------------
    trunk/htdocs/faq.data
    trunk/htdocs/svn.data
    trunk/htdocs/todo.data

Modified: trunk/htdocs/build.py
===================================================================
--- trunk/htdocs/build.py       2009-08-15 19:20:59 UTC (rev 749)
+++ trunk/htdocs/build.py       2009-08-16 05:49:10 UTC (rev 750)
@@ -7,7 +7,10 @@
              'rpy_bugs.html',
              'rpy_demo.html',
              'rpy_download.html',
-             'rpy2_bugs.html'
+             'rpy_faq.html',
+             'rpy_svn.html',
+             'rpy_todo.html',
+             'rpy2_bugs.html',
              'rpy2_download.html',
              'rpy2.html',
              )

Deleted: trunk/htdocs/faq.data
===================================================================
--- trunk/htdocs/faq.data       2009-08-15 19:20:59 UTC (rev 749)
+++ trunk/htdocs/faq.data       2009-08-16 05:49:10 UTC (rev 750)
@@ -1,173 +0,0 @@
-<!-- page-title: RPy FAQ -->
-<!-- title: FAQ -->
-
-<p>
-
-<h4>
-Does <code>RPy</code> works in Windows or Mac?
-</h4>
-
-    <p>
-      Yes, versions since 0.3 support Windows and Mac.  RPy is included in the 
<a
-       href="http://fink.sourceforge.net";>Fink</a> project, which ports
-      Unix software to Mac.
-    </p>
-
-<h4>
-When I try to import the module in Python with '<code>from rpy import
-*</code>', I get an error:
-<pre>
-    ImportError: libR.so: cannot open shared object
-    file: No such file or directory
-</pre>
-</h4>
-
-    <p>
-      You need to ensure that libR.so is available to RPy.  First, ensure that 
-      R has been compiled as a shared library.  To compile R as a shared 
library,
-      perform follow this steps:
-<pre>
-    (go to the R source directory)
-    make distclean
-    ./configure --enable-R-shlib
-    make
-    make install
-</pre>
-
-    During the compilation of RPy, the path to libR.so is included in the RPy
-    shared library.  This should allow RPy to find libR.so unless it is moved
-    to a new location, in which case you will need to do one of the following
-    (substitute R_HOME for the directory where R is installed, usually 
/usr/local/lib/R):
-    <ul>
-      <li> make a link to R_HOME/bin/libR.so in /usr/local/lib, or in some 
other location that your system knows as a standard place for libraries; then 
run 'ldconfig' as root;
-      <li> or edit /etc/ld.so.conf to add the line 'R_HOME/bin' and run 
'ldconfig' as root;
-      <li> or set the environment variable LD_LIBRARY_PATH with
-<pre>
-    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH\
-           :R_HOME/bin
-</pre>
-       in your .bashrc (or equivalent).
-    </ul>
-    If these suggestions don't work, try to remove the R source directory, 
unpack
-    the sources again and then execute the previous instructions. It has been
-    reported that the removing and unpacking may be necessary.
-  </p>
-
-    <h4>
-      In Windows, when importing RPy, I get:
-<pre>
-    ImportError: R.DLL version does not match
-</pre>
-  </h4>
-
-    <p>
-      Make sure that the R bin directory is in your path.  This holds
-      the R.dll that python needs to load for rpy to work.  For R version
-      1.6.1 this path is (by default)
-<pre>
-    C:\Program Files\R\rw1061\bin\
-</pre>
-    For windows 98 or ME it is easier to use the path
-    C:\Progra~1\R\rw1061\bin instead.
-
-    <p>
-      Under Windows 2000 and later right click on "My Computer" and
-      select properties.  Now click the Advanced tab and select
-      environment variables.  Finally edit the path variable under
-      system variables and add
-<pre>
-    C:\Program Files\R\rw1061\bin\
-</pre>
-    to your path.  Make sure that all paths are seperated by semi-colons.
-
-    <p>
-      All others need to edit the Autoexec.bat file and add a line similar to:
-<pre>
-    set PATH=%PATH%;C:\Progra~1\R\rw1061\bin
-</pre>
-    near the end.
-
-<h4>When R object <tt>'foo'</tt> changes, the expression
-      <tt>r.foo</tt> still has the old value. Is this a bug?
-</h4>
-
-    It is not a bug (it's a feature :-) ). R objects are cached in a
-    Python dictionary after the first time. This is so in order to assign
-    them the <a
-      
href="rpy/doc/rpy_html/Methods-of-Robj-type.html#Methods%20of%20Robj%20type">local
-      conversion mode</a>. If you need to retrieve a changing R object, you
-    can use the expression <tt>r('foo')</tt>, which evaluates in the R
-    interpreter the expression <tt>'foo'</tt> and returns its result.
-
-<h4>When I load rpy on Unix (Linux, Mac, etc) , I get an error like:
-<pre>
-    
-    >>> from rpy import *
-    Error in gzfile(file, "rb") : invalid `enc" argument
-     Error: couldn"t find function "attach"
-     Traceback (most recent call last):
-       File "<stdin>", line 1, in ?
-       File "/usr/local/lib/python2.3/site-packages/rpy.py", line 
-    192, in ?
-         r = R()
-       File "/usr/local/lib/python2.3/site-packages/rpy.py", line 
-    174, in __init__
-         self.TRUE = self.__getitem__("T")
-       File "/usr/local/lib/python2.3/site-packages/rpy.py", line 185, in
-    __getitem__
-         obj = self.__dict__[name] = self.__dict__.get(name, 
-    _rpy.get(name))
-     rpy.RException: Object "T" not found
-     >>>
-    </pre>
-</h4>
-
-    <p>
-      It appears that this is caused by a problem in the build of
-      rpy.  Rebuilding and installing via:
-<pre>
-    python setup.py build -f -g
-    python install
-</pre>
-      seems to resolve the problem.
-    </p>
-
-
-<h4>On windows, I get an error like:
-<pre>
-Warning message:
-unable to load shared library 'C:\Program 
-Files\R\rw2011/modules/lapack.dll':
-   LoadLibrary failure:  The specified module could not be found.
-
-Traceback (most recent call last):
-   File "C:/TEMP/Manuel_Metz_2004_11_22.py", line 9, in -toplevel-
-     para = rpy.r.summary(fit) #Here I get an error
-RException: Error in La.chol2inv(x, size) : lapack routines cannot be loaded
-</pre>
-</h4>
-
-    <p>
-      This error occurs if you don't have the R 'bin' directory in
-      your path.  
-
-      Under Windows 2000 right click on "My Computer" and select
-      properties.  Now click the Advanced tab and select environment
-      variables.  Finally edit the path variable under system
-      variables and add
-<pre>
-    C:\Program Files\R\rw2011\bin\
-</pre>
-    to your path.  Make sure that all paths are seperated by semi-colons.
-
-    <p>
-      All others need to edit the Autoexec.bat file and add a line similar to:
-<pre>
-    set PATH=%PATH%;C:\Progra~1\R\rw2011\bin
-</pre>
-    near the end.
-
-    Note that you should replace the '2011', which is appropriate
-    for R version 2.1.1,  with the appropriate number for the R
-    version you have installed.
-    </p>

Deleted: trunk/htdocs/svn.data
===================================================================
--- trunk/htdocs/svn.data       2009-08-15 19:20:59 UTC (rev 749)
+++ trunk/htdocs/svn.data       2009-08-16 05:49:10 UTC (rev 750)
@@ -1,30 +0,0 @@
-<!-- page-title: RPy Subversion Repository -->
-<!-- title: Subversion Repository -->
-
-  <p> 
-    Browse the Subversion repository
-  </p>
-
-  <center>
-    <font size=+2>
-      <a href="http://rpy.svn.sourceforge.net/viewvc/rpy/";>
-       Subversion Viewer (ViewVC)
-      </a>
-    </font>
-  </center>
-
-  <p> 
-    Anonymous Subversion access:
-  </p>
-
-  <center>
-    <font size=+2>
-      <a href="http://sourceforge.net/svn/?group_id=48422";>
-       RPy Subversion Access Info Page
-      </a>
-    </font>
-  </center>
-
-
-
-

Modified: trunk/htdocs/templates/base.html
===================================================================
--- trunk/htdocs/templates/base.html    2009-08-15 19:20:59 UTC (rev 749)
+++ trunk/htdocs/templates/base.html    2009-08-16 05:49:10 UTC (rev 750)
@@ -48,12 +48,12 @@
   <ul class="menu">
     <li><a href="rpy.html">About</a></li>
     <li><a href="rpy_bugs.html">Bugs</a></li>
-    <li><a href="svn.html">Code repository</a></li>
+    <li><a href="rpy_svn.html">Code repository</a></li>
     <li><a href="rpy_download.html">Download</a></li>
-    <li><a href="documentation.html">Documentation</a></li>
+    <li><a href="rpy_documentation.html">Documentation</a></li>
     <li><a href="rpy_demo.html">Demo</a></li>
-    <li><a href="faq.html">FAQ</a></li>
-    <li><a href="todo.html">To do</a></li>
+    <li><a href="rpy_faq.html">FAQ</a></li>
+    <li><a href="rpy_todo.html">To do</a></li>
     <li><a href="http://rpy.wiki.sourceforge.net/";>Wiki</a></li>
   </ul>
   <b>rpy2</b>

Added: trunk/htdocs/templates/rpy_faq.html
===================================================================
--- trunk/htdocs/templates/rpy_faq.html                         (rev 0)
+++ trunk/htdocs/templates/rpy_faq.html 2009-08-16 05:49:10 UTC (rev 750)
@@ -0,0 +1,179 @@
+{% extends "base.html" %}
+
+{% block main %}
+
+
+<p>
+
+<h4>
+Does <code>RPy</code> works in Windows or Mac?
+</h4>
+
+    <p>
+      Yes, versions since 0.3 support Windows and Mac.  RPy is included in the 
<a
+       href="http://fink.sourceforge.net";>Fink</a> project, which ports
+      Unix software to Mac.
+    </p>
+
+<h4>
+When I try to import the module in Python with '<code>from rpy import
+*</code>', I get an error:
+<pre>
+    ImportError: libR.so: cannot open shared object
+    file: No such file or directory
+</pre>
+</h4>
+
+    <p>
+      You need to ensure that libR.so is available to RPy.  First, ensure that 
+      R has been compiled as a shared library.  To compile R as a shared 
library,
+      perform follow this steps:
+<pre>
+    (go to the R source directory)
+    make distclean
+    ./configure --enable-R-shlib
+    make
+    make install
+</pre>
+
+    During the compilation of RPy, the path to libR.so is included in the RPy
+    shared library.  This should allow RPy to find libR.so unless it is moved
+    to a new location, in which case you will need to do one of the following
+    (substitute R_HOME for the directory where R is installed, usually 
/usr/local/lib/R):
+    <ul>
+      <li> make a link to R_HOME/bin/libR.so in /usr/local/lib, or in some 
other location that your system knows as a standard place for libraries; then 
run 'ldconfig' as root;
+      <li> or edit /etc/ld.so.conf to add the line 'R_HOME/bin' and run 
'ldconfig' as root;
+      <li> or set the environment variable LD_LIBRARY_PATH with
+<pre>
+    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH\
+           :R_HOME/bin
+</pre>
+       in your .bashrc (or equivalent).
+    </ul>
+    If these suggestions don't work, try to remove the R source directory, 
unpack
+    the sources again and then execute the previous instructions. It has been
+    reported that the removing and unpacking may be necessary.
+  </p>
+
+    <h4>
+      In Windows, when importing RPy, I get:
+<pre>
+    ImportError: R.DLL version does not match
+</pre>
+  </h4>
+
+    <p>
+      Make sure that the R bin directory is in your path.  This holds
+      the R.dll that python needs to load for rpy to work.  For R version
+      1.6.1 this path is (by default)
+<pre>
+    C:\Program Files\R\rw1061\bin\
+</pre>
+    For windows 98 or ME it is easier to use the path
+    C:\Progra~1\R\rw1061\bin instead.
+
+    <p>
+      Under Windows 2000 and later right click on "My Computer" and
+      select properties.  Now click the Advanced tab and select
+      environment variables.  Finally edit the path variable under
+      system variables and add
+<pre>
+    C:\Program Files\R\rw1061\bin\
+</pre>
+    to your path.  Make sure that all paths are seperated by semi-colons.
+
+    <p>
+      All others need to edit the Autoexec.bat file and add a line similar to:
+<pre>
+    set PATH=%PATH%;C:\Progra~1\R\rw1061\bin
+</pre>
+    near the end.
+
+<h4>When R object <tt>'foo'</tt> changes, the expression
+      <tt>r.foo</tt> still has the old value. Is this a bug?
+</h4>
+
+    It is not a bug (it's a feature :-) ). R objects are cached in a
+    Python dictionary after the first time. This is so in order to assign
+    them the <a
+      
href="rpy/doc/rpy_html/Methods-of-Robj-type.html#Methods%20of%20Robj%20type">local
+      conversion mode</a>. If you need to retrieve a changing R object, you
+    can use the expression <tt>r('foo')</tt>, which evaluates in the R
+    interpreter the expression <tt>'foo'</tt> and returns its result.
+
+<h4>When I load rpy on Unix (Linux, Mac, etc) , I get an error like:
+<pre>
+    
+    >>> from rpy import *
+    Error in gzfile(file, "rb") : invalid `enc" argument
+     Error: couldn"t find function "attach"
+     Traceback (most recent call last):
+       File "<stdin>", line 1, in ?
+       File "/usr/local/lib/python2.3/site-packages/rpy.py", line 
+    192, in ?
+         r = R()
+       File "/usr/local/lib/python2.3/site-packages/rpy.py", line 
+    174, in __init__
+         self.TRUE = self.__getitem__("T")
+       File "/usr/local/lib/python2.3/site-packages/rpy.py", line 185, in
+    __getitem__
+         obj = self.__dict__[name] = self.__dict__.get(name, 
+    _rpy.get(name))
+     rpy.RException: Object "T" not found
+     >>>
+    </pre>
+</h4>
+
+    <p>
+      It appears that this is caused by a problem in the build of
+      rpy.  Rebuilding and installing via:
+<pre>
+    python setup.py build -f -g
+    python install
+</pre>
+      seems to resolve the problem.
+    </p>
+
+
+<h4>On windows, I get an error like:
+<pre>
+Warning message:
+unable to load shared library 'C:\Program 
+Files\R\rw2011/modules/lapack.dll':
+   LoadLibrary failure:  The specified module could not be found.
+
+Traceback (most recent call last):
+   File "C:/TEMP/Manuel_Metz_2004_11_22.py", line 9, in -toplevel-
+     para = rpy.r.summary(fit) #Here I get an error
+RException: Error in La.chol2inv(x, size) : lapack routines cannot be loaded
+</pre>
+</h4>
+
+    <p>
+      This error occurs if you don't have the R 'bin' directory in
+      your path.  
+
+      Under Windows 2000 right click on "My Computer" and select
+      properties.  Now click the Advanced tab and select environment
+      variables.  Finally edit the path variable under system
+      variables and add
+<pre>
+    C:\Program Files\R\rw2011\bin\
+</pre>
+    to your path.  Make sure that all paths are seperated by semi-colons.
+
+    <p>
+      All others need to edit the Autoexec.bat file and add a line similar to:
+<pre>
+    set PATH=%PATH%;C:\Progra~1\R\rw2011\bin
+</pre>
+    near the end.
+
+    Note that you should replace the '2011', which is appropriate
+    for R version 2.1.1,  with the appropriate number for the R
+    version you have installed.
+    </p>
+
+
+{% endblock %}
+

Added: trunk/htdocs/templates/rpy_svn.html
===================================================================
--- trunk/htdocs/templates/rpy_svn.html                         (rev 0)
+++ trunk/htdocs/templates/rpy_svn.html 2009-08-16 05:49:10 UTC (rev 750)
@@ -0,0 +1,33 @@
+{% extends "base.html" %}
+
+{% block main %}
+
+
+  <p> 
+    Browse the Subversion repository
+  </p>
+
+  <center>
+    <font size=+2>
+      <a href="http://rpy.svn.sourceforge.net/viewvc/rpy/";>
+       Subversion Viewer (ViewVC)
+      </a>
+    </font>
+  </center>
+
+  <p> 
+    Anonymous Subversion access:
+  </p>
+
+  <center>
+    <font size=+2>
+      <a href="http://sourceforge.net/svn/?group_id=48422";>
+       RPy Subversion Access Info Page
+      </a>
+    </font>
+  </center>
+
+
+
+{% endblock %}
+

Added: trunk/htdocs/templates/rpy_todo.html
===================================================================
--- trunk/htdocs/templates/rpy_todo.html                                (rev 0)
+++ trunk/htdocs/templates/rpy_todo.html        2009-08-16 05:49:10 UTC (rev 
750)
@@ -0,0 +1,12 @@
+{% extends "base.html" %}
+
+{% block main %}
+
+<p>
+<ul>
+<li> Possibility to pass Python functions as arguments to R functions.
+<li> More builtin classes for conversion of R classes.
+</ul>
+</P>
+
+{% endblock %}

Deleted: trunk/htdocs/todo.data
===================================================================
--- trunk/htdocs/todo.data      2009-08-15 19:20:59 UTC (rev 749)
+++ trunk/htdocs/todo.data      2009-08-16 05:49:10 UTC (rev 750)
@@ -1,9 +0,0 @@
-<!-- page-title: To do -->
-<!-- title: To do -->
-
-<p>
-<ul>
-<li> Possibility to pass Python functions as arguments to R functions.
-<li> More builtin classes for conversion of R classes.
-</ul>
-</p>


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to