Why doesn't this just work?
from rpy import *
from numpy import *
r("""
x <- 10(1:nrow(volcano))
y <- 10(1:ncol(volcano))
image(x, y, volcano, col = terrain.colors(100), axes = FALSE)
""")
I get a blank graphics window popping up. This is right from the "image" example in the help file.
Anonymous
Logged In: NO
I should add this is with Python 2.5.2, R 2.7.0.
Logged In: YES
user_id=9316
Originator: NO
I presume you are using Win32. Which method are you using to run python?
Logged In: YES
user_id=117083
Originator: YES
This was win32.
I went back to R2.6.2 and the corresponding RPY version from Sourceforge, and it now works.
I am using IDLE to launch Python2.5.