Skip to content
Prev 42796 / 63424 Next

How to install sqldf to R with version 2.10?

On 17/03/2012 16:25, Uwe Ligges wrote:
And in any case, there is no 'R 2.10', as the posting guide points out.
And possibly older versions of all the packages it depends on/imports to.

But, I do have R 2.10.1 around, so I can reproduce the problem:
* installing *source* package ?sqldf? ...
** R
** demo
** inst
** preparing package for lazy loading
Loading required package: proto
Error : package 'gsubfn' does not have a name space
ERROR: lazy loading failed for package ?sqldf?

So the unstated problem is that sqldf does not work with gsubfn in R < 
2.14.0.  And the solution as Uwe said is to use an older version of 
sqldf (at least).

'zhu free' really does need to study the posting guide at 
http://www.r-project.org/posting-guide.html, and learn to post 
answerable questions.