zoukankan      html  css  js  c++  java
  • R语言实战

    11. 使用SQL语句操作数据框

    > install.packages("sqldf")
    Installing package into ‘C:/Users/WZhong/Documents/R/win-library/3.4’
    (as ‘lib’ is unspecified)
    also installing the dependencies ‘rlang’, ‘bit’, ‘tibble’, ‘digest’, ‘bit64’, ‘blob’, ‘memoise’, ‘pkgconfig’, ‘BH’, ‘plogr’, ‘gsubfn’, ‘proto’, ‘RSQLite’, ‘DBI’, ‘chron’
    
    trying URL 'https://mirror.lzu.edu.cn/CRAN/bin/windows/contrib/3.4/rlang_0.1.2.zip'
    Content type 'application/zip' length 465926 bytes (455 KB)
    downloaded 455 KB
    
    trying URL 'https://mirror.lzu.edu.cn/CRAN/bin/windows/contrib/3.4/bit_1.1-12.zip'
    Content type 'application/zip' length 240302 bytes (234 KB)
    downloaded 234 KB
    
    trying URL 'https://mirror.lzu.edu.cn/CRAN/bin/windows/contrib/3.4/tibble_1.3.4.zip'
    Content type 'application/zip' length 676609 bytes (660 KB)
    downloaded 660 KB
    
    trying URL 'https://mirror.lzu.edu.cn/CRAN/bin/windows/contrib/3.4/digest_0.6.12.zip'
    Content type 'application/zip' length 172962 bytes (168 KB)
    downloaded 168 KB
    
    trying URL 'https://mirror.lzu.edu.cn/CRAN/bin/windows/contrib/3.4/bit64_0.9-7.zip'
    Content type 'application/zip' length 548391 bytes (535 KB)
    downloaded 535 KB
    
    trying URL 'https://mirror.lzu.edu.cn/CRAN/bin/windows/contrib/3.4/blob_1.1.0.zip'
    Content type 'application/zip' length 14945 bytes (14 KB)
    downloaded 14 KB
    
    trying URL 'https://mirror.lzu.edu.cn/CRAN/bin/windows/contrib/3.4/memoise_1.1.0.zip'
    Content type 'application/zip' length 29980 bytes (29 KB)
    downloaded 29 KB
    
    trying URL 'https://mirror.lzu.edu.cn/CRAN/bin/windows/contrib/3.4/pkgconfig_2.0.1.zip'
    Content type 'application/zip' length 20004 bytes (19 KB)
    downloaded 19 KB
    
    trying URL 'https://mirror.lzu.edu.cn/CRAN/bin/windows/contrib/3.4/BH_1.65.0-1.zip'
    Content type 'application/zip' length 17006683 bytes (16.2 MB)
    downloaded 16.2 MB
    
    trying URL 'https://mirror.lzu.edu.cn/CRAN/bin/windows/contrib/3.4/plogr_0.1-1.zip'
    Content type 'application/zip' length 17912 bytes (17 KB)
    downloaded 17 KB
    
    trying URL 'https://mirror.lzu.edu.cn/CRAN/bin/windows/contrib/3.4/gsubfn_0.6-6.zip'
    Content type 'application/zip' length 354983 bytes (346 KB)
    downloaded 346 KB
    
    trying URL 'https://mirror.lzu.edu.cn/CRAN/bin/windows/contrib/3.4/proto_1.0.0.zip'
    Content type 'application/zip' length 466933 bytes (455 KB)
    downloaded 455 KB
    
    trying URL 'https://mirror.lzu.edu.cn/CRAN/bin/windows/contrib/3.4/RSQLite_2.0.zip'
    Content type 'application/zip' length 2079028 bytes (2.0 MB)
    downloaded 2.0 MB
    
    trying URL 'https://mirror.lzu.edu.cn/CRAN/bin/windows/contrib/3.4/DBI_0.7.zip'
    Content type 'application/zip' length 749154 bytes (731 KB)
    downloaded 731 KB
    
    trying URL 'https://mirror.lzu.edu.cn/CRAN/bin/windows/contrib/3.4/chron_2.3-50.zip'
    Content type 'application/zip' length 110380 bytes (107 KB)
    downloaded 107 KB
    
    trying URL 'https://mirror.lzu.edu.cn/CRAN/bin/windows/contrib/3.4/sqldf_0.4-11.zip'
    Content type 'application/zip' length 77846 bytes (76 KB)
    downloaded 76 KB
    
    package ‘rlang’ successfully unpacked and MD5 sums checked
    package ‘bit’ successfully unpacked and MD5 sums checked
    package ‘tibble’ successfully unpacked and MD5 sums checked
    package ‘digest’ successfully unpacked and MD5 sums checked
    package ‘bit64’ successfully unpacked and MD5 sums checked
    package ‘blob’ successfully unpacked and MD5 sums checked
    package ‘memoise’ successfully unpacked and MD5 sums checked
    package ‘pkgconfig’ successfully unpacked and MD5 sums checked
    package ‘BH’ successfully unpacked and MD5 sums checked
    Warning: unable to move temporary installation ‘C:UsersWZhongDocumentsRwin-library3.4file2cd06ad67e42BH’ to ‘C:UsersWZhongDocumentsRwin-library3.4BH’
    package ‘plogr’ successfully unpacked and MD5 sums checked
    package ‘gsubfn’ successfully unpacked and MD5 sums checked
    package ‘proto’ successfully unpacked and MD5 sums checked
    package ‘RSQLite’ successfully unpacked and MD5 sums checked
    package ‘DBI’ successfully unpacked and MD5 sums checked
    package ‘chron’ successfully unpacked and MD5 sums checked
    package ‘sqldf’ successfully unpacked and MD5 sums checked
    
    The downloaded binary packages are in
    C:UsersWZhongAppDataLocalTempRtmpiKKe8Jdownloaded_packages
    > 
    > 
    > 
    > library(sqldf)
    Loading required package: gsubfn
    Loading required package: proto
    Loading required package: RSQLite
    

      

  • 相关阅读:
    MySQL之增_insert-replace
    Linux如何配置bond
    行转列及列转行查询
    SELECT中常用的子查询操作
    SELECT中的多表连接
    MySQL最常用分组聚合函数
    SELECT中的if_case流程函数
    MySQL常用日期时间函数
    MySQL常用数值函数
    dnslog注入
  • 原文地址:https://www.cnblogs.com/wnzhong/p/7498222.html
Copyright © 2011-2022 走看看