# Open in R Node

**URL:** <https://forum.knime.com/t/open-in-r-node/998>\
**Category:** Community Extensions\
**Tags:** scripting-extensions\
**Created:** [January 14, 2011, 11:16am UTC](https://forum.knime.com/t/open-in-r-node/998 "2011-01-14T11:16:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sebastian\_Rohrer](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/s/6bbea6/32.png) [@Sebastian\_Rohrer](https://forum.knime.com/u/Sebastian_Rohrer)\
**Post date:** [January 14, 2011, 11:16am UTC](https://forum.knime.com/t/open-in-r-node/998/1 "2011-01-14T11:16:29Z")

</div>

Can somebody please explain how the "Open in R" node is supposed to work?

I have Rserve started and the R-Scripting Snippets run OK. Now if I run the node, absolutely nothing happens.

Is R supposed to come to the front? Should I look for a new variable in my R workspace? (There is none)

I must say that the R-Scripting nodes look as they might have huge potential, but without even&nbsp; rudimentary documentation and a few examples, it's difficult to utilize them even for longtime KNIME and R users...

Thanks Sebastian

--

KNIME 2.3, OpenSUSE Linunx 11.2, 64bit, R2.10.1

---

<div class="post-metadata">

**Author:** ![Felix\_Meyenhofer](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/f/54ee81/32.png) [@Felix\_Meyenhofer](https://forum.knime.com/u/Felix_Meyenhofer)\
**Post date:** [March 9, 2011, 1:32pm UTC](https://forum.knime.com/t/open-in-r-node/998/2 "2011-03-09T13:32:53Z")

</div>

Hi Sebastian

The documentation is poor indeed. We plan to at least include minimal documentation for the next release.

Did you check the "Locaiton of R on your computer" in KNIME \> Preferences R-Scripting?

I think this might be a good place to start. Let me know if it still should not work.

Felix

&nbsp;

---

<div class="post-metadata">

**Author:** ![kmelis](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/k/977dab/32.png) [@kmelis](https://forum.knime.com/u/kmelis)\
**Post date:** [April 19, 2011, 9:01am UTC](https://forum.knime.com/t/open-in-r-node/998/3 "2011-04-19T09:01:05Z")

</div>

Hi Felix, Sebastian.

I am having the same problem. I would like to visualize something in R, but when I use the OpenInR node, it just opens the RGui, and that's it. It stops there.

Is this what's supposed to happen, because I thought your scripts was supposed to run in R and show the output.

Greetings Kris

---

<div class="post-metadata">

**Author:** ![niederle](https://forum-cdn.knime.com/user_avatar/forum.knime.com/niederle/32/42_2.png) [@niederle](https://forum.knime.com/u/niederle)\
**Post date:** [April 19, 2011, 10:06am UTC](https://forum.knime.com/t/open-in-r-node/998/4 "2011-04-19T10:06:35Z")

</div>

Hi guys,

this node won't execute any script you put into the node. I will only open the RGui containing the variable kIn (as it comes from Knime as input to the node). Now it's your turn to prototype an R-script or run R-code from a snippet (copy / paste is your friend).

Is that of any help for you?

Antje

---

<div class="post-metadata">

**Author:** ![kmelis](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/k/977dab/32.png) [@kmelis](https://forum.knime.com/u/kmelis)\
**Post date:** [April 19, 2011, 12:08pm UTC](https://forum.knime.com/t/open-in-r-node/998/5 "2011-04-19T12:08:14Z")

</div>

aha, I see.

That's indeed pretty handy to know. Perhaps there should be a bit more documentation considering these nodes.

But if it just inserts kIn into the RGui, then why are there OpenInR templates?

Because what I was trying to do is using the rgl package in knime, to have 3D visualisation. But since the output of the R plot is an image and the output of the R Snippet is a datatable, I thought the OpenInR would do that, but i suppose it just won't work then.

Kris

---

<div class="post-metadata">

**Author:** ![niederle](https://forum-cdn.knime.com/user_avatar/forum.knime.com/niederle/32/42_2.png) [@niederle](https://forum.knime.com/u/niederle)\
**Post date:** [April 19, 2011, 2:20pm UTC](https://forum.knime.com/t/open-in-r-node/998/6 "2011-04-19T14:20:32Z")

</div>

We know, that we have to improve documentation.

OpenInR just provides you the possibilty to import a Knime table into R (the same way as an RSnippet oder RPlot would do). (So you don't need to use a CSVwriter and think about file location). It's good for prototyping R-scripts or to search for syntax errors in an RPlot- or RSnippet node.

Whatever you do with this data in R is up to you (you can run your rgl plots there if you like).

Antje

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [April 21, 2023, 9:29pm UTC](https://forum.knime.com/t/open-in-r-node/998/7 "2023-04-21T21:29:12Z")

</div>

Closed on April 21, 2023, 9:29pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
