# KNIME R Snippet node is not working fine in the latest version of macOS (Big Sur 11.2.3)

**URL:** <https://forum.knime.com/t/knime-r-snippet-node-is-not-working-fine-in-the-latest-version-of-macos-big-sur-11-2-3/32373>\
**Category:** KNIME Extensions\
**Tags:** scripting\
**Created:** [April 20, 2021, 6:39am UTC](https://forum.knime.com/t/knime-r-snippet-node-is-not-working-fine-in-the-latest-version-of-macos-big-sur-11-2-3/32373 "2021-04-20T06:39:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mariaangelesjs](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/m/898d66/32.png) [@mariaangelesjs](https://forum.knime.com/u/mariaangelesjs)\
**Post date:** [April 20, 2021, 6:39am UTC](https://forum.knime.com/t/knime-r-snippet-node-is-not-working-fine-in-the-latest-version-of-macos-big-sur-11-2-3/32373/1 "2021-04-20T06:39:36Z")

</div>

Hi,  
I’m getting the following error after trying to run the R Snippet:

`ERROR: Could not execute internal command.ERROR: R evaluation failed.: "sapply(ls(),function(a)class(get(a,envir=globalenv()))[1])"ERROR: R evaluation failed.: "sapply(ls(),function(a)class(get(a,envir=globalenv()))[1])"ERROR: eval failed`

I have the latest version of Rserve, Cairo, Fortran, and everything else under [KNIME Mac OS](https://forum.knime.com/t/install-r-alongside-knime-on-windows-and-macos/13287). However, the R snippet is still not working. Everything was working fine two weeks ago, but currently I found this issue now. Any help? I’m checking whether installing Xcode will help also.

---

<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:** [April 20, 2021, 6:43am UTC](https://forum.knime.com/t/knime-r-snippet-node-is-not-working-fine-in-the-latest-version-of-macos-big-sur-11-2-3/32373/2 "2021-04-20T06:43:25Z")

</div>

@mariaangelesjs welcome to the KNIME forum.

If you encounter problems with R and KNIME and MacOSX there are more articles and hints to explore:

> **[A meta collection and article about R and KNIME – mlauber71](https://hub.knime.com/mlauber71/spaces/Public/latest/_r_installation_on_knime_collection~tj5tS_6gYvqOSPlk#externalresources)**
>
> A meta collection and article about R and KNIME R gives you the power to do a lot of great things combined with KNIME but to get R and KNIME together up and ru…

The error sounds like some paths might be missing. Did you follow all the hints from the official [KNIME and R guide](https://docs.knime.com/latest/r_installation_guide/index.html) and can you check which versions of the named packages you have.

You can check your installation here. If the code does not work in KNIME/R maybe you try to check the versions in RStudio.

> **[check version of R packages in KNIME – mlauber71](https://hub.knime.com/mlauber71/spaces/Public/latest/kn_example_r_check_version_of_package~annQfxz-Mrtn2BNm)**
>
> demonstrates how to check the versions of every R package. And specifically check for the version of the RServe package. With the help of the package sessionin…

---

<div class="post-metadata">

**Author:** ![mariaangelesjs](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/m/898d66/32.png) [@mariaangelesjs](https://forum.knime.com/u/mariaangelesjs)\
**Post date:** [April 20, 2021, 7:07am UTC](https://forum.knime.com/t/knime-r-snippet-node-is-not-working-fine-in-the-latest-version-of-macos-big-sur-11-2-3/32373/3 "2021-04-20T07:07:52Z")

</div>

Hi,  
Yes, I did read that specific article and I have all the latest versions. Same in RStudio. But, I still have the same issue.  
As I said, everything was working fine two weeks ago. I did not change any path and the packages were not updated recently also. So, the bug is within KNIME. I’m willing to send my log file to the KNIME Team if that could solve the problem.

---

<div class="post-metadata">

**Author:** ![ipazin](https://forum-cdn.knime.com/user_avatar/forum.knime.com/ipazin/32/806_2.png) [@ipazin](https://forum.knime.com/u/ipazin)\
**Post date:** [April 20, 2021, 9:01am UTC](https://forum.knime.com/t/knime-r-snippet-node-is-not-working-fine-in-the-latest-version-of-macos-big-sur-11-2-3/32373/4 "2021-04-20T09:01:28Z")

</div>

Hello @mariaangelesjs,

and welcome to KNIME Community!

If you haven’t updated and/or changed anything in/around KNIME in last two weeks (or from last time it was working) not sure this is a “bug within KNIME”. However you can share log file here (please make sure to remove sensitive data from it, if any). Also set log level to DEBUG.

And a bit information on Big Sur:

> [@KNIME AP & MacOS Big Sur](https://forum.knime.com/t/knime-ap-macos-big-sur/29147):
>
> This is to our users running KNIME Analytics Platform on Mac: Apple’s latest MacOS version 11.0 “Big Sur” was released mid November and we see slow adoption both externally and internally. We noticed this release brings some changes that are incompatible with Eclipse – the framework that KNIME Analytics Platform is based on. To our knowledge these problems are only visual artifacts in the KNIME UI such as distorted table views in the KNIME editor, for instance in the node repository or the nod…

Br,  
Ivan

---

<div class="post-metadata">

**Author:** ![mariaangelesjs](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/m/898d66/32.png) [@mariaangelesjs](https://forum.knime.com/u/mariaangelesjs)\
**Post date:** [April 20, 2021, 9:05am UTC](https://forum.knime.com/t/knime-r-snippet-node-is-not-working-fine-in-the-latest-version-of-macos-big-sur-11-2-3/32373/5 "2021-04-20T09:05:04Z")

</div>

Hi,  
I’ve updated everything and now the node is working fine.  
I find that after every macOS update I end up having to reinstall everything for the KNIME R Integration.  
Kind regards,  
Maria

---

<div class="post-metadata">

**Author:** ![ipazin](https://forum-cdn.knime.com/user_avatar/forum.knime.com/ipazin/32/806_2.png) [@ipazin](https://forum.knime.com/u/ipazin)\
**Post date:** [April 20, 2021, 9:11am UTC](https://forum.knime.com/t/knime-r-snippet-node-is-not-working-fine-in-the-latest-version-of-macos-big-sur-11-2-3/32373/6 "2021-04-20T09:11:14Z")

</div>

Hello @mariaangelesjs,

glad to hear it’s working now.

> [@mariaangelesjs](#):
>
> I find that after every macOS update I end up having to reinstall everything for the KNIME R Integration.

That’s bad but I don’t recall hearing it from other users. Maybe something specific to your setup? 😕

Br,  
Ivan

---

<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 27, 2021, 9:11am UTC](https://forum.knime.com/t/knime-r-snippet-node-is-not-working-fine-in-the-latest-version-of-macos-big-sur-11-2-3/32373/7 "2021-04-27T09:11:39Z")

</div>

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