Re: [R] Fixed Width EBCDIC Files in R

2015-02-05 Thread Brian Trautman
First off, thank you very much for taking a look at this. I didn't know "raw=TRUE" would be necessary here. Unfortunately, I'm stuck with the embedded nulls in the source data at this point. If worst comes to worst, does R have a way to do something like -- 1. Read the entire file in as raw bi

Re: [R] Fixed Width EBCDIC Files in R

2015-02-05 Thread John McKown
On Thu, Feb 5, 2015 at 2:08 PM, Brian Trautman wrote: > I'm trying to read some mainframe data encoded as EBCDIC into R, and am at > a loss. I'd like to avoid using an external program to convert the files, > since I'm operating in a corporate environment. > > You can find the example files at at

[R] Fixed Width EBCDIC Files in R

2015-02-05 Thread Brian Trautman
I'm trying to read some mainframe data encoded as EBCDIC into R, and am at a loss. I'd like to avoid using an external program to convert the files, since I'm operating in a corporate environment. You can find the example files at at the link below, with both ASCII and EBCDIC versions. Note that t