[R] system call removes special characters from text output
boris.steipe at utoronto.ca
Tue Apr 4 18:01:04 CEST 2017
The "whatever information" would be the usual minimal reproducible example.
Since you think your code works at the shell level, make up an example with a system call to "echo".
Then state what you expect to happen and what happens instead.
> On Apr 4, 2017, at 12:44 AM, stephen sefick <ssefick at gmail.com> wrote:
> Hi Jeff,
> My apologies for not providing enough information. The perl code works as
> expected at the shell (without calling it from R). I have tried the system
> call inside of an ESS R session and at a the shell. Both of these produce
> the unexpected result. I can provide whatever information that is needed.
> kindest regards,
> On Mon, Apr 3, 2017 at 11:23 PM, Jeff Newmiller <jdnewmil at dcn.davis.ca.us>
>> Sorry, RPsychic package not found. Please install package reprex, apply it
>> to your problem and try again. Note that if this problem can only be
>> produced from within a package then there is an R-package-devel mailing
>> list that would be a more appropriate place to ask. Also, if the problem is
>> actually in the perl code or in the shell (this seems likely to me) then
>> you probably need to look even further afield for help.
>> Sent from my phone. Please excuse my brevity.
>> On April 3, 2017 8:57:07 PM PDT, stephen sefick <ssefick at gmail.com> wrote:
>>> I am writing an R package, and I am using system() to call a perl
>>> The output of the perl script is correct except for "[A/B]" is output
>>> "AB". Can someone explain this behavior. I would like to try and fix
>>> many thanks,
>>> Stephen Sefick
> Let's not spend our time and resources thinking about things that are so
> little or so large that all they really do for us is puff us up and make us
> feel like gods. We are mammals, and have not exhausted the annoying little
> problems of being mammals.
> -K. Mullis
> "A big computer, a complex algorithm and a long time does not equal
> -Robert Gentleman
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help