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

unable to load tcltk on installation #52

Closed
hudon opened this issue Dec 9, 2012 · 4 comments
Closed

unable to load tcltk on installation #52

hudon opened this issue Dec 9, 2012 · 4 comments

Comments

@hudon
Copy link

hudon commented Dec 9, 2012

When I run install.packages("shiny"), I get this error:

Loading Tcl/Tk interface ... Error: .onLoad failed in loadNamespace() for 'tcltk', details:
    call: dyn.load(file, DLLpath = DLLpath, ...)
    error: unable to load shared object '/usr/lib/R/library/tcltk/libs/tcltk.so':
    libtk8.5.so: cannot open shared object file: No such file or directory

So I tried install.packages("tcltk2"), which gives me the same error. Is there a requirement for this package I am missing?

Arch Linux x86_64
R 2.15.2

@hudon
Copy link
Author

hudon commented Dec 11, 2012

My bad, this is not your problem at all. The r package for arch has tk as an optional dependency. I just needed to install that.

@hudon hudon closed this as completed Dec 11, 2012
@con5tella
Copy link

I encountered the same problem, have you already solved? Thx!

@benjaminengel
Copy link

On archlinux you just have to install the tk package with sudo pacman -S tk.

@con5tella
Copy link

@benjaminengel Thanks for your reply.

I have found the solution via the internet and solved it last weekend. I use another distro Manjaro based on Arch.

At the beginning, the reason that the package tcltk, pbatR needed, can't run on R is I have not install gcc-fortran on the system.

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

3 participants