<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
      <title>Tagged with #renjin - Processing 2.x and 3.x Forum</title>
      <link>https://forum.processing.org/two/discussions/tagged/feed.rss?Tag=%23renjin</link>
      <pubDate>Sun, 08 Aug 2021 17:02:47 +0000</pubDate>
         <description>Tagged with #renjin - Processing 2.x and 3.x Forum</description>
   <language>en-CA</language>
   <atom:link href="/two/discussions/tagged%23renjin/feed.rss" rel="self" type="application/rss+xml" />
   <item>
      <title>Idea: R Language Mode for Processing</title>
      <link>https://forum.processing.org/two/discussion/21195/idea-r-language-mode-for-processing</link>
      <pubDate>Mon, 06 Mar 2017 09:30:17 +0000</pubDate>
      <dc:creator>gaocegege</dc:creator>
      <guid isPermaLink="false">21195@/two/discussions</guid>
      <description><![CDATA[<p>Hi, processing :)</p>

<p>R is an open source programming language and software environment for statistical computing and graphics. It <a rel="nofollow" href="http://www.tiobe.com/tiobe-index/">ranks 15th in TIOBE Index for February 2017</a>.</p>

<p>Processing.py helps python users to get in touch with visual arts easily and spreads the concept of processing foundation. Processing.R is a good way to expand the user base for processing and reduce learning curve for R users. It is win-win.</p>

<p>I have implemented a prototype: <strong><a rel="nofollow" href="https://github.com/gaocegege/Processing.R">github.com/gaocegege/Processing.R</a></strong> in Sep 2016. It is a demo for R mode, and GSoC is a good chance to make it usable and contribute to processing foundation.</p>

<p>Welcome for any suggestions and opinions and thanks for your browsing :)</p>

<p><img src="https://github.com/gaocegege/Processing.R/raw/master/raw-docs/img/editor.png" width="400" alt="image" /></p>

<p><img src="https://github.com/gaocegege/Processing.R/raw/master/raw-docs/img/demo.gif" width="300" alt="image" /></p>

<h4>About Me</h4>

<p>I’m a freshman in a master’s program in <a rel="nofollow" href="http://en.sjtu.edu.cn/">Shanghai Jiao Tong University</a>, my own research orientation is container-based OS virtualization (COS virtualization), so I have contributed to many container-based projects such as docker, kubernetes, runc and so on. I’m a heavy user of GitHub and know the workflow in GitHub.</p>

<p>GitHub: <a rel="nofollow" href="https://github.com/gaocegege">github.com/gaocegege</a></p>
]]></description>
   </item>
   <item>
      <title>Including a jar resource from another mode?</title>
      <link>https://forum.processing.org/two/discussion/23997/including-a-jar-resource-from-another-mode</link>
      <pubDate>Fri, 01 Sep 2017 17:10:12 +0000</pubDate>
      <dc:creator>jeremydouglass</dc:creator>
      <guid isPermaLink="false">23997@/two/discussions</guid>
      <description><![CDATA[<p>The scenario:</p>

<ol>
<li>Processing.R mode is installed in PDE.</li>
<li>The R mode includes a resource ( renjin-script-engine.jar / renjin-script-engine-0.8.2413-jar-with-dependencies.jar)</li>
<li>This could be used to run R <strong>in a Java mode sketch</strong>.</li>
</ol>

<p>I want to write an example sketch <strong>in Java mode</strong> demonstrating how to import resources <strong>from Processing.R mode</strong> and use them to integrate an R process into a Java mode sketch. The Java sketch would include a line like this:</p>

<pre><code>import org.renjin.sexp.*
</code></pre>

<p>However this does not work because the jars of Processing.R mode are not in the Java mode path.</p>

<p>Is there a workaround?</p>

<p>Partial solutions I can think of:</p>

<ol>
<li>include renjin-script-engine.jar <em>again</em> in the RinJava.pde example sketch path. However this needs to be copied to every new sketch -- and the user already had this jar installed in their system in the Processing.R mode!</li>
<li>write a separate library for PDE Contributions Manager called "RinJava" that includes renjin-script-engine.jar, and have users install the library and import it to a Java sketch. This is better, but it still requires two installs of the same jar, and it doesn't allow the Java crossover example to be distributed directly with the R mode.</li>
<li>use dark magic to place renjin-script-engine.jar directly in the existing Java mode, perhaps during Processing.R install. This seems like a bad idea, because (among other potential problems) any update to Processing(Java mode) could remove the change.</li>
</ol>

<p>Ideally there would be a way to access Processing.R mode jars from a Java mode sketch -- then if the R mode is installed, a Java sketch could also use it.</p>

<p>Any suggestions?</p>
]]></description>
   </item>
   <item>
      <title>[ANN] R Language Mode for Processing Available in PDE</title>
      <link>https://forum.processing.org/two/discussion/23848/ann-r-language-mode-for-processing-available-in-pde</link>
      <pubDate>Fri, 18 Aug 2017 03:48:06 +0000</pubDate>
      <dc:creator>gaocegege</dc:creator>
      <guid isPermaLink="false">23848@/two/discussions</guid>
      <description><![CDATA[<p>Now R mode for Processing is available in Contribution Manager in PDE.</p>

<p><img src="https://forum.processing.org/two/uploads/imageupload/256/KOJFTYEMBZUN.PNG" alt="捕获" title="捕获" /></p>

<p>Feel free to have a try :)</p>
]]></description>
   </item>
   </channel>
</rss>