Re: [R] RPM post-install scripts to update R

About this list Date view Thread view Subject view Author view Attachment view

From: Peter Dalgaard (p.dalgaard@biostat.ku.dk)
Date: Tue 25 May 2004 - 00:55:32 EST


Message-id: <x23c5pyivv.fsf@biostat.ku.dk>

chris albert <christopher.albert@mcgill.ca> writes:

> Hi,
>
> Paul Johnson asked:
>
> While I'm on the RPM subject, can I ask an R RPM packaging question? I
> want the R RPM to install so that post install then R starts and runs
> > update.packages()
>
> as well as
>
> install.packages(c("Design","Hmisc","lmtest","car","rgl","effects"))
>
> well, you get the idea. I want to add in more packages, of course. Can
> I ask what might be the best way to package this?
>
> You can add scripts to the %post macro section.

...etc...

Erm, but would you really want the result of installing an RPM to
depend on the install date and the previous configuration of the
system?

I can appreciate Paul's desire to automate, but when designing an RPM,
you also have to consider that you'd be doing things that the user
may not even know what mean. That sort of thing easily becomes a
support nightmare.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907

______________________________________________ R-help@stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:12 EST