Re: [R] how to call functions with same name but in different package?

2012-03-17 Thread De-Jian Zhao
Much better! Thanks. On 2012-3-17 18:02, Prof Brian Ripley wrote: On 17/03/2012 09:34, De-Jian Zhao wrote: Rename the functions after loading the library. library("wavelets") dwt.wavelets <- dwt library("waveslim") dwt.waveslim <- dwt Then use dwt.wavelets and dwt.waveslim instead. Please,

Re: [R] how to call functions with same name but in different package?

2012-03-17 Thread Prof Brian Ripley
On 17/03/2012 09:34, De-Jian Zhao wrote: Rename the functions after loading the library. library("wavelets") dwt.wavelets <- dwt library("waveslim") dwt.waveslim <- dwt Then use dwt.wavelets and dwt.waveslim instead. Please, not necessary! Use wavelets::dwt or waveslim::dwt to distinguish th

Re: [R] how to call functions with same name but in different package?

2012-03-17 Thread De-Jian Zhao
Rename the functions after loading the library. library("wavelets") dwt.wavelets <- dwt library("waveslim") dwt.waveslim <- dwt Then use dwt.wavelets and dwt.waveslim instead. On 2012-3-17 17:03, Jie Tang wrote: hi everyone . I am trying to use some packages but there are some functions have

[R] how to call functions with same name but in different package?

2012-03-17 Thread Jie Tang
hi everyone . I am trying to use some packages but there are some functions have the same name in different package. for example dwt function both in packages wavelets and waveslim dwt(X, filter="la8", n.levels, boundary="periodic") How can I avoid mixing them up ? -- TANG Jie Email: totang