On 28 April 2006 at 11:51, Chi Shen wrote: | I have just installed this package, and it is working fine with R. | However, the package apparently prints out debug messages whenever it | is imported into R: | | # python | Python 2.3.5 (#2, Mar 6 2006, 10:12:24) | [GCC 4.0.3 20060304 (prerelease) (Debian 4.0.2-10)] on linux2 | Type "help", "copyright", "credits" or "license" for more information. | >>> from rpy import * | RHOME= /usr/lib/R | RVERSION= 2.3.0 | RVER= 2030 | RUSER= /root | Loading Rpy version 2030 .. Done. | Creating the R object 'r' .. Done | >>> | | Is this normal?
Apparently so -- for this version at least. It is governed by an option verbose in rpy.py: VERBOSE=rpy_options['VERBOSE'] if VERBOSE: print "RHOME=",RHOME print "RVERSION=",RVERSION print "RVER=",RVER print "RUSER=",RUSER I don't see how you could tell rpy_options.py what those values are, other than by altering its defaults in the source, but I am sure there is a way. Maybe best to poke around, or ask on the list... Don't think it is a bug .... Dirk | > | > We believe that the bug you reported is fixed in the latest version of | > rpy, which is due to be installed in the Debian FTP archive: | > | > python-rpy-doc_0.99.2-2_all.deb | > to pool/main/r/rpy/python-rpy-doc_0.99.2-2_all.deb | > python-rpy_0.99.2-2_all.deb | > to pool/main/r/rpy/python-rpy_0.99.2-2_all.deb | > python2.3-rpy_0.99.2-2_i386.deb | > to pool/main/r/rpy/python2.3-rpy_0.99.2-2_i386.deb | > python2.4-rpy_0.99.2-2_i386.deb | > to pool/main/r/rpy/python2.4-rpy_0.99.2-2_i386.deb | > rpy_0.99.2-2.diff.gz | > to pool/main/r/rpy/rpy_0.99.2-2.diff.gz | > rpy_0.99.2-2.dsc | > to pool/main/r/rpy/rpy_0.99.2-2.dsc | > | > -- Hell, there are no rules here - we're trying to accomplish something. -- Thomas A. Edison -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]