On 2018/04/18 11:16:40, "Joe W. Byers" <e...@aol.com> wrote:
> All,>
>
> I am getting this error on all R plots in all the tutorial examples >
> using Zeppelin 0.7.3, and in simple example %r scripts.>
>
> Error in replayPlot(x): could not open file 'figure/unnamed-chunk-1-1.png'>
>
> I think this is something to do with file permissions on temporary >
> files/directories.  There is one or two posts I found searching that are >
> under Rstudio that offer a system call, but it does not work with >
> Zeppelin/Spark.>
> Sys.umask(mode="0000") is place at the beginning of script.>
>
> This is what I have tried.>
> %r>
> Sys.umask(mode="0000")>
> a = rnorm(1000)>
> plot(a)>
>
> Thanks>
> Joe>
>
> -- >
> *Joe W. Byers*>
>

A follow up.

I am running zeppelin as a service on a Fedora 25 server controlled by systemd (systemctl ...).  I create a user and group, zeppelin, with /sbin/nologin and home /dir1/zeppelin.  I set up shiro.ini for my ldap authetication.  This issue did not occur when I was testing, starting server with command line script or daemon as root user, and logging in as anonymous on the zeppelin url.

Googleviz charts do work, only R specific plot, ggplot2, have this issue.

Thanks
Joe
--
*Joe W. Byers*

Reply via email to