How to render R View plots in the web portal

Hi,

I have a R View plotting the graph in the output port.

How do I render that output port in web portal?

Is Quick Form File Download node the correct node to use to display something at the web portal?  

What is the input?  We have to transform the knime.out variable to a filepath variable first?

 

Thanks,
Simon

Hi Simon,

for this you need to add the Image Output node after the R-View node.

This can be directly connected to the R View node.

Best, Iris 

Hi Iris,

Thanks for your reply!

I did exactly that - but the image doesn't show in the web portal.

KNIME client 3.4
KNIME server the latest version - 4.4.1

Attached is the workflow.

Please help.
Simon

The log on the server:



        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at org.knime.core.util.ThreadPool$MyFuture.run(ThreadPool.java:123)
        at org.knime.core.util.ThreadPool$Worker.run(ThreadPool.java:246)
2017-07-24 14:42:30,177 : DEBUG : KNIME-Worker-16 : RController : R View (Workspace) : 8:23 : Connected to Rserve in 3 attempts.
2017-07-24 14:42:31,678 : INFO  : KNIME-Worker-17 : LocalNodeExecutionJob : R View (Workspace) : 8:22 : R View (Workspace) 8:22 End execute (1 sec)
2017-07-24 14:42:31,678 : DEBUG : KNIME-Worker-17 : WorkflowManager : R View (Workspace) : 8:22 : R View (Workspace) 8:22 doBeforePostExecution
2017-07-24 14:42:31,678 : DEBUG : KNIME-Worker-17 : NodeContainer : R View (Workspace) : 8:22 : R View (Workspace) 8:22 has new state: POSTEXECUTE
2017-07-24 14:42:31,678 : DEBUG : KNIME-Worker-17 : WorkflowManager : R View (Workspace) : 8:22 : R View (Workspace) 8:22 doAfterExecute - success
2017-07-24 14:42:31,678 : DEBUG : KNIME-Worker-17 : NodeContainer : R View (Workspace) : 8:22 : R View (Workspace) 8:22 has new state: EXECUTED
2017-07-24 14:42:31,678 : DEBUG : KNIME-Worker-17 : Image Output : Image Output : 8:27 : Configure succeeded. (Image Output)
2017-07-24 14:42:31,678 : DEBUG : KNIME-Worker-17 : NodeContainer : R View (Workspace) : 8:22 : Image Output 8:27 has new state: CONFIGURED_QUEUED
2017-07-24 14:42:31,679 : DEBUG : KNIME-Worker-18 : WorkflowManager : Image Output : 8:27 : Image Output 8:27 doBeforePreExecution
2017-07-24 14:42:31,679 : DEBUG : KNIME-Worker-18 : NodeContainer : Image Output : 8:27 : Image Output 8:27 has new state: PREEXECUTE
2017-07-24 14:42:31,679 : DEBUG : KNIME-Worker-18 : WorkflowManager : Image Output : 8:27 : Image Output 8:27 doBeforeExecution
2017-07-24 14:42:31,679 : DEBUG : KNIME-Worker-18 : NodeContainer : Image Output : 8:27 : Image Output 8:27 has new state: EXECUTING
2017-07-24 14:42:31,679 : DEBUG : KNIME-Worker-18 : WorkflowFileStoreHandlerRepository : Image Output : 8:27 : Adding handler f33caa28-81a5-45e2-bde8-605bad37baaf (Image Output 8:27: <no directory>) - 5 in total
2017-07-24 14:42:31,679 : DEBUG : KNIME-Worker-18 : LocalNodeExecutionJob : Image Output : 8:27 : Image Output 8:27 Start execute
2017-07-24 14:42:31,686 : INFO  : KNIME-Worker-18 : LocalNodeExecutionJob : Image Output : 8:27 : Image Output 8:27 End execute (0 secs)
2017-07-24 14:42:31,686 : DEBUG : KNIME-Worker-18 : WorkflowManager : Image Output : 8:27 : Image Output 8:27 doBeforePostExecution
2017-07-24 14:42:31,686 : DEBUG : KNIME-Worker-18 : NodeContainer : Image Output : 8:27 : Image Output 8:27 has new state: POSTEXECUTE
2017-07-24 14:42:31,686 : DEBUG : KNIME-Worker-18 : WorkflowManager : Image Output : 8:27 : Image Output 8:27 doAfterExecute - success
2017-07-24 14:42:31,686 : DEBUG : KNIME-Worker-18 : NodeContainer : Image Output : 8:27 : Image Output 8:27 has new state: EXECUTED
2017-07-24 14:42:31,983 : INFO  : KNIME-Worker-16 : LocalNodeExecutionJob : R View (Workspace) : 8:23 : R View (Workspace) 8:23 End execute (2 secs)
2017-07-24 14:42:31,983 : DEBUG : KNIME-Worker-16 : WorkflowManager : R View (Workspace) : 8:23 : R View (Workspace) 8:23 doBeforePostExecution
2017-07-24 14:42:31,983 : DEBUG : KNIME-Worker-16 : NodeContainer : R View (Workspace) : 8:23 : R View (Workspace) 8:23 has new state: POSTEXECUTE
2017-07-24 14:42:31,983 : DEBUG : KNIME-Worker-16 : WorkflowManager : R View (Workspace) : 8:23 : R View (Workspace) 8:23 doAfterExecute - success
2017-07-24 14:42:31,983 : DEBUG : KNIME-Worker-16 : NodeContainer : R View (Workspace) : 8:23 : R View (Workspace) 8:23 has new state: EXECUTED
2017-07-24 14:42:31,983 : DEBUG : KNIME-Worker-16 : Image Output : Image Output : 8:26 : Configure succeeded. (Image Output)
2017-07-24 14:42:31,983 : DEBUG : KNIME-Worker-16 : NodeContainer : R View (Workspace) : 8:23 : Image Output 8:26 has new state: CONFIGURED_QUEUED
2017-07-24 14:42:31,983 : DEBUG : KNIME-Worker-14 : WorkflowManager : Image Output : 8:26 : Image Output 8:26 doBeforePreExecution
2017-07-24 14:42:31,984 : DEBUG : KNIME-Worker-14 : NodeContainer : Image Output : 8:26 : Image Output 8:26 has new state: PREEXECUTE
2017-07-24 14:42:31,984 : DEBUG : KNIME-Worker-14 : WorkflowManager : Image Output : 8:26 : Image Output 8:26 doBeforeExecution
2017-07-24 14:42:31,984 : DEBUG : KNIME-Worker-14 : NodeContainer : Image Output : 8:26 : Image Output 8:26 has new state: EXECUTING
2017-07-24 14:42:31,984 : DEBUG : KNIME-Worker-14 : WorkflowFileStoreHandlerRepository : Image Output : 8:26 : Adding handler 03db3e55-38df-42ec-9df4-5cc4c2b9bf9a (Image Output 8:26: <no directory>) - 6 in total
2017-07-24 14:42:31,984 : DEBUG : KNIME-Worker-14 : LocalNodeExecutionJob : Image Output : 8:26 : Image Output 8:26 Start execute
2017-07-24 14:42:31,988 : INFO  : KNIME-Worker-14 : LocalNodeExecutionJob : Image Output : 8:26 : Image Output 8:26 End execute (0 secs)
2017-07-24 14:42:31,988 : DEBUG : KNIME-Worker-14 : WorkflowManager : Image Output : 8:26 : Image Output 8:26 doBeforePostExecution
2017-07-24 14:42:31,988 : DEBUG : KNIME-Worker-14 : NodeContainer : Image Output : 8:26 : Image Output 8:26 has new state: POSTEXECUTE
2017-07-24 14:42:31,988 : DEBUG : KNIME-Worker-14 : WorkflowManager : Image Output : 8:26 : Image Output 8:26 doAfterExecute - success
2017-07-24 14:42:31,988 : DEBUG : KNIME-Worker-14 : NodeContainer : Image Output : 8:26 : Image Output 8:26 has new state: EXECUTED
2017-07-24 14:42:31,989 : DEBUG : KNIME-Worker-14 : NodeContainer : Image Output : 8:26 : 01_Example_of_R_Snippet 8 has new state: EXECUTED
2017-07-24 14:42:39,012 : DEBUG : RMI TCP Connection(4518)-10.9.30.61 : JobPool : 01_Example_of_R_Snippet : 7 : Discard request for workflow "01_Example_of_R_Snippet 7"
2017-07-24 14:42:39,012 : DEBUG : RMI TCP Connection(4518)-10.9.30.61 : WorkflowManager : 01_Example_of_R_Snippet : 7 : Removing project "01_Example_of_R_Snippet 7"
2017-07-24 14:42:39,012 : DEBUG : RMI TCP Connection(4518)-10.9.30.61 : ImageOutputNodeModel : Image Output : 7:27 : Removing all (0) views from model.
2017-07-24 14:42:39,012 : DEBUG : RMI TCP Connection(4518)-10.9.30.61 : Image Output : Image Output : 7:27 : clean output ports.
2017-07-24 14:42:39,012 : DEBUG : RMI TCP Connection(4518)-10.9.30.61 : ImageOutputNodeModel : Image Output : 7:26 : Removing all (0) views from model.
2017-07-24 14:42:39,012 : DEBUG : RMI TCP Connection(4518)-10.9.30.61 : Image Output : Image Output : 7:26 : clean output ports.
2017-07-24 14:42:39,012 : DEBUG : RMI TCP Connection(4518)-10.9.30.61 : RViewNodeModel : R View (Workspace) : 7:22 : Removing all (0) views from model.
2017-07-24 14:42:39,012 : DEBUG : RMI TCP Connection(4518)-10.9.30.61 : R View (Workspace) : R View (Workspace) : 7:22 : clean output ports.
2017-07-24 14:42:39,012 : DEBUG : RMI TCP Connection(4518)-10.9.30.61 : RViewNodeModel : R View (Workspace) : 7:23 : Removing all (0) views from model.
2017-07-24 14:42:39,012 : DEBUG : RMI TCP Connection(4518)-10.9.30.61 : R View (Workspace) : R View (Workspace) : 7:23 : clean output ports.
2017-07-24 14:42:39,012 : DEBUG : RMI TCP Connection(4518)-10.9.30.61 : RSnippetNodeModel : Table to R : 7:21 : Removing all (0) views from model.
2017-07-24 14:42:39,012 : DEBUG : RMI TCP Connection(4518)-10.9.30.61 : Table to R : Table to R : 7:21 : clean output ports.
2017-07-24 14:42:39,012 : DEBUG : RMI TCP Connection(4518)-10.9.30.61 : RSnippetNodeModel : R Source (Table) : 7:24 : Removing all (0) views from model.
2017-07-24 14:42:39,012 : DEBUG : RMI TCP Connection(4518)-10.9.30.61 : R Source (Table) : R Source (Table) : 7:24 : clean output ports.
2017-07-24 14:42:39,012 : DEBUG : RMI TCP Connection(4518)-10.9.30.61 : WorkflowManager : 01_Example_of_R_Snippet : 7 : Project "01_Example_of_R_Snippet 7" removed (7 remaining)