<p dir="ltr">I highly recommend</p>
<p dir="ltr">    Rscript in.R > out.txt</p>
<p dir="ltr">It works the same on all operating system.</p>
<p dir="ltr">Henrik</p>
<div class="gmail_quote">On Mar 16, 2016 11:45, "Tim in 't Veld via BlindRUG" <<a href="mailto:blindrug@nfbnet.org">blindrug@nfbnet.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Dear Syed , <br>
      Below is the batch file (a single line) I use to save the output
      of a script "in.r" to file "out.txt". Make sure to adapt the path
      for the R executable and ensure to run this batch file from the
      same directory where your "in.r" is located. <br>
      <br>
      "C:\Program Files\R\R-3.2.3\bin\x64\Rterm.exe" --no-save < in.R
      > out.txt <br>
      <br>
      Mind the quotes and the > sign in the above line, both are
      essential components. <br>
      Hope this helps,<br>
      Tim <br>
      On 3/16/2016 7:31 PM, Syed Rizvi via BlindRUG wrote:<br>
    </div>
    <blockquote type="cite">
      
      
      
      <div>
        <p class="MsoNormal">Hello All, <u></u><u></u></p>
        <p class="MsoNormal">I am a student at the Louisiana Center for
          the Blind and am trying to learn how to use R for my career in
          business information systems. <u></u><u></u></p>
        <p class="MsoNormal"><u></u> <u></u></p>
        <p class="MsoNormal">I am trying to construct a batch file that
          will take my R script input file, run it, and save the output
          in a text file. <u></u><u></u></p>
        <p class="MsoNormal">I have tried using all the other resources
          but I can’t find syntax specific to what I am trying to do. As
          of right now in my batch file I have the path statement at the
          top to define my environment variable. Now what I am trying to
          do is pass my input to RTerm and save the output. <u></u><u></u></p>
        <p class="MsoNormal">If anyone can guide me in this, I would be
          extremely appreciative. <u></u><u></u></p>
        <p class="MsoNormal">Thank you, <u></u><u></u></p>
        <p class="MsoNormal">Syed Rizvi <u></u><u></u></p>
        <p class="MsoNormal"><u></u> <u></u></p>
        <p class="MsoNormal"><u></u> <u></u></p>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
BlindRUG mailing list
<a href="mailto:BlindRUG@nfbnet.org" target="_blank">BlindRUG@nfbnet.org</a>
<a href="http://nfbnet.org/mailman/listinfo/blindrug_nfbnet.org" target="_blank">http://nfbnet.org/mailman/listinfo/blindrug_nfbnet.org</a>
To unsubscribe, change your list options or get your account info for BlindRUG:
<a href="http://nfbnet.org/mailman/options/blindrug_nfbnet.org/tim%40dvlop.nl" target="_blank">http://nfbnet.org/mailman/options/blindrug_nfbnet.org/tim%40dvlop.nl</a>
The list archive can be viewed at:
<a href="http://www.nfbnet.org/pipermail/blindrug_nfbnet.org" target="_blank">http://www.nfbnet.org/pipermail/blindrug_nfbnet.org</a>
More information and useful links about using R as a blind person can be obtained at:
<a href="http://R-Resources.massey.ac.nz" target="_blank">http://R-Resources.massey.ac.nz</a>

Look for help using R commands by reading the accessible e-book "Let's Use R Now" compiled by Jonathan Godfrey at:
<a href="http://R-Resources.massey.ac.nz/lurn/front.html" target="_blank">http://R-Resources.massey.ac.nz/lurn/front.html</a>
</pre>
    </blockquote>
    <br>
  </div>

<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" rel="noreferrer" 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/henrik.bengtsson%40gmail.com" rel="noreferrer" target="_blank">http://nfbnet.org/mailman/options/blindrug_nfbnet.org/henrik.bengtsson%40gmail.com</a><br>
The list archive can be viewed at:<br>
<a href="http://www.nfbnet.org/pipermail/blindrug_nfbnet.org" rel="noreferrer" 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" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://R-Resources.massey.ac.nz/lurn/front.html</a><br>
<br></blockquote></div>