Error on mac while importing data from excel

Hi, I'm new to R (on macos) and I'm continuously getting an error whenever I try to import excel file into R.


Is this a valid Excel file?

unable to load shared object '/Library/Frameworks/R.framework/Versions/4.1/Resources/library/rlang/libs/rlang.so':
  dlopen(/Library/Frameworks/R.framework/Versions/4.1/Resources/library/rlang/libs/rlang.so, 6): no suitable image found.  Did find:
	/Library/Frameworks/R.framework/Versions/4.1/Resources/library/rlang/libs/rlang.so: mach-o, but wrong architecture
	/Library/Frameworks/R.framework/Versions/4.1/Resources/library/rlang/libs/rlang.so: mach-o, but wrong architecture

Could you please help me figure out the problem?
Thanks in advance :slight_smile:

Never mind, I installed a new version for rlang here:
https://cran.r-project.org/src/contrib/Archive/rlang/
and now it's working !!

Leaving it here, might of help to someone :sweat_smile:

1 Like

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.