Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot load rClr on Linux/Mono, pkg load fails at clrCallStatic("Rclr.RDotNetDataConverter", "SetRDotNet", setit) #49

Open
jmp75 opened this issue May 3, 2020 · 2 comments

Comments

@jmp75
Copy link
Collaborator

jmp75 commented May 3, 2020

using version 0.8.3:

R CMD INSTALL --no-test-load rCLr

> library(rClr)
Assembly '/home/xxxxxx/.local/lib/R/3.6.2/site-library/rClr/libs/ClrFacade.dll' doesn't have an entry point.
Error: package or namespace load failed for ‘rClr’:
 .onLoad failed in loadNamespace() for 'rClr', details:
  call: clrCallStatic("Rclr.RDotNetDataConverter", "SetRDotNet", setit)
  error: Type:    System.DllNotFoundException
Message: System.Native assembly:<unknown assembly> type:<unknown type> member:(null)
Method:  
Stack trace:
  at (wrapper managed-to-native) Interop+Sys.LChflagsCanSetHiddenFlag()
  at Interop+Sys..cctor () <0x7fe86e1777d0 + 0x0001c> in <a1ae6166591d4020b810288d19af38d4>:0 

Debugging the C code in VSCode, ClrFacade appears to load, and Rclr.RDotNetDataConverter is indeed compiled in it. No idea why this fails. Missing dependancy hence DLLnotfound?

Mono JIT compiler version 6.8.0.105 (tarball Tue Feb  4 21:19:49 UTC 2020)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           __thread
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  amd64
	Disabled:      none
	Misc:          softdebug 
	Interpreter:   yes
	LLVM:          yes(610)
	Suspend:       hybrid
	GC:            sgen (concurrent by default)
@pelacables
Copy link

facing the same issue, do you know how to fix it?

@jmp75
Copy link
Collaborator Author

jmp75 commented Sep 14, 2020

I do not. Due to workplace demands I have little time left for the maintenance of rClr unfortunately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants