![]() ![]() If the install fails again with a similar error, repeat the above procedure to create a symbolic link to the file indicated by the new error message.Īfter the installation succeeds, run the following in the R Console to install the IRkernel to Jupyter: IRkernel::installspec() Sudo ln -s /usr/X11/lib/libICE.6.dylib /opt/X11/lib/libICE.6.dylibĪfter creating this link, run the "install.packages." command in R again. For libICE.6.dylib, this can be accomplished by running: sudo mkdir -p /opt/X11/lib/ Once this file is found, you can create a symbolic link to this file in the location that R is searching for it. On my system, libICE.6.dylib was found in "/usr/X11/lib". In this instance, you can find the location of "libICE.6.dylib" by running: sudo find / -name libICE.6.dylib It is likely that such a file exists on your computer, but in another location. This indicates that R is looking for the file "libICE.6.dylib" in the directory "/opt/X11/lib/" Referenced from: /Library/Frameworks/R.framework/Resources/modules/R_X11.so Unable to load shared object '/Library/Frameworks/R.framework/Resources/modules/R_X11.so':dlopen(/Library/Frameworks/R.framework/Resources/modules/R_X11.so, 6): Library not loaded: /opt/X11/lib/libICE.6.dylib In doTr圜atch(return(expr), name, parentenv, handler): Take this error message for example: Warning message: If this command fails to install (which it likely will), certain directories and symbolic file links will need to be created. In the R Console, run the following (as a single, long command): install.packages(c( 'rzmq', 'repr', 'IRkernel', 'IRdisplay'), repos = c( '', getOption( 'repos')), type = 'source') Macports can be installed by downloading installers from:Īfter installing ZMQ, open an R Console in the Canopy Terminal by running: R To use Homebrew on OSX 10.11, you must first change the permissions on /usr/local by running: sudo chown -R $(whoami ):admin /usr/local Homebrew can be installed by running: ruby -e "$(curl -fsSL )" You will also be chance between a Python and R kernels using the Kernel -> Change Kernel menu.Īll of the commands below are executed from a Canopy Terminal (accessible from the Tools menu in Canopy).įrom a Canopy terminal, install zmq using the instructions from the "Source" tab in the above installation instructions. Instructions for installing can be found here:Īfter installation you will be able to create a new notebook from within the Jupyter browser window in the R kernel. ![]() Mirrors to R installers can be found here: Below are the steps needed to install an R kernel to be used in Canopy's Jupyter installation.įor all platforms, R must be installed. With Jupyter notebooks now being opened in a browser window (as of Canopy 1.6.1), you are now able to edit and run notebooks in Julia, Python, or R kernels. ![]()
0 Comments
Leave a Reply. |