jupyter-irkernel

Using R with Jupyter notebook installation

╄→尐↘猪︶ㄣ 提交于 2021-02-10 22:40:12
问题 I have installed R from the official site and want to use it from jupyter notebook and jupyterlab. For that i have installed IRkernal in R using: install.packages('IRkernel') and then when I type IRkernel::installspec(user = FALSE) to make this installation visible globally, I get following error: Error in IRkernel::installspec(user = FALSE) : jupyter-client has to be installed but “jupyter kernelspec --version” exited with code 127. In addition: Warning message: In system2("jupyter", c(

R inline plots in Jupyter

亡梦爱人 提交于 2019-12-25 09:30:19
问题 I am trying to run R in Jupyter through the Binder project interface, though the question may be more general. For instance it question may be related the long-dormant one about Jupyter on Mac OS. I have the r-essentials, r-rzmq and r-repr added through conda. IRKernel and IRDisplay are part of r-essentials. However, when I try to plot anything, there is no output. Indeed, it looks like there are no graphics output options. What am I missing here? There is no problem in python notebooks, but

conda build r-ldavis/ not working

杀马特。学长 韩版系。学妹 提交于 2019-12-25 09:01:40
问题 I am new to jupyter, and I am looking to install an R package (tseries) that is available on CRAN I was trying to follow a question that was raised, but I think I am getting a different problem. I was originally following this link conda - How to install R packages that are not available in "R-essentials"? But it seems obvious that the answer direct me to another link which is https://www.continuum.io/content/conda-data-science under the Building a conda R package They said to run conda

r graphs in jupyter - unable to start png() device

折月煮酒 提交于 2019-12-22 08:10:03
问题 I am using R in Jupyter, but unable to plot graphs in the notebook itself. Here is a reproducible example set.seed(123) mat = as.matrix(x = rnorm(100), y = rnorm(100)) plot(mat) In Jupyter: Error in png(tf, width, height, "in", pointsize, bg, res, antialias = antialias): unable to start png() device Traceback: If I use following, I can save the image in png format in current working directory. png('test.png') plot(mat) dev.off() Edit: SessionInfo() R version 3.4.4 (2018-03-15) Platform: x86