I was trying to load "MplusAutomation" package, but then it keeps giving me the same error message as follows:
Error : .onLoad failed in loadNamespace() for 'tcltk', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared object '/Library/Frameworks/R.framework/Versions/3.1/Resources/library/tcltk/libs/tcltk.so':
dlopen(/Library/Frameworks/R.framework/Versions/3.1/Resources/library/tcltk/libs/tcltk.so, 10): Library not loaded: /opt/X11/lib/libX11.6.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/3.1/Resources/library/tcltk/libs/tcltk.so
Reason: image not found
Error: package or namespace load failed for ‘MplusAutomation’
Would you please let me know why this error message might have occurred?? I've installed the latest version of R on Mac Mavericks in case it might fix the problem. Since I'm new to Mplus as well as MplusAutomation package, I have no clue why only this package didn't launch properly. Thanks for your help in advance!!