A few things to try any-or-all-of:
  1. Since this is a warning from a library you didn't write, you can silence warnings from it by enclosing it in a block and turning off warnings in the dynamic scope.
    {
      local $^W = 0;
      call_library_that_warns();
    }
  2. Make a very small example that warns- perhaps running a "Hello World" R script- and post a bug report. It could be a bug in either Statistics::R or Win32API::File - but since the example would start with R, then I'd start by reporting there.
  3. If you're ambitious and have time, run that small example script in the debugger shell "perl -d Hello_World_r.pl", and try to find out more about the problem, and perhaps create a patch you can send to the appropriate party...

In reply to Re^3: Help integrating R code into Perl code by Yary
in thread Help integrating R code into Perl code by kantica

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.