r - Installing & using the asbio package under OS X -
r - Installing & using the asbio package under OS X -
i'm ta in statistics class, , students supposed utilize "asbio" bundle in r multiple comparisons. of have osx complaining asbio not load. cannot reproduce error on own mac.
here errors 1 of students seeing:
>library(asbio) loading required package: tcltk error : .onload failed in loadnamespace() 'tcltk', details: call: dyn.load(file, dllpath = dllpath, ...) error: unable 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: bundle ‘tcltk’ not loaded > install.packages("tcltk") warning in install.packages : bundle ‘tcltk’ not available (for r version 3.1.1)
here few things students have tried:
install tcltk2: "it works now, still errors" (sorry, know that's confusing answer, it's have) install xquartz: "now works."i suspect xquartz right reply here, if explain what's going on , confirm, awesome.
(and why ^& numerical statistics bundle need tcl/tk anyway???)
tcl/tk needs x11 environment work in graphical output , apple no longer ships x11 environment operating system. xquartz fills gap, separate install. said install makes x11 libraries available (look @ missing libraries in errors) , libraries—in turn—make graphical operations tcl/tk possible.
the absio
bundle has functions allow animation (like anim.ci) rely on graphics capabilities of tcl/tk.
r osx rstudio
Comments
Post a Comment