Re: [R] function doesn't exists but still runs..... (akshay kulkarni)

2023-01-22 Thread akshay kulkarni
iller Sent: Friday, January 20, 2023 11:29 PM To: r-help@r-project.org ; akshay kulkarni ; Jorgen Harmse ; r-help@r-project.org ; williamwdun...@gmail.com Subject: Re: [R] function doesn't exists but still runs..... (akshay kulkarni) This is not a "problem" ... it is a "fea

Re: [R] function doesn't exists but still runs..... (akshay kulkarni)

2023-01-20 Thread Jeff Newmiller
This is not a "problem" ... it is a "feature". Packages often use functions from other packages, but that does NOT mean that you as a user can automatically use those functions also. If Package A uses Package B to implement something, but Package B becomes unavailable, the maintainer of Packag

Re: [R] function doesn't exists but still runs..... (akshay kulkarni)

2023-01-20 Thread akshay kulkarni
Dear Jorgen, thanks for the reply.so according to you one can pegion hole the problem as concerning R's lexical scoping rules,am I right? Or some arcane concept regarding environments? THanking you, Yours sincerely, AKSHAY M KULKARNI

Re: [R] function doesn't exists but still runs..... (akshay kulkarni)

2023-01-20 Thread Jorgen Harmse via R-help
It may help to expand a bit on Bill Dunlap's answer. I think that library does something like this: Create a new environment for all the package objects. This environment will not be directly visible from .GlobalEnv, and ancestor environments may not be directly visible either. It may contain