Re: [R] using function from specific packages

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Tue, 03 Jun 2008 17:44:56 -0400

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

See

help(":::")

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.
>



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. Received on Tue 03 Jun 2008 - 22:47:56 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 03 Jun 2008 - 23:30:42 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive