[BioC] tcltk package for R 2.14.1

Dan Tenenbaum dtenenba at fhcrc.org
Wed Jan 25 06:25:26 CET 2012


On Tue, Jan 24, 2012 at 8:35 PM, Chintan Vora - Xcelris
<chintan.vora at xcelrislabs.com> wrote:
> I tried it but its gives me following error
>
>> library(tcltk)
> Error : .onLoad failed in loadNamespace() for 'tcltk', details:
>   call: fun(libname, pkgname)
>   error: Tcl/Tk support is not available on this system
> In addition: Warning message:
> S3 methods ‘$.tclvar’, ‘$<-.tclvar’, ‘as.character.tclObj’,
> ‘as.character.tclVar’, ‘as.double.tclObj’, ‘as.integer.tclObj’,
> ‘as.logical.tclObj’, ‘as.raw.tclObj’, ‘print.tclObj’, ‘[[.tclArray’,
> ‘[[<-.tclArray’, ‘$.tclArray’, ‘$<-.tclArray’, ‘names.tclArray’,
> ‘names<-.tclArray’, ‘length.tclArray’, ‘length<-.tclArray’, ‘tclObj.tclVar’,
> ‘tclObj<-.tclVar’, ‘tclvalue.default’, ‘tclvalue.tclObj’, ‘tclvalue.tclVar’,
> ‘tclvalue<-.default’, ‘tclvalue<-.tclVar’, ‘close.tkProgressBar’ were
> declared in NAMESPACE but not found
> Error: package/namespace load failed for ‘tcltk’
>

You need to make sure you have the appropriate packages installed on
your system.

You don't specify which Linux distribution you are running, but here
is the list of packages for ubuntu (install with "sudo apt-get install
packageName") courtesy of Hervé Pagès. I should probably make this a
FAQ. Then reinstall R.

Required stuff:
 make
 libc6-dev
 gfortran
 gfortran-4.2
 g++
 g++-4.2
 libreadline5-dev
 libx11-dev
 libxt-dev

Other highly recommended stuff (TeX/LaTeX, tcltk, PNG, JPEG, cairo, Java):
 texlive-full
 tcl8.5-dev
 tk8.5-dev
 libxss-dev
 libpng12-dev
 libjpeg62-dev
 libcairo2-dev
 gcj
 gcj-4.2

Required by some CRAN or Bioconductor packages:
 libcurl4-openssl-dev (for RCurl)
 libxml2-dev (for XML)
 libgtk2.0-dev, libglade2.0-dev (for RGtk2)
 libgraphviz-dev (for Rgraphviz)
 ggobi (for rggobi)

Really nice to have:
 manpages-dev
 colorgcc (to activate this: cd /usr/local/bin/ && sudo ln -s
/usr/bin/colorgcc gcc)

Dan


>
>> sessionInfo()
> R version 2.14.1 (2011-12-22)
> Platform: x86_64-unknown-linux-gnu (64-bit)
>
> locale:
>  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
>  [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
>  [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
>  [7] LC_PAPER=C                 LC_NAME=C
>  [9] LC_ADDRESS=C               LC_TELEPHONE=C
> [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
> Regards,
> Chintan Vora
> Sr. Research Associate
> Xcelris Labs Ltd.
> Old Premchandnagar Road,
> Bodakdev, Ahmedabad-380 054 India.
> Tel: +91-79-66197777/66311114
> Fax: +91-79-66309341
> Email: chintan.vora at xcelrislabs.com
> Website: www.xcelrisgenomics.com
>
>
> On 01/23/2012 09:48 PM, Dan Tenenbaum wrote:
>
> On Mon, Jan 23, 2012 at 3:35 AM, Chintan Vora - Xcelris
> <chintan.vora at xcelrislabs.com> wrote:
>
> Hi,
>
> I am trying to install tcltk package for affylmGUI. But I am getting error
>
>  > library(BiocInstaller)
> BiocInstaller version 1.2.1, ?biocLite for help
>  > biocLite("tcltk")
> BioC_mirror: 'http://www.bioconductor.org'
> Using R version 2.14, BiocInstaller version 1.2.1.
> Installing package(s) 'tcltk'
> Warning message:
> In getDependencies(pkgs, dependencies, available, lib) :
>   package 'tcltk' is not available (for R version 2.14.1)
>
>  > sessionInfo()
> R version 2.14.1 (2011-12-22)
> Platform: x86_64-unknown-linux-gnu (64-bit)
>
> locale:
>  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
>  [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
>  [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
>  [7] LC_PAPER=C                 LC_NAME=C
>  [9] LC_ADDRESS=C               LC_TELEPHONE=C
> [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
> other attached packages:
> [1] BiocInstaller_1.2.1
>
> loaded via a namespace (and not attached):
> [1] tools_2.14.1
>
> tcltk is a built-in package, included with R.
> You should  not need to install it like this;
> library(tcltk)
> should just work.
> Dan
>
>
> --
>
> Regards,
> Chintan Vora
> Sr. Research Associate
> Xcelris Labs Ltd.
> Old Premchandnagar Road,
> Bodakdev, Ahmedabad-380 054 India.
> Tel: +91-79-66197777/66311114
> Fax: +91-79-66309341
> Email: chintan.vora at xcelrislabs.com
> Website: www.xcelrisgenomics.com
>
>
>
> "Please don't print this e-mail unless you really need to. Save Paper, Save
> Trees"
>
> --------------------------------------------------------------------------------
>
> Disclaimer\ \  \ Any views or opinions presented in this...{{dropped:13}}
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at r-project.org
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives:
> http://news.gmane.org/gmane.science.biology.informatics.conductor
>
>
> --------------------------------------------------------------------------------
>
> Disclaimer
> The information contained in this e-mail message and / or attachments to it
> may contain confidential or privileged information of Xcelris Labs Limited
> and / or its group companies. If you are not the intended recipient, any
> dissemination, use, review, distribution, printing or copying of the
> information contained in this e-mail message and / or attachments to it is
> strictly prohibited. If you have received this communication in error,
> please notify us by reply e-mail or telephone and immediately delete /
> destroy the message and / or any attachments permanently.
>
> Any views or opinions presented in this e-mail are solely those of the
> author and do not necessarily represent those of the company. Employees of
> the company are expressly required not to make defamatory statements and not
> to infringe or authorize any infringement of copyright or any other legal
> right by e-mail communication. Any such communication is contrary to company
> policy and outside the scope of the employment of the individual concerned.
> The company will not accept any liability in respect of such communication.
>
> No employee or associate is authorized to conclude any binding agreement on
> behalf of Xcelris with another party by e-mail without expressly written
> confirmation of the company.
>
> Warning-Computer viruses can be transmitted via e-mail. The recipient should
> check this e-mail and any attachment for the presence of viruses. The
> company has taken every reasonable precaution to minimize this risk, and is
> not liable for any damage you may sustain as a result of any virus in this
> e-mail. You should carry out your own virus checks before acting upon the
> e-mail or any attachment to it.
>
> --------------------------------------------------------------------------------



More information about the Bioconductor mailing list