Hi, I have loaded the packages car, memisc, Hmisc and all of these implement the function recode. The order in which the packages are loaded depends on the order I execute my scripts and thus is not always the same and the syntax of the recode function changes with the package. Is there any way to call specificly the memisc recode function? Or maybe it's better to detach all packages first and then load the required once in each script. Is there a way to detach all non-standard packages with a single line of code? This is my first larger project in R and I see there is a lot to learn about how to manage the pieces. Thanks a million, Werner E-Mails jetzt auf Ihrem Handy.
Werner Wernersen wrote:> Hi, > > I have loaded the packages car, memisc, Hmisc and all > of these implement the function recode. The order in > which the packages are loaded depends on the order I > execute my scripts and thus is not always the same and > the syntax of the recode function changes with the > package. > > Is there any way to call specificly the memisc recode > function? > Or maybe it's better to detach all packages first and > then load the required once in each script. Is there a > way to detach all non-standard packages with a single > line of code? > > This is my first larger project in R and I see there > is a lot to learn about how to manage the pieces.You can specify the package in which to find the function in by using pkgname::recode. Duncan Murdoch
Use: memisc::recode() car::recode() Hmisc::recode() On 13/03/2008, Werner Wernersen <pensterfuzzer at yahoo.de> wrote:> Hi, > > I have loaded the packages car, memisc, Hmisc and all > of these implement the function recode. The order in > which the packages are loaded depends on the order I > execute my scripts and thus is not always the same and > the syntax of the recode function changes with the > package. > > Is there any way to call specificly the memisc recode > function? > Or maybe it's better to detach all packages first and > then load the required once in each script. Is there a > way to detach all non-standard packages with a single > line of code? > > This is my first larger project in R and I see there > is a lot to learn about how to manage the pieces. > > Thanks a million, > Werner > > > E-Mails jetzt auf Ihrem Handy. > > ______________________________________________ > R-help at r-project.org 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. >-- Henrique Dallazuanna Curitiba-Paran?-Brasil 25? 25' 40" S 49? 16' 22" O