I am using

"11.2.0 for Mac OS X x86 (64-bit) (September 11, 2017)"

and I am trying to install the RGTC package, which can be found here.

Download the package

Then following the answer given by Szabolcs here How to Install packages

after I unzip the folder, I opened the EDCRGTCcode.m and then did the following

Choose File -> Install... Choose Type -> Package, Source -> (the open notebook), Install Name -> (i used the exact same name that the notebook has)

Then, I tried to load the package by evaluating

<< EDCRGTCcode.m`

but I get the following error

During evaluation of In[4]:= Get::noopen: Cannot open EDCRGTCcode.m`.


Any ideas?

  • $\begingroup$ Does << EDCRGTCcode` work? Without .m. $\endgroup$
    – Kuba
    Commented Oct 31, 2018 at 22:15
  • $\begingroup$ It returns this SetDelayed::write: Tag Classify in Classify[x_] is Protected. $\endgroup$
    – user49048
    Commented Oct 31, 2018 at 22:17
  • 2
    $\begingroup$ That is expected because it was written before Classify existed in System` context. So it will interfere. $\endgroup$
    – Kuba
    Commented Oct 31, 2018 at 22:18
  • 3
    $\begingroup$ This package also does Unprotect["Global`*"];ClearAll["Global`*"];Remove["Global`*"]; so I think it needs a little love to make it more robust. $\endgroup$
    – Kuba
    Commented Oct 31, 2018 at 22:19
  • 2
    $\begingroup$ Well, I think this question should be closed because the failure is caused by a simple mistake? As pointed out by @kuba , the code for loading the package should be << EDCRGTCcode` rather than << EDCRGTCcode.m`. $\endgroup$
    – xzczd
    Commented Mar 23, 2022 at 8:17

1 Answer 1


place that .m file in "/Applications/Mathematica/AddOns/AutoLoad" this directory.

  • $\begingroup$ can you explain why anyone should do that? $\endgroup$
    – user49048
    Commented May 24, 2020 at 9:07
  • 4
    $\begingroup$ I am afraid this answer is incorrect. It is generally a bad idea to modify the installation directory. Also, the directory you reference does not exist. There is indeed an Autoload (not AutoLoad) directory, but it is not located at this path. In most cases, it may not be the best idea to set up packages to auto-load. $\endgroup$
    – Szabolcs
    Commented May 24, 2020 at 10:57
  • $\begingroup$ Normally, packages go into $UserBaseDirectory/Applications. To find out what $UserBaseDirectory is, simply evaluate it in Mathematica. $\endgroup$
    – Szabolcs
    Commented May 24, 2020 at 10:57
  • $\begingroup$ for mathematica to load a custom made package it should be placed in the directory so that it can use the resources. you are not interfering with any other packages you are just telling it to load the custom made package. $\endgroup$
    – Ishitva
    Commented May 27, 2020 at 9:56
  • $\begingroup$ Autoload or AutoLoad I don't think so if it will make any difference until the directory at the specified path. If it is not there you can always create it. $\endgroup$
    – Ishitva
    Commented May 27, 2020 at 10:00