On 13.03.2012 15:40, RMSOPS wrote:
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
So that error message tells us that the installation of sqldf did not
succeed on your machine.
Uwe Ligges
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.
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.