-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
discussiondiscussion / ideasdiscussion / ideas
Description
(defn init-r []
(println "configuring clojisr ..")
(require-r '[base :as base :refer [$ <- $<-]]
'[utils :as u]
'[stats :as stats]
'[graphics :as g]
'[datasets :refer :all])
(base/options :width 120 :digits 7)
(base/set-seed 11228899)
(pdf-off))
(init-r)
When I have all the forms of this function direct in the namespace, then all works fine.
But if I wrap the initialization in a function to be more modular, then the r libraries
in require-r can no longer be found.
I am not sure if clj require works the same way or not.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
discussiondiscussion / ideasdiscussion / ideas