hi thomas,<div><br></div><div>oops. sorry - i wrote that email too quickly. there were a couple of things.</div><div><br></div><div>the invalid syntax came from using %R instead of %%R with multiline code - we could perhaps improve the error message.</div>

<div><br></div><div>and then when i had tried %%R i had a 'print dmap' statement in the R code and R returned a very unhelpful </div><div><pre style="margin-top:0px;margin-bottom:0px;padding:0px;border:0px;font-family:monospace,sans-serif;font-size:14px;line-height:17px;vertical-align:baseline;white-space:pre-wrap;color:rgb(0,0,0)">

R error message: u'Error while parsing the string.'</pre><pre style="margin-top:0px;margin-bottom:0px;padding:0px;border:0px;font-family:monospace,sans-serif;font-size:14px;line-height:17px;vertical-align:baseline;white-space:pre-wrap;color:rgb(0,0,0)">

<br></pre><pre style="margin-top:0px;margin-bottom:0px;padding:0px;border:0px;font-family:monospace,sans-serif;font-size:14px;line-height:17px;vertical-align:baseline;white-space:pre-wrap;color:rgb(0,0,0)"><span style="font-family:arial;font-size:small;line-height:normal;color:rgb(34,34,34)">finally i fixed the %R and the print and a library import that i had forgotten and all was good.</span><br>

</pre><pre style="margin-top:0px;margin-bottom:0px;padding:0px;border:0px;font-family:monospace,sans-serif;font-size:14px;line-height:17px;vertical-align:baseline;white-space:pre-wrap;color:rgb(0,0,0)"><span style="font-family:arial;font-size:small;line-height:normal;color:rgb(34,34,34)"><br>

</span></pre></div><div class="gmail_extra">cheers,<br><br>satra<br><br><br><div class="gmail_quote">On Sun, Dec 2, 2012 at 10:36 AM, Thomas Kluyver <span dir="ltr"><<a href="mailto:takowl@gmail.com" target="_blank">takowl@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra"><div class="im"><div class="gmail_quote">On 2 December 2012 14:47, Satrajit Ghosh <span dir="ltr"><<a href="mailto:satra@mit.edu" target="_blank">satra@mit.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

the following problem is now solved.</blockquote></div><br></div>If you solve a problem, please relate how you did so, for others who might run into it in the future. Or was it simply solved by a newer version of the IPython code?<br>



<br>Thanks,<br>Thomas<br></div>
<br>_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br></blockquote></div><br></div>