[R] Matrix Results
RMSOPS
ricardosousa2000 at clix.pt
Tue Mar 13 15:40:03 CET 2012
Hello
Error: could not find function sqldf:
Hello, I'm using R Studio, and installed the option of installing the
packages sqldbf function.
But When I run the code give the next error.
install.packages("sqldf")
library("RSQLite")
require(sqldf)
x <- read.fwf(textConnection("4 - 4 56
+ 4 - 3 61
+ 3 - 3 300
+ 3 - 3 27
+ 3 - 3 33
+ 3 - 3 87
+ 3 - 4 49
+ 4 - 4 71
+ 4 - 3 121
+ 3 - 4 138
+ 4 - 3 15"), width = c(7,8) , header = FALSE, as.is = TRUE)
closeAllConnections()
sqldf("
+ select V1
+ , count(*) as Freq
+ , min(V2) as Min
+ , max(V2) as Max
+ , median(V2) as Median
+ from x
+ group by V1
+ ")
ERROR: lazy loading failed for package ‘sqldf’
* removing ‘/home/ricardosousa/R/x86_64-pc-linux-gnu-library/2.13/sqldf’
Warning in install.packages :
installation of package 'sqldf' had non-zero exit status
The downloaded packages are in
‘/tmp/RtmpS53jrJ/downloaded_packages’
--
View this message in context: http://r.789695.n4.nabble.com/Matrix-Results-tp4468642p4469239.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list