R语言实战 - 基本数据管理(4)
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:\Users\WZhong\Documents\R\win-library\3.4\file2cd06ad67e42\BH’ to ‘C:\Users\WZhong\Documents\R\win-library\3.4\BH’
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:\Users\WZhong\AppData\Local\Temp\RtmpiKKe8J\downloaded_packages
>
>
>
> library(sqldf)
Loading required package: gsubfn
Loading required package: proto
Loading required package: RSQLite
posted on 2017-09-09 14:50 你的踏板车要滑向哪里 阅读(308) 评论(0) 收藏 举报
浙公网安备 33010602011771号