<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Helvetica Neue";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Lucida Console";
        panose-1:2 11 6 9 4 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-ligatures:standardcontextual;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hi Jonathan, <o:p></o:p></p>
<p class="MsoNormal">I started from scratch and followed the instructions in <a href="https://r-resources.massey.ac.nz/BrailleRInAction/WriteR.html">
https://r-resources.massey.ac.nz/BrailleRInAction/WriteR.html</a><o:p></o:p></p>
<p class="MsoNormal">I did already have Python 2 installed but not 3 so I called GetPython3() and this worked.<o:p></o:p></p>
<p class="MsoNormal">I then called GetWxPython3() and this worked. <o:p></o:p></p>
<p class="MsoNormal">Due to this being a Windows machine I don’t usually use for active work R and RStudio were very old so I installed R and RStudio as new, as of today before I did this. Ensuring that I selected the new version of R as that used by RStudio.
 I am sighted, so I am command from RStudio (I don’t see how this would make a difference).
<o:p></o:p></p>
<p class="MsoNormal">I installed half of CRAN <span style="font-family:"Segoe UI Emoji",sans-serif">
😉</span><o:p></o:p></p>
<p class="MsoNormal">TestWX() says:<o:p></o:p></p>
<p class="MsoNormal" style="background:white;word-break:break-all"><span style="font-size:12.0pt;font-family:"Lucida Console";color:#C5060B;mso-ligatures:none;mso-fareast-language:EN-GB">Your system is using Python 3.12.0<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;word-break:break-all"><span style="font-size:12.0pt;font-family:"Lucida Console";color:#C5060B;mso-ligatures:none;mso-fareast-language:EN-GB">Warning messages:<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;word-break:break-all"><span style="font-size:12.0pt;font-family:"Lucida Console";color:#C5060B;mso-ligatures:none;mso-fareast-language:EN-GB">1: In shell(paste("python", system.file("Python/TestWX.py", package =
 "BrailleR"))) :<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;word-break:break-all"><span style="font-size:12.0pt;font-family:"Lucida Console";color:#C5060B;mso-ligatures:none;mso-fareast-language:EN-GB">  'python C:/Users/Emma/AppData/Local/R/win-library/4.3/BrailleR/Python/TestWX.py'
 execution failed with error code 5<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;word-break:break-all"><span style="font-size:12.0pt;font-family:"Lucida Console";color:#C5060B;mso-ligatures:none;mso-fareast-language:EN-GB">2: In .CannotSeeWxPython() :<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;word-break:break-all"><span style="font-size:12.0pt;font-family:"Lucida Console";color:#C5060B;mso-ligatures:none;mso-fareast-language:EN-GB">  Python cannot see the necessary wx module.You need to get that fixed.</span><span style="font-size:12.0pt;font-family:"Lucida Console";color:black;mso-ligatures:none;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal">But, it successfully opens WriteR. <o:p></o:p></p>
<p class="MsoNormal">WriteR works as expected in all other regards. <o:p></o:p></p>
<p class="MsoNormal">Unfortunately I am not a Python guru! <span style="font-family:"Segoe UI Emoji",sans-serif">
☹</span> I have written limited Python 2 in the past but nothing with a GUI. Please understand I am not expecting a magic fix, I suspect the problem must be wxPython based and I know nothing of this I am afraid.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best,<br>
Emma<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="mso-ligatures:none;mso-fareast-language:EN-GB">From:</span></b><span lang="EN-US" style="mso-ligatures:none;mso-fareast-language:EN-GB"> BlindRUG <blindrug-bounces@nfbnet.org>
<b>On Behalf Of </b>Jonathan Godfrey via BlindRUG<br>
<b>Sent:</b> Thursday, October 26, 2023 10:56 PM<br>
<b>To:</b> Blind R Users Group <blindrug@nfbnet.org><br>
<b>Cc:</b> Jonathan Godfrey <A.J.Godfrey@massey.ac.nz><br>
<b>Subject:</b> Re: [BlindRUG] WriteR save not working as expected<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<table class="MsoNormalTable" border="1" cellspacing="0" cellpadding="0" style="background:#FFF698;border-collapse:collapse;border:none">
<tbody>
<tr>
<td width="100%" valign="top" style="width:100.0%;border:none;border-left:solid #FEC811 6.0pt;padding:5.65pt 5.65pt 5.65pt 5.65pt">
<p class="MsoNormal" style="mso-margin-top-alt:auto"><strong><span style="font-family:"Helvetica Neue",serif;color:black">CAUTION:
</span></strong><span style="font-family:"Helvetica Neue",serif;color:black"> This email came from outside of the University. To keep your account safe, only click on links and open attachments if you know the person who sent the email, or you expected to receive
 this communication.</span><span style="font-family:"Helvetica Neue",serif"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p><span lang="EN-NZ"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-NZ">Hello Emma,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ">I need to know which conditions you are working within.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ">Specifically, how have you set up WriteR? I have an executable version and the Python source code based version floating around.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ">I also have various development versions. I’m in desperate need of a Python guru to assist with the developments I have in mind.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ">Jonathan<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="mso-ligatures:none;mso-fareast-language:EN-NZ">From:</span></b><span lang="EN-US" style="mso-ligatures:none;mso-fareast-language:EN-NZ"> BlindRUG <<a href="mailto:blindrug-bounces@nfbnet.org">blindrug-bounces@nfbnet.org</a>>
<b>On Behalf Of </b>Emma Cliffe via BlindRUG<br>
<b>Sent:</b> Friday, October 27, 2023 10:37 AM<br>
<b>To:</b> <a href="mailto:blindrug@nfbnet.org">blindrug@nfbnet.org</a><br>
<b>Cc:</b> Emma Cliffe <<a href="mailto:cspehj@bath.ac.uk">cspehj@bath.ac.uk</a>><br>
<b>Subject:</b> [BlindRUG] WriteR save not working as expected<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-NZ"><o:p> </o:p></span></p>
<p class="MsoNormal">Hello BlindRUG, <o:p></o:p></p>
<p class="MsoNormal">I am having some confusing trouble with WriteR… I have started from scratch with a new install of R and all associated things and still this is happening though it resolved many other issues! In WriteR when I try and save the document,
 either using keyboard shortcuts or menus, it does not save. When I run Save As it brings up a window and asks for a filename etc. as expected and there is no error but it also doesn’t save. The only way I can save is by quitting WriteR. When I do this it asks
 me if I want to save and if I say yes then it will then save the document. However, this leads to a lot of quitting and re-opening the document! This interrupts the workflow of being able to save, render, view. Is this something anyone has seen before? It
 is quite puzzling and I don’t know where to start with what it could be.<o:p></o:p></p>
<p class="MsoNormal">I am about to introduce WriteR to a student and I am hoping they don’t meet a similar issue! I will update whether they do or not and any differences I can see between the systems if I can.
<o:p></o:p></p>
<p class="MsoNormal">Thanks,<br>
Emma<o:p></o:p></p>
</div>
</div>
</body>
</html>