[R] system call removes special characters from text output

stephen sefick ssefick at gmail.com
Tue Apr 4 06:44:48 CEST 2017

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:
> >Hello,
> >
> >I am writing an R package, and I am using system() to call a perl
> >script.
> >The output of the perl script is correct except for "[A/B]" is output
> >as
> >"AB". Can someone explain this behavior. I would like to try and fix
> >this.
> >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]]

More information about the R-help mailing list