LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-06-2018, 11:54 PM   #1
sababa.sababa
LQ Newbie
 
Registered: Jul 2010
Distribution: Slackware
Posts: 29

Rep: Reputation: 2
Tcl problem when trying to install R-package "RQDA"


Hello,

I've installed R and R-studio. Then I tried to install the package "RQDA":

Code:
$ su -
...
Code:
$ R
> install.packages("RQDA",dependencies=c("Depends", "Imports")) 
--- Please select a CRAN mirror for use in this session ---
Error: .onLoad failed in loadNamespace() for 'tcltk', details:
  call: fun(libname, pkgname)
  error: Can't find a usable init.tcl in the following directories: 
    /opt/transcriber/lib/tcl8.4 /opt/transcriber/lib/tcl8.4



This probably means that Tcl wasn't installed properly.

Thanks in advance for ideas!

Last edited by sababa.sababa; 05-07-2018 at 12:11 AM.
 
Old 05-07-2018, 03:34 AM   #2
sababa.sababa
LQ Newbie
 
Registered: Jul 2010
Distribution: Slackware
Posts: 29

Original Poster
Rep: Reputation: 2
I solved it by:

Code:
$ find / -iname *init.tcl*
...and then:

Code:
$ mkdir -p /opt/transcriber/lib/tcl8.4
$ ln -s /usr/local/lib/tcl8.4/init.tcl /opt/transcriber/lib/tcl8.4/init.tcl
 
1 members found this post helpful.
Old 05-07-2018, 03:36 AM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Rep: Reputation: Disabled
I just installed R just to try, ran it as regular user and typed the same command at the prompt.

When asked, I chose to install in a personal directory not to mess up my system with files I will never use.

Installation failed for missing deps but I had no issue with tcl.

As a reminder Slackware proper doesn't install anything in /opt.

For the sake of completeness here the end of the buildoutput:
Code:
installing to /home/didier/R/x86_64-slackware-linux-gnu-library/3.3/igraph/libs
** R
** demo
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (igraph)
* installing *source* package ‘blob’ ...
** package ‘blob’ correctement décompressé et sommes MD5 vérifiées
** R
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (blob)
ERROR: dependencies ‘BH’, ‘plogr’ are not available for package ‘RSQLite’
* removing ‘/home/didier/R/x86_64-slackware-linux-gnu-library/3.3/RSQLite’
ERROR: dependencies ‘RSQLite’, ‘gWidgetsRGtk2’, ‘RGtk2’ are not available for package ‘RQDA’
* removing ‘/home/didier/R/x86_64-slackware-linux-gnu-library/3.3/RQDA’

Les packages source téléchargés sont dans
	‘/tmp/RtmpsD0aqy/downloaded_packages’
Warning messages:
1: In install.packages("RQDA", dependencies = c("Depends", "Imports")) :
  l'installation du package ‘gWidgetsRGtk2’ a eu un statut de sortie non nul
2: In install.packages("RQDA", dependencies = c("Depends", "Imports")) :
  l'installation du package ‘RSQLite’ a eu un statut de sortie non nul
3: In install.packages("RQDA", dependencies = c("Depends", "Imports")) :
  l'installation du package ‘RQDA’ a eu un statut de sortie non nul
>
PS Too late, I didn't see your second post before posting.

Last edited by Didier Spaier; 05-07-2018 at 03:38 AM.
 
Old 05-07-2018, 11:12 AM   #4
heyjann
Member
 
Registered: Dec 2015
Posts: 102

Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
As a reminder Slackware proper doesn't install anything in /opt.
And I wonder what any tcl stuff was doing in /usr/local/lib, tcl/tk is part of a Slackware full install (so /usr/lib(64) would be expected).

@sababa did you install R using the slackbuild found at http://slackbuilds.org/repository/14.2/academic/R/ ? If not, I'd recommend doing so.

As for rstudio, I would agree, put it in /opt

https://www.linuxquestions.org/quest...4/#post5812597
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Error:: "wrong # args: should be "set varName ?newValue?" " while running TCL script rc49 Linux - Newbie 2 09-15-2016 12:01 AM
[SOLVED] "error when calling class OldSim: simple.tcl" problem aradhi Linux - Networking 1 05-03-2016 09:59 AM
How to solve [version conflict for package "Tcl"] anasnet Linux - Networking 11 12-29-2011 08:47 AM
perl install error: Can't locate object method "new" via package "Module::Build::Vers powah Linux - Software 0 10-24-2006 01:57 PM
SuSE 9.2 DVD ISO install "Cannot read package data from installation media" problem BEaton SUSE / openSUSE 3 04-08-2005 01:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration