<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:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma",sans-serif;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma",sans-serif;
        mso-fareast-language:EN-NZ;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@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="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Sorry to bang on about this, but I'd just like to point out how easy it is to copy and paste output when working in Emacs. One can
 simply arrow around as usual (there's no need to use the Jaws cursor), and use the standard Emacs selection and copy commands. This is another reason why I'm such a fan of the Emacs environment.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Cheers,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Robin<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><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="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> BlindRUG [mailto:blindrug-bounces@nfbnet.org]
<b>On Behalf Of </b>Godfrey, Jonathan via BlindRUG<br>
<b>Sent:</b> 01 August 2017 04:29<br>
<b>To:</b> Blind R Users Group <blindrug@nfbnet.org><br>
<b>Cc:</b> Godfrey, Jonathan <A.J.Godfrey@massey.ac.nz><br>
<b>Subject:</b> Re: [BlindRUG] Using Rterm with Rmarkdown<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hi Nicholas,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">No, copy and paste is not easily achieved from the terminal mode of operation.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Perhaps the easiest way to get error messages in editable text might be to run the code as a script using a batch process.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">If you save the script as MyScript.R and then use MakeBatch(“MyScript.R”), (NB this is a BrailleR function so the package must be loaded) you will
 have a batch file called “MyScript.bat” in the current working directory. If you click on that file in the file browser (Windows explorer for example) then the script will be processed in a clean R session and the output file MyScript.Rout will be created.
 The error will be readable in this plain text file.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">HTH<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Jonathan<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma",sans-serif">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma",sans-serif"> BlindRUG [<a href="mailto:blindrug-bounces@nfbnet.org">mailto:blindrug-bounces@nfbnet.org</a>]
<b>On Behalf Of </b>Nicholas J via BlindRUG<br>
<b>Sent:</b> Tuesday, 1 August 2017 1:36 p.m.<br>
<b>To:</b> Blind R Users Group<br>
<b>Cc:</b> Nicholas J<br>
<b>Subject:</b> Re: [BlindRUG] Using Rterm with Rmarkdown<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-NZ">Dr. Godfrey,<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-NZ"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-NZ">In rterm, I may run a piece of code and then get an error from it. Then I may want to copy and paste that error into google to understand it better, but I have tried pressing many buttons on the computer without success.
 I can highlight the error with the arrow keys, but then I can't do control c to copy it. Is this not a feature in rterm?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-NZ"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-NZ">Thank you,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-NZ">Nicholas<o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span lang="EN-NZ"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-NZ">On Mon, Jul 31, 2017 at 8:33 PM, Godfrey, Jonathan via BlindRUG <<a href="mailto:blindrug@nfbnet.org" target="_blank">blindrug@nfbnet.org</a>> wrote:<o:p></o:p></span></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-NZ" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hello Nicholas,</span><span lang="EN-NZ"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-NZ" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><span lang="EN-NZ"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-NZ" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">RStudio comes with its own version of Pandoc so it will find it even if the full version
 is not on the system path.</span><span lang="EN-NZ"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-NZ" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><span lang="EN-NZ"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-NZ" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">I recommend you grab a copy of pandoc and install it separately. The most recent version
 I installed created a folder for pandoc under program files as against older versions that made a folder under my user profile. This newer version also updated the system path variable for Windows so that it will be visible to all other software.</span><span lang="EN-NZ"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-NZ" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><span lang="EN-NZ"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-NZ" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">As a consequence, I recommend that everyone update to a more recent version of pandoc
 to make life simpler all round.</span><span lang="EN-NZ"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-NZ" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><span lang="EN-NZ"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-NZ" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">I’m not sure about your other question. Surely the commands you want are in the R markdown
 file being compiled (?) You might need to explain what you’re doing a little more to get the best out of me on this one. <smiles></span><span lang="EN-NZ"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-NZ" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><span lang="EN-NZ"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-NZ" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Jonathan</span><span lang="EN-NZ"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-NZ" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><span lang="EN-NZ"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-NZ" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><span lang="EN-NZ"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma",sans-serif">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma",sans-serif"> BlindRUG
 [mailto:<a href="mailto:blindrug-bounces@nfbnet.org" target="_blank">blindrug-bounces@nfbnet.org</a>]
<b>On Behalf Of </b>Nicholas J via BlindRUG<br>
<b>Sent:</b> Tuesday, 1 August 2017 12:11 p.m.<br>
<b>To:</b> <a href="mailto:blindrug@nfbnet.org" target="_blank">blindrug@nfbnet.org</a><br>
<b>Cc:</b> Nicholas J<br>
<b>Subject:</b> [BlindRUG] Using Rterm with Rmarkdown</span><span lang="EN-NZ"><o:p></o:p></span></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-NZ"> <o:p></o:p></span></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-NZ">Hello,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-NZ"> <o:p></o:p></span></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-NZ">Question 1: For rmarkdown in rterm, I am getting the following error when I render a file "Error: pandoc version 1.12.3 or higher is required and was not found."
 I did the pandoc_available() command in rterm and got false. I did the same command in rstudio and got true. It seems like I have it, but not in rterm. How can I fix this if possible?<o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-NZ"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-NZ">Second Question: In rterm, I can copy and paste the current code line I am typing in. Rterm won't let me copy previous errors or lines that have already been
 run. Is there a way to fix this?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-NZ"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-NZ">Thank you,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-NZ">Nicholas<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-NZ"><br>
_______________________________________________<br>
BlindRUG mailing list<br>
<a href="mailto:BlindRUG@nfbnet.org">BlindRUG@nfbnet.org</a><br>
<a href="http://nfbnet.org/mailman/listinfo/blindrug_nfbnet.org" target="_blank">http://nfbnet.org/mailman/listinfo/blindrug_nfbnet.org</a><br>
To unsubscribe, change your list options or get your account info for BlindRUG:<br>
<a href="http://nfbnet.org/mailman/options/blindrug_nfbnet.org/314nick15%40gmail.com" target="_blank">http://nfbnet.org/mailman/options/blindrug_nfbnet.org/314nick15%40gmail.com</a><br>
The list archive can be viewed at:<br>
<a href="http://www.nfbnet.org/pipermail/blindrug_nfbnet.org" target="_blank">http://www.nfbnet.org/pipermail/blindrug_nfbnet.org</a><br>
More information and useful links about using R as a blind person can be obtained at:<br>
<a href="http://R-Resources.massey.ac.nz" target="_blank">http://R-Resources.massey.ac.nz</a><br>
<br>
Look for help using R commands by reading the accessible e-book "Let's Use R Now" compiled by Jonathan Godfrey at:<br>
<a href="http://R-Resources.massey.ac.nz/lurn/front.html" target="_blank">http://R-Resources.massey.ac.nz/lurn/front.html</a><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-NZ"><o:p> </o:p></span></p>
</div>
</div>
</body>
</html>