Hello,
I am trying to use RPy to run an R package called survcomp. One of the
methods takes in the variable name surv.time. For example, I can run it as
follows:
cindex(x=prob,surv.time=survTIME, surv.even=survEVENT) in R (where x,
suvr.time and surv.event are predefined variable names from the package).
However I get an error in python.
If I leave the synatx as surv.time I get the following error: *SyntaxError:
keyword can't be an expression.*
*
*
If I change surv.time to surv_time I get a new error: *not all arguments
have the same length. *Which I checked and as far as I can tell all inputs
do have the same length.
I know the problem is the dot in surv.time variable. I wonder, can Rpy work
when there is dot in the variable name, does R know how to translate it?
Any help is much appreciated,
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list