gnu: r-irkernel: Fix R kernel loading
* gnu/packages/cran.scm (r-irkernel): Absolute path to R binary [propagated-inputs]: Generate proper search paths by adding r-minimal Signed-off-by: Ludovic Courtès <ludo@gnu.org>master
parent
af0aefd8c1
commit
41bc208e0c
|
@ -12575,6 +12575,12 @@ running IRkernel session.")
|
|||
"--name" "ir"
|
||||
"--prefix" out
|
||||
(string-append out "/site-library/IRkernel/kernelspec"))
|
||||
;; Record the absolute file name of the 'R' executable in
|
||||
;; 'kernel.json'.
|
||||
(substitute* (string-append out "/share/jupyter"
|
||||
"/kernels/ir/kernel.json")
|
||||
(("\\[\"R\",")
|
||||
(string-append "[\"" (which "R") "\",")))
|
||||
#t))))))
|
||||
(inputs
|
||||
`(("jupyter" ,jupyter)))
|
||||
|
@ -12584,6 +12590,8 @@ running IRkernel session.")
|
|||
("r-evaluate" ,r-evaluate)
|
||||
("r-irdisplay" ,r-irdisplay)
|
||||
("r-jsonlite" ,r-jsonlite)
|
||||
;; sets R_LIBS_SITE, so R can actually find this package (IRkernel)
|
||||
("r-minimal" ,r-minimal)
|
||||
("r-pbdzmq" ,r-pbdzmq)
|
||||
("r-repr" ,r-repr)
|
||||
("r-uuid" ,r-uuid)))
|
||||
|
|
Reference in New Issue