    ;; automagically guess the <app>.user namespace
    (let [an-ns (-> *ns*
                    str
-                   (clojure.string/replace #"\..+" ".user")
+                   (str/replace #"\..+" ".user")
                    symbol)]
      (require an-ns)
      (start-system! an-ns)))
   ([an-ns]
-   (do
      (printf "!! Starting %s\n" an-ns)
      (if (get @system-status an-ns)
        (println "!! System possibly running" an-ns)

(ns R
  (:refer-clojure :exclude [find-ns])
  (:require
    [clojure.java.io :as io]
    [clojure.pprint]
    [clojure.repl :as repl]
    [clojure.test :as test]
    [clojure.tools.namespace.find :as ns.find]
    [clojure.tools.namespace.repl :as ns.repl]
    [kaocha.repl])
  (:import
    (java.io
      File)))

  thing)


(defn help [& _n]
  (println (str ">>> in ns " 'R))
  (mapv (fn [[_k v]]
          (println v)) (ns-publics 'R))
  ::ok)

