Re: [R] help using SED

2015-12-06 Thread peter dalgaard
> On 06 Dec 2015, at 04:53 , David Winsemius wrote: > >> >> On Dec 5, 2015, at 4:49 PM, Glenn Schultz wrote: >> >> All, >> >> I have not used SED in the past so I am continuing to read its documentation >> but I need some help with R >> >> Here is my SED command which works: >> system("se

Re: [R] help using SED

2015-12-05 Thread David Winsemius
> On Dec 5, 2015, at 4:49 PM, Glenn Schultz wrote: > > All, > > I have not used SED in the past so I am continuing to read its documentation > but I need some help with R > > Here is my SED command which works: > system("sed -i '' '/^[\r#]/d; /AGENCY/d' > /Library/Frameworks/R.framework/V

[R] help using SED

2015-12-05 Thread Glenn Schultz
All, I have not used SED in the past so I am continuing to read its documentation but I need some help with R Here is my SED command which works:   system("sed -i ''  '/^[\r#]/d; /AGENCY/d' /Library/Frameworks/R.framework/Versions/3.2/Resources/library/BondLab/Temp_CashFlow/blx_test.cfm") Her