You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@zeppelin.apache.org by David Boyd <db...@incadencecorp.com> on 2020/07/02 21:58:52 UTC

Plotting in plain R interpreter generates no output or error

All:

   So this is a followup to a prior question.  I am running 0.9.0 built 
2 days ago from source.
I can not run the IR interpreter because there is no version of it for R 
3.6 and I can not downgrade R.
So in the straight %r interpreter I am trying to get plotting to work.
I am running on a secure server as a daemon under a zeppelin user .
The user has a home directory and permissions.
In the R tutorial the google vis paragraphs do not produce
any output:

> %r
>
> library(googleVis)
> df=data.frame(country=c("US", "GB", "BR"),
>               val1=c(10,13,14),
>               val2=c(23,12,32))
> Bar <- gvisBarChart(df)
> print(Bar, tag = 'chart')

The straight plotting paragrahs:

> %r
> pairs(iris)
Product this error:
> Error in value[[3L]](cond): could not open file 
> 'figure/unnamed-chunk-1-1.png'

I have tried setting the working directory to the home dir and I can 
view the
contents but get the same error.

I have looked through the source code and simply have no idea where this 
process is running or where it is trying to write out the image

My end customer for this effort is really into R so the ability to 
produce graphs in Zeppelin in R is critical.

I welcome ANY suggestion on how to demonstrate graphs/plots.



-- 
========= mailto:dboyd@incadencecorp.com ============
David W. Boyd
VP,  Data Solutions
10432 Balls Ford, Suite 240
Manassas, VA 20109
office:   +1-703-552-2862
cell:     +1-703-402-7908
============== http://www.incadencecorp.com/ ============
ISO/IEC JTC1 SC42/WG2, editor ISO/IEC 20546, ISO/IEC 20547-1
Chair INCITS TG Big Data
Co-chair NIST Big Data Public Working Group Reference Architecture
First Robotic Mentor - FRC, FTC - www.iliterobotics.org
Board Member- USSTEM Foundation - www.usstem.org

The information contained in this message may be privileged
and/or confidential and protected from disclosure.
If the reader of this message is not the intended recipient
or an employee or agent responsible for delivering this message
to the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this communication
is strictly prohibited.  If you have received this communication
in error, please notify the sender immediately by replying to
this message and deleting the material from any computer.