# R Error while updating Knime 4.5.1

**URL:** <https://forum.knime.com/t/r-error-while-updating-knime-4-5-1/39629>\
**Category:** KNIME Extensions\
**Tags:** scripting\
**Created:** [February 8, 2022, 6:34pm UTC](https://forum.knime.com/t/r-error-while-updating-knime-4-5-1/39629 "2022-02-08T18:34:18Z")\
**Posts on this page:** 7\
**Page:** 2

<div class="post-metadata">

**Author:** ![salazachou](https://forum-cdn.knime.com/user_avatar/forum.knime.com/salazachou/32/37485_2.png) [@salazachou](https://forum.knime.com/u/salazachou)\
**Post date:** [March 8, 2022, 12:55pm UTC](https://forum.knime.com/t/r-error-while-updating-knime-4-5-1/39629/21 "2022-03-08T12:55:59Z")

</div>

Hi @bwilhelm I cannot replicate the error right now since I am at work, I will try to do it at home.

Probably the errors reported in the firsts messages can be useful by the moment

Cheers

---

<div class="post-metadata">

**Author:** ![salazachou](https://forum-cdn.knime.com/user_avatar/forum.knime.com/salazachou/32/37485_2.png) [@salazachou](https://forum.knime.com/u/salazachou)\
**Post date:** [March 9, 2022, 1:07pm UTC](https://forum.knime.com/t/r-error-while-updating-knime-4-5-1/39629/22 "2022-03-09T13:07:45Z")

</div>

Hi there, I tried the R extensions at home with the 4.5.1 Knime version, but the software ran properly.

Sorry for not being able to replicate the error

 ![Imagen](https://forum-cdn.knime.com/uploads/default/original/3X/8/0/808b3eee1a110ddf3f373397e03202653085cf36.png)

---

<div class="post-metadata">

**Author:** ![mlauber71](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mlauber71/32/73590_2.png) [@mlauber71](https://forum.knime.com/u/mlauber71)\
**Post date:** [March 16, 2022, 11:57am UTC](https://forum.knime.com/t/r-error-while-updating-knime-4-5-1/39629/24 "2022-03-16T11:57:36Z")

</div>

@bwilhelm I think something is definitly off with the R KNIME integration since 4.5.1 - I had to move several integrations to the community edition in order for them to run:

> [@R Snippet Error on Mac](https://forum.knime.com/t/r-snippet-error-on-mac/40007/5):
>
> @victor_palacios It used to work on a Mac with earlier versions of KNIME. H2O.ai would start its own process in the background and it does work with using the [R community nodes](https://kni.me/n/CwkD0Z2gVj03OXRk) ([regression example](https://kni.me/w/sbwhKLzlNI-fbSwl), [classification example](https://kni.me/w/R5CqA_dRwQHqYGtm)), so it seems to be a ‘communication’ problem between R and KNIME. We had such a thing with KNIME and Python where the progress bar would not work between KNIME and Python and H2O.ai so the solution was to turn it off: Also recently there was some heavy editing going on on t…

does work (R community edition)

> **[H2O.ai AutoML (wrapped with R) with vtreat data preparation in KNIME for...](https://hub.knime.com/mlauber71/spaces/Forum/2022/kn_forum_39929_video_h2o_regression_r_vtreat~sbwhKLzlNI-fbSwl/current-state)**
>
> H2O.ai AutoML (wrapped with R) with vtreat data preparation in KNIME for regression problems (with R vtreat) - a powerful auto-machine-learning framework (http…

does not work (R KNIME integration)

> **[H2O.ai AutoML (wrapped with R) with vtreat data preparation in KNIME for...](https://hub.knime.com/mlauber71/spaces/Public/automl/kn_automl_h2o_regression_r_vtreat~cEiWLSOKQRhqwftq/current-state)**
>
> H2O.ai AutoML (wrapped with R) with vtreat data preparation in KNIME for regression problems (with R vtreat) - a powerful auto-machine-learning framework (http…

See the Metanodes for H2O

---

<div class="post-metadata">

**Author:** ![bwilhelm](https://forum-cdn.knime.com/user_avatar/forum.knime.com/bwilhelm/32/444_2.png) [@bwilhelm](https://forum.knime.com/u/bwilhelm)\
**Post date:** [March 16, 2022, 4:43pm UTC](https://forum.knime.com/t/r-error-while-updating-knime-4-5-1/39629/25 "2022-03-16T16:43:48Z")

</div>

@pio, Thank you for the log output! It helped me a lot. The `MethodNotFoundError` suggests that the plugin which contains the `DefaultRPreferenceProvider` has an incompatible version to the plugin which contains the `RConnectionFactory`. I will investigate how this can happen.

---

<div class="post-metadata">

**Author:** ![pio](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/p/f19dbf/32.png) [@pio](https://forum.knime.com/u/pio)\
**Post date:** [March 16, 2022, 5:00pm UTC](https://forum.knime.com/t/r-error-while-updating-knime-4-5-1/39629/26 "2022-03-16T17:00:34Z")

</div>

Hi @bwilhelm ,  
I have updated my R to the latest version as well, but still the same problem. It doesn’t seem to initialise the R . I have also installed Rserve library and re initialised but no luck so far. At this point I am thinking of reverting back to an older version

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/1/c/1c2fe986d3ee592b50e40142e6e074d1c2fe8992.png)

---

<div class="post-metadata">

**Author:** ![bwilhelm](https://forum-cdn.knime.com/user_avatar/forum.knime.com/bwilhelm/32/444_2.png) [@bwilhelm](https://forum.knime.com/u/bwilhelm)\
**Post date:** [March 17, 2022, 11:03am UTC](https://forum.knime.com/t/r-error-while-updating-knime-4-5-1/39629/27 "2022-03-17T11:03:52Z")

</div>

Hi @pio,  
The only workaround right now is to reinstall KNIME AP in version 4.5.1 (or 4.5.0 as others have stated).  
We are working on a fix for the upcoming bugfix release (4.5.2) which should arrive very soon. If you wait for the bugfix release, you don’t have to reinstall KNIME AP but updating will work.

**Update** : KNIME AP 4.5.2 is released. Updating to 4.5.2 fixes the issue.

---

<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:** [March 24, 2022, 11:04am UTC](https://forum.knime.com/t/r-error-while-updating-knime-4-5-1/39629/28 "2022-03-24T11:04:00Z")

</div>

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

[Previous page](https://forum.knime.com/t/r-error-while-updating-knime-4-5-1/39629.md?page=1)
