[ESS] Helper function for assignInNamespace?

A.J. Rossini blindglobe at gmail.com
Sun Jan 22 20:48:49 CET 2006


It would be cool to also modify the prompt, ala Common Lisp/SLIME, to
display the "guess" (it's not a guess in CL, where you'd just
(in-package BLAH) or probe *package* to switch).

But what hints would you use to guess the current package in R? 
Search path, or?

On 1/22/06, Seth Falcon <sethfalcon at gmail.com> wrote:
> In R, when working on a package with a NAMESPACE, assignInNamespace()
> allows one to fix functions without having to reload the package.
>
> It would be nice to have an ESS function that was similar to
> ess-eval-function, that:
>
>   - automagically guessed the 'current' package
>   - used assignInNamespace to set the definition in the 'current'
>     package.
>
>
> 1. Is there such a feature that I've missed?
> 2. Does anyone have code to do this already?
> 3. Suggestions for implementation?
>
>
> --
>  + seth
>
> ______________________________________________
> ESS-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>


--
best,
-tony

blindglobe at gmail.com
Muttenz, Switzerland.
"Commit early,commit often, and commit in a repository from which we can easily
roll-back your mistakes" (AJR, 4Jan05).




More information about the ESS-help mailing list