Learning in Soar can be controlled via the learn command. Learning can be switched on or off (by "learn -on" or "learn -off").
Should learning be on, then it may take place in a bottom-up fashion, which causes chunks to be built only for those subgoals for which no chunks have yet been built. Alternatively, -all-goals builds a chunk whenever a subgoal returns a result. These flags are specified together with the "on" arguments (e.g., "learn -on -bottom-up").
Should no argument be given, then the current setting of user-select is returned.