Problem solved!

The simple '._sage_()' does the trick. It converts data from R into
something that can be handled by Python or Sage.

def ndistribpts(x): return (x,r.dnorm(x,mean=100,sd=25)._sage_())
def cube(x): return (x,x*x*x)
v=map(ndistribpts,range(98,103))
scatter_plot(v)

Works though I'm still far from a pretty curve, but we are improving
rapidly.

Thank you.
R.

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to