On 1/7/2009 5:13 PM Alan G Isaac apparently wrote:
> Access to robjects
> does not match the documentation
Badly put: I should have said that
*representation* of robjects does
not match the documentation.
(And is therefore much less useful.)
Alan Isaac
--
I installed rpy using the most recent Windows installers.
Testing the installation produces 7 failures (not the 2
suggested in the documentation). Access to robjects
does not match the documentation at:
http://rpy.sourceforge.net/rpy2/doc/html/introduction.html#the-r-instance
Example below.
Alan
http://www.bitbucket.org/lgautier/rpy2/
Where can i hg pull rpy2 ?
the above site is down
On 1/7/09, paul jobs wrote:
>
> Hey guys
> should i use rpy or rpy2
> i m learning r language and rpy simultaneously
>
> thanks a lot for pointers
>
--
Hey guys
should i use rpy or rpy2
i m learning r language and rpy simultaneously
thanks a lot for pointers
--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anyth
Thanks again, Laurent and Anne!
This should have been obvious to me. I guess my brain doesn't function
propoerly today. Maybe it is time to go home.
Thanks again!
Cheers
Oliver
Laurent Gautier wrote on 07.01.2009 14:34:19:
> Oliver Tomic wrote:
> > Hi again,
> >
> > I am reading the document
Scrive Oliver Tomic :
> I forgot to mention that I tried the following with rpy2, but without
> success:
>
> >>> import rpy2.robjects as robjects
> >>> robjects.r['library(epiR)']
Hello Oliver,
try this:
[code]
import rpy2.robjects as robjects
robjects.r.library("epiR")
[/code]
or, more like t
Oliver Tomic wrote:
> Hi again,
>
> I am reading the documentation but I must be missing something. When I
> try this from the documentation everything works fine:
>
> import rpy2.robjects as robjects
> rsum = robjects.r['sum']
> res = rsum(robjects.IntVector([1,2,3]))
>
>
>
> Here, however I
Hi again,
I am reading the documentation but I must be missing something. When I try
this from the documentation everything works fine:
import rpy2.robjects as robjects
rsum = robjects.r['sum']
res = rsum(robjects.IntVector([1,2,3]))
Here, however I get an syntax error:
import rpy2.robjects
Thank you Laurent! This did it, now it works!
Cheers Oliver
Laurent Gautier wrote on 07.01.2009 11:08:39:
> Hi Oliver,
>
> '(' is not '['.
>
> Check
>
http://rpy.sourceforge.net/rpy2/doc/html/introduction.html#calling-r-functions
> then
> http://rpy.sourceforge.net/rpy2/doc/html/robjects.htm
Hi Oliver,
'(' is not '['.
Check
http://rpy.sourceforge.net/rpy2/doc/html/introduction.html#calling-r-functions
then
http://rpy.sourceforge.net/rpy2/doc/html/robjects.html?highlight=evaluate#strings-as-r-code
and eventually
http://rpy.sourceforge.net/rpy2/doc/html/robjects.html?highlight=evaluate
I forgot to mention that I tried the following with rpy2, but without
success:
>>> import rpy2.robjects as robjects
>>> robjects.r['library(epiR)']
Traceback (most recent call last):
File "", line 1, in
robjects.r['library(epiR)']
File "C:\Python25\Lib\site-packages\rpy2\robjects\__init_
Hi,
I am sorry about this trivial question, but what is the obvious way to
import a library in R in via rpy2?
If I do the following in R:
> library(epiR)
Package epiR 0.9-14 is loaded
Type help(epi.about) for summary information
>
What is the equivalent in rpy2?
Windows XP
Python 2.5
rpy2 2
12 matches
Mail list logo