5
$\begingroup$

I have seen in some notebooks that functions called with ResourceFunction["PairwiseScatterPlot"] appear with a red set of square brackets enclosing a red filled square. It would be great to know the shortcut instead of having to type out ResourceFunction every time. Any help is appreciated. enter image description here

$\endgroup$
4
  • 1
    $\begingroup$ I don't think there is one. This is a display form, not a form one types in manually. $\endgroup$
    – Szabolcs
    Dec 2 '20 at 13:14
  • 3
    $\begingroup$ Perhaps ResourceFunctionInput over at the function repository will do what you are asking: resources.wolframcloud.com/FunctionRepository/resources/… $\endgroup$ Dec 2 '20 at 14:27
  • $\begingroup$ (+1) Mostly for the pointing out PairwiseScatterPlot. $\endgroup$ Dec 2 '20 at 14:28
  • $\begingroup$ @JoshuaSchrier that’s it for sure, you should post it as an answer so that OP can accept it! $\endgroup$ Dec 9 '20 at 11:52
4
$\begingroup$

ResourceFunctionInput (over at the Wolfram Function Repository) achieves this goal.

As described in its documentation:

ResourceFunction["ResourceFunctionInput"]["InstallAlias"]

permanently adds an interactive input for ResourceFunction symbols as input alias esc-rfi-esc that allows for inline creation of ResourceFunction symbols. There are also other options for adding menu bar items and other ways to use this functionality.

$\endgroup$
3
  • 1
    $\begingroup$ This needs to become built-in. $\endgroup$
    – Chris K
    Dec 9 '20 at 19:18
  • $\begingroup$ Not sure why but on my machine (Ubuntu 18.08 with MMA 12.0) this fails with the message System`PacletUninstall::shdw: Symbol PacletUninstall appears in multiple contexts {System`, PacletManager`}; definitions in context System` may shadow or be shadowed by other definitions. Anyone having the same experience? $\endgroup$ Jan 18 '21 at 17:37
  • $\begingroup$ For the record, upgrading to MMA 12.2 fixed the issue. $\endgroup$ Jan 19 '21 at 16:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.