Installing the SQLDF package in R

Source: Internet
Author: User

When installing this package, directly

Install.packages ("Sqldf") can

But there may be a bit of an episode where there are errors:

Error:. OnLoad failed in Loadnamespace () for ' TCLTK ', details:
Call:fun (Libname, Pkgname)
ERROR:TCL/TK support isn't available on the This system
Error:package ' TCLTK ' could not being loaded
Error:lazy loading failed for package ' TCLTK2 '

If this is the case, you will need to confirm that the TCLTK package is not installed.

Yum install libx11-devel.x86_64 libxt-devel tcl-devel tk-devel

If there's a leak, it's definitely not going to fit.

In addition, the TCLTK package must exist when installing r, or it will not compile even if you install R after installing TCLTK.

You will need to reinstall the R language at this point in the same location.

Then you can install the SQLDF package.


Installing the SQLDF package in R

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.