[R] using function from specific packages

Gabor Grothendieck ggrothendieck at gmail.com
Tue Jun 3 23:44:56 CEST 2008

zoo has a namespace and lag.zoo is not exported so zoo:::lag.zoo
is how to access it directly.



On Tue, Jun 3, 2008 at 4:31 PM, jiho.han <whizvast at gmail.com> wrote:
> hello, useRs-
> i have a function that i wrote myself, for example, lag(x). however, when
> i load 'zoo' packages and try to lag 'zoo' object, it gave me error. (R try
> to
> pass 'zoo' object into my function.)
> i typed 'lag.zoo' in R, but it can't find it. how can i access 'lag.zoo'
> function?
> and in general, how can i deal with such problem as to access functions from
> specific packages
> --
> View this message in context: http://www.nabble.com/using-function-from-specific-packages-tp17632885p17632885.html
> Sent from the R help mailing list archive at Nabble.com.
> ______________________________________________
> 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.

More information about the R-help mailing list