hello I am returning to some libraries that I had previously customised by amongst other things adding additional functions. I had simply typed these new functions into the file in library/R/thelibrary. These however do not seem to be loaded now as they previously were under older versions of R. What's changed and what do i need to do? Thanks Stephen ********************************************************************** This email and any files transmitted with it are confidentia...{{dropped}}
Have you executed first detach(package:library) before loading the library again? Eryk *********** REPLY SEPARATOR *********** On 1/22/2004 at 1:47 PM Stephen Henderson wrote:>hello > >I am returning to some libraries that I had previously customised by >amongst >other things adding additional functions. I had simply typed these new >functions into the file in library/R/thelibrary. These however do not seem >to be loaded now as they previously were under older versions of R. > >What's changed and what do i need to do? > >Thanks >Stephen > > >********************************************************************** >This email and any files transmitted with it are confidentia...{{dropped}} > >______________________________________________ >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.htmlDipl. bio-chem. Eryk Witold Wolski @ MPI-MG Dep. Vertebrate Genomics Ihnestrasse 73 14195 Berlin 'v' tel: 0049-30-84131285 / \ mail: wolski at molgen.mpg.de ---W-W---- http://www.molgen.mpg.de/~wolski
I had quit q() R, reloaded and loaded ipred anew. Trying detach(package:ipred) makes no difference. I added a few pointless lines to one existing function and can see these when I call the function, passing no parameters. thats why i was assuming it was an R thing. is this just some mysterious problem with my computer/ setup/ files?? not R?? -----Original Message----- From: Wolski To: Stephen Henderson Cc: 'r-help at stat.math.ethz.ch' Sent: 1/22/04 1:58 PM Subject: Re: [R] customising installed libraries Have you executed first detach(package:library) before loading the library again? Eryk *********** REPLY SEPARATOR *********** On 1/22/2004 at 1:47 PM Stephen Henderson wrote:>hello > >I am returning to some libraries that I had previously customised by >amongst >other things adding additional functions. I had simply typed these new >functions into the file in library/R/thelibrary. These however do notseem>to be loaded now as they previously were under older versions of R. > >What's changed and what do i need to do? > >Thanks >Stephen > > >********************************************************************** >This email and any files transmitted with it areconfidentia...{{dropped}}> >______________________________________________ >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 Dipl. bio-chem. Eryk Witold Wolski @ MPI-MG Dep. Vertebrate Genomics Ihnestrasse 73 14195 Berlin 'v' tel: 0049-30-84131285 / \ mail: wolski at molgen.mpg.de ---W-W---- http://www.molgen.mpg.de/~wolski ********************************************************************** This email and any files transmitted with it are confidentia...{{dropped}}
The ipred package has a namespace. Do follow the instruction in the R-exts manual if you want functions available via a package. Andy> From: Stephen Henderson > > I had quit q() R, reloaded and loaded ipred anew. Trying > detach(package:ipred) makes no difference. I added a few > pointless lines to > one existing function and can see these when I call the > function, passing no > parameters. thats why i was assuming it was an R thing. > > is this just some mysterious problem with my computer/ setup/ > files?? not > R?? > > -----Original Message----- > From: Wolski > To: Stephen Henderson > Cc: 'r-help at stat.math.ethz.ch' > Sent: 1/22/04 1:58 PM > Subject: Re: [R] customising installed libraries > > Have you executed first > detach(package:library) > before loading the library again? > > Eryk > *********** REPLY SEPARATOR *********** > > On 1/22/2004 at 1:47 PM Stephen Henderson wrote: > > >hello > > > >I am returning to some libraries that I had previously customised by > >amongst > >other things adding additional functions. I had simply typed > these new > >functions into the file in library/R/thelibrary. These however do not > seem > >to be loaded now as they previously were under older versions of R. > > > >What's changed and what do i need to do? > > > >Thanks > >Stephen > > > > > >************************************************************* > ********* > >This email and any files transmitted with it are > confidentia...{{dropped}} > > > >______________________________________________ > >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 > > > > Dipl. bio-chem. Eryk Witold Wolski @ MPI-MG Dep. Vertebrate > Genomics > Ihnestrasse 73 14195 Berlin 'v' > tel: 0049-30-84131285 / \ > mail: wolski at molgen.mpg.de ---W-W---- > http://www.molgen.mpg.de/~wolski > > > ********************************************************************** > This email and any files transmitted with it are > confidentia...{{dropped}} > > ______________________________________________ > 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 > >------------------------------------------------------------------------------ Notice: This e-mail message, together with any attachments,...{{dropped}}
ha ha ha ha..hmmm. Well although I don't follow the developments and deprecations of R religiously that doesn't mean I'm innumerate. Thanks for the advice nonetheless-- its working now. -----Original Message----- From: Prof Brian Ripley To: Stephen Henderson Cc: ''r-help at stat.math.ethz.ch' ' Sent: 1/22/04 2:51 PM Subject: RE: [R] customising installed libraries ipred has a NAMESPACE: you cannot do this to packages that have namespaces without changing the NAMESPACE file (and from the next release, you will need to reinstall as well). You can read about this in `Writing R Extensions', but is it a good idea to be altering a package that uses concepts you do not understand? I believe you mean `installed packages'. On Thu, 22 Jan 2004, Stephen Henderson wrote:> I had quit q() R, reloaded and loaded ipred anew. Trying > detach(package:ipred) makes no difference. I added a few pointlesslines to> one existing function and can see these when I call the function,passing no> parameters. thats why i was assuming it was an R thing. > > is this just some mysterious problem with my computer/ setup/ files??not> R?? > > -----Original Message----- > From: Wolski > To: Stephen Henderson > Cc: 'r-help at stat.math.ethz.ch' > Sent: 1/22/04 1:58 PM > Subject: Re: [R] customising installed libraries > > Have you executed first > detach(package:library) > before loading the library again? > > Eryk > *********** REPLY SEPARATOR *********** > > On 1/22/2004 at 1:47 PM Stephen Henderson wrote: > > >hello > > > >I am returning to some libraries that I had previously customised by > >amongst > >other things adding additional functions. I had simply typed thesenew> >functions into the file in library/R/thelibrary. These however do not > seem > >to be loaded now as they previously were under older versions of R. > > > >What's changed and what do i need to do? > > > >Thanks > >Stephen > > > > > >********************************************************************** > >This email and any files transmitted with it are > confidentia...{{dropped}} > > > >______________________________________________ > >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 > > > > Dipl. bio-chem. Eryk Witold Wolski @ MPI-MG Dep. Vertebrate > Genomics > Ihnestrasse 73 14195 Berlin 'v' > tel: 0049-30-84131285 / \ > mail: wolski at molgen.mpg.de ---W-W---- > http://www.molgen.mpg.de/~wolski > > > ********************************************************************** > This email and any files transmitted with it areconfidentia...{{dropped}}> > ______________________________________________ > 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> >-- 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 ********************************************************************** This email and any files transmitted with it are confidentia...{{dropped}}