[R] *.rpt data
David L Carlson
dcarlson at tamu.edu
Thu Nov 12 15:37:57 CET 2015
Another possibility for .rpt files from file-extensions.org:
"The rpt file extension is frequently used for various reports - output files of programs, often used for further analyze. Probably the most common type of RPT format is the one exported by Crystal Reports.
Crystal Reports is a business intelligence program for generating reports from a wide range of data sources. Many applications (including Microsoft Visual Studio) bundled Crystal Reports as a general tool for reporting.
Other programs might also use rpt file extension for their reports, but it is mostly not always Crystal Reports format, unless the program is using the same reporting engine."
If it is a Crystal Reports file, the portion needed would likely have to be converted to .csv unless
-------------------------------------
David L Carlson
Department of Anthropology
Texas A&M University
College Station, TX 77840-4352
-----Original Message-----
From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of John McKown
Sent: Thursday, November 12, 2015 8:26 AM
To: r-help
Subject: Re: [R] *.rpt data
On Thu, Nov 12, 2015 at 7:52 AM, PIKAL Petr <petr.pikal at precheza.cz> wrote:
> Hi
>
> If it is really "like" csv data you can import it by
>
> read.csv...
>
> or you can use any other read.* function.
>
> Did you try it? If yes, what was the result?
> If not, why not?
>
> Cheers
> Petr
>
Purely as a guess, ".rpt" really seems to be short for "report". Which I
would guess indicates that this is some sort of file which was originally
physically printed to be read by a human. So I would _guess_ that perhaps
it is column oriented and might be readable using read.fwf() .Or course, it
if really is a "report" there are those irritating page headers & footers,
perhaps along with a summary at the end which would need to be ignored. The
OP really needs to cut'n'paste (NO HTML PLEASE!) about 10 lines for us to
all "eyeball".
--
Schrodinger's backup: The condition of any backup is unknown until a
restore is attempted.
Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be.
He's about as useful as a wax frying pan.
10 to the 12th power microphones = 1 Megaphone
Maranatha! <><
John McKown
[[alternative HTML version deleted]]
______________________________________________
R-help at 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.
More information about the R-help
mailing list