Rendering With Mental Ray On A Mac Doesn't Work

when i render anything with mental ray i get this error message:

renderIntoNewWindow render;
// Error: mentalrayRender 640 480 1 1 persp; //
// Error: Wrong number of arguments on call to mentalrayRender. //

any ideas how i can fix this?