Dear List, assume I want to make a minor local change in a package that is supplied as .rda. For example, I want to get rid of the non-verbose-protected "Iteration" message in GLMM/lme4. Probably I have to load / change / save the package, but could someone help me to get the syntax right? Dieter Menne
Prof Brian Ripley
2004-Jun-11 13:04 UTC
[R] Modifying Code in .rda based packages (e.g. lme4)
No standard R package is supplied as a .rda, including not lme4. You
must be looking at a binary installation, and you would do best to
reinstall from the sources. You could use
R --vanilla
load("..../all.rda")
fix(GLMM)
save(ls(all=T), file="..../all.rda", compress = TRUE)
q()
but we would not recommend it. Indeed, we do not recommend your altering
functions in other people's packages. Why not just make a copy of GLMM
with another name and alter that?
On Fri, 11 Jun 2004, Dieter Menne wrote:
> assume I want to make a minor local change in a package that is supplied as
> .rda. For example, I want to get rid of the non-verbose-protected
> "Iteration" message in GLMM/lme4.
>
> Probably I have to load / change / save the package, but could someone help
> me to get the syntax right?
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
You should probably download the source for the package from CRAN, modify the source, then reinstall. -roger Dieter Menne wrote:> Dear List, > > assume I want to make a minor local change in a package that is supplied as > .rda. For example, I want to get rid of the non-verbose-protected > "Iteration" message in GLMM/lme4. > > Probably I have to load / change / save the package, but could someone help > me to get the syntax right? > > Dieter Menne > > ______________________________________________ > R-help at 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 >
"Dieter Menne" <dieter.menne at menne-biomed.de> writes:> assume I want to make a minor local change in a package that is supplied as > .rda. For example, I want to get rid of the non-verbose-protected > "Iteration" message in GLMM/lme4. > > Probably I have to load / change / save the package, but could someone help > me to get the syntax right?Brian Ripley already replied on how to change the code. I just wanted to say that we will add verbose protection to the Iteration messages in GLMM/lme4.