[R] parsing files with "\" character

Michael Dewey ||@t@ @end|ng |rom dewey@myzen@co@uk
Tue Aug 27 19:46:06 CEST 2019


Dear April

Can you show us an example of what you are trying to do and how it 
fails? There are rules about backspaces but I find that if one backspace 
does not work try two, three, four until it works. It would be better to 
understand the rules but life is short.

Michael

On 27/08/2019 06:56, April Ettington wrote:
>   Is there any way to parse files that include the \ character in a string?
> 
> When I try to use grep to extract strings with a pattern that includes "\"
> it fails.
> 
> If there is no way to do it with R, is it possible with python or a bash
> script?
> 
> Thank you,
> 
> April
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 
> ---
> This email has been checked for viruses by AVG.
> https://www.avg.com
> 
> 

-- 
Michael
http://www.dewey.myzen.co.uk/home.html



More information about the R-help mailing list