[R] trouble loading example package
Charles Annis, P.E.
Charles.Annis at StatisticalEngineering.com
Thu Nov 16 13:28:24 CET 2006
Thank you, Benilton.
I started over from scratch, and this time, using R CMD build --binary mypkg
I was successful. I am not sure where I made my original mistake, but I
think it was in overlooking one of the instruction/comment lines in
mypkg-package.Rd
Thank you again for your help.
Charles Annis, P.E.
Charles.Annis at StatisticalEngineering.com
phone: 561-352-9699
eFax: 614-455-3265
http://www.StatisticalEngineering.com
-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Benilton Carvalho
Sent: Thursday, November 16, 2006 12:38 AM
To: Charles.Annis at statisticalengineering.com
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] trouble loading example package
How do you build your packages?
have you tried
R CMD build --binary mypkg
b
On Nov 16, 2006, at 12:32 AM, Charles Annis, P.E. wrote:
> Greetings:
>
> I've installed Rtools, MikTeX, perl, minGW, and HTML Help Workshop,
> and have
> succeeded in making, checking (using R CMD check mypkg) then
> building the
> simple example package.skeleton(list=c("f","g","d","e"),
> name="mypkg") R
> CMD build mypkg produces a tarball. I don't know how to get a zip
> file.
>
> But when I try to Install package(s) from local zip files, I get
> this error
> message:
>
> Error in gzfile(file, "r") : unable to open connection
> In addition: Warning messages:
> 1: error -1 in extracting from zip file
> 2: cannot open compressed file 'mypkg/DESCRIPTION'
>
> But when I click on that file in the tarball it opens and shows me
> what I
> expected.
>
> I had hoped that I had weathered the hard part - building the
> package - but
> I still need some help:
>
> 1) How do I get a zipped file, rather than a tarball,
> 2) How do I install what I've built?
>
> Thanks in advance.
>
> Charles Annis, P.E.
>
> Charles.Annis at StatisticalEngineering.com
> phone: 561-352-9699
> eFax: 614-455-3265
> http://www.StatisticalEngineering.com
>
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> 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.
______________________________________________
R-help at stat.math.ethz.ch mailing list
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