Skip to content

Please update to ensure compatibility with R 4.6.0 and later #41

Closed

Description

@benz0li

Issue:

$ radian
Traceback (most recent call last):
  File "/usr/local/bin/radian", line 6, in <module>
    sys.exit(main())
             ~~~~^^
  File "/usr/local/lib/python3.14/site-packages/radian/app.py", line 239, in main
    RadianApplication(r_home, ver=__version__).run(options, cleanup=cleanup)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.14/site-packages/radian/app.py", line 345, in run
    rchitect.init(args=args, register_signal_handlers=True)
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.14/site-packages/rchitect/setup.py", line 53, in init
    raise Exception(load_symbol_error())
Exception: Cannot load symbol TRUELENGTH: /usr/local/lib/R/lib/libR.so: undefined symbol: TRUELENGTH

Reason:

  • These entry points are now marked as hidden and no longer have
    declarations in installed header files: ENVFLAGS, EXTPTR_PROT,
    FRAME, ENCLOS, EXTPTR_PTR, EXTPTR_TAG, HASHTAB, IS_S4_OBJECT,
    LEVELS, NAMED, OBJECT, R_shallow_duplicate_attr,
    Rf_isValidString, Rf_lazy_duplicate, Rf_NonNullStringMatch,
    SETLENGTH, SETLEVELS, SET_BODY, SET_CLOENV, SET_ENCLOS,
    SET_FORMALS, SET_ENVFLAGS, SET_FRAME, SET_GROWABLE_BIT,
    SET_HASHTAB, SET_NAMED, SET_S4_OBJECT, SET_TRUELENGTH,
    STDVEC_DATAPTR, TRUELENGTH, UNSET_S4_OBJECT, XTRUELENGTH.

– https://stat.ethz.ch/pipermail/r-devel/2026-April/084500.html

Cross reference:

Activity

  1. benz0li commented on Apr 28, 2026

    @benz0li
    Author
  2. kongdd commented on Apr 29, 2026

    @kongdd

    +1, can not live without radian

  3. benz0li commented on Apr 29, 2026

    @benz0li
    Author

    @kongdd Please be aware of the following:

    radian is no longer under active development. While I may address critical or obvious bugs, no new features will be added. If you are looking for an active alternative, I recommend checking out arf by @eitsupi.

    – https://github.com/randy3k/radian#important

  4. benz0li commented on Apr 29, 2026

    @benz0li
    Author

    I still hope that @randy3k will fix this problem to ensure compatibility with R 4.6.0 and later, even though radian is no longer actively developed.

  5. kongdd commented on Apr 29, 2026

    @kongdd

    @kongdd Please be aware of the following:

    radian is no longer under active development. While I may address critical or obvious bugs, no new features will be added. If you are looking for an active alternative, I recommend checking out arf by @eitsupi.

    – https://github.com/randy3k/radian#important

    Just read that repo. arf looks awesome and promising. Does it work well with vscode?

  6. benz0li commented on Apr 29, 2026

    @benz0li
    Author

    Does it work well with vscode?

    I haven not tried it myself yet.

    Sooner or later, the switch from radian to arf will be inevitable.

  7. berrones commented on Apr 30, 2026

    @berrones

    Just pull the band-aid off and switch to arf!

    Image

    curl --proto '=https' --tlsv1.2 -LsSf https://github.com/eitsupi/arf/releases/latest/download/arf-console-installer.sh | sh

    Change your Rterm path in VSCode:
    /home/adam/.cargo/bin/arf

    Image
  8. randy3k commented on May 1, 2026

    @randy3k
    Owner

    fixed by 15eae83, tagging 0.4.10 now.

  9. randy3k commented on May 1, 2026

    @randy3k
    Owner

    v0.4.10 is tagged, wheels will be pushed to pypi soon.

  10. benz0li commented on May 1, 2026

    @benz0li
    Author

    Tested with latest version (0.4.10) from pypi: Works.

    @randy3k Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions