r - When trying to install RPostgreSQL, why do I get package 'DBI' does not have a name space? -


i trying following command:

r cmd install rpostgresql_0.1-7.tar.gz 

i following error message:

* installing library 'c:/.../r/win-library/2.13' * installing *source* package 'rpostgresql' ... ** libs warning: package has non-empty 'configure.win' file, building main architecture  cygwin warning:   ms-dos style path detected: c:/progra~1/r/r-213~1.1/etc/x64/makeconf   preferred posix equivalent is: /cygdrive/c/progra~1/r/r-213~1.1/etc/x64/makeconf   cygwin environment variable option "nodosfilewarning" turns off warning.   consult user's guide more details posix paths:     http://cygwin.com/cygwin-ug-net/using.html#using-pathnames x86_64-w64-mingw32-gcc -i"c:/progra~1/r/r-213~1.1/include" -i"c:\program files\postgresql\9.1"/include         -o2 -wall  -std=gnu99 -c rs-dbi.c -o rs-dbi.o x86_64-w64-mingw32-gcc -i"c:/progra~1/r/r-213~1.1/include" -i"c:\program files\postgresql\9.1"/include         -o2 -wall  -std=gnu99 -c rs-pqescape.c -o rs-pqescape.o x86_64-w64-mingw32-gcc -i"c:/progra~1/r/r-213~1.1/include" -i"c:\program files\postgresql\9.1"/include         -o2 -wall  -std=gnu99 -c rs-postgresql.c -o rs-postgresql.o x86_64-w64-mingw32-gcc -i"c:/progra~1/r/r-213~1.1/include" -i"c:\program files\postgresql\9.1"/include         -o2 -wall  -std=gnu99 -c rs-pgsql-copy.c -o rs-pgsql-copy.o x86_64-w64-mingw32-gcc -shared -s -static-libgcc -o rpostgresql.dll tmp.def rs-dbi.o rs-pqescape.o rs-postgresql.o rs-pgsql-copy.o -lc:\program files\postgresql\9.1/lib -llibpq -lc:/progra~1/r/r-3~1.1/bin/x64 -lr installing c:/.../r/win-library/2.13/rpostgresql/libs/x64  ** r ** inst ** preparing package lazy loading error : package 'dbi' not have name space error: lazy loading failed package 'rpostgresql' 

i installed dbi using

r cmd install dbi_0.1-10.tar.gz 

and appeared work fine.

i alternatively tried

install.packages('rpostgresql_0.1-7')

but get

warning message: in getdependencies(pkgs, dependencies, available, lib) : package ‘rpostgresql_0.1-7’ not available (for r version 2.13.1)

could wrong or unusual r installation?

also, r development version in middle of requiring namespace every package and, if needed, building 1 package not supply it. should affect r-devel , not current version. version running?

anyway, , record, still installs fine here (r 2.13.1, ubuntu 11.0, customization in ~/.r/makevars)

edd@max:~/svn/rpostgresql$ r cmd install rpostgresql_0.1-7.tar.gz  * installing library ‘/usr/local/lib/r/site-library’ * installing *source* package ‘rpostgresql’ ... checking gcc... gcc checking c compiler default output file name... a.out checking whether c compiler works... yes checking whether cross compiling... no checking suffix of executables...  checking suffix of object files... o checking whether using gnu c compiler... yes checking whether gcc accepts -g... yes checking gcc option accept iso c89... none needed checking pg_config... /usr/bin/pg_config checking "/usr/include/postgresql/libpq-fe.h"... yes configure: creating ./config.status config.status: creating src/makevars ** libs ccache gcc-4.5 -i/usr/share/r/include -i/usr/include/postgresql     \    -fpic  -o3 -g0 -wall -pipe -pedantic -std=gnu99 -c rs-dbi.c      \    -o rs-dbi.o ccache gcc-4.5 -i/usr/share/r/include -i/usr/include/postgresql     \    -fpic  -o3 -g0 -wall -pipe -pedantic -std=gnu99 -c rs-pqescape.c \    -o rs-pqescape.o ccache gcc-4.5 -i/usr/share/r/include -i/usr/include/postgresql     \    -fpic  -o3 -g0 -wall -pipe -pedantic -std=gnu99 -c rs-postgresql.c \    -o rs-postgresql.o ccache gcc-4.5 -i/usr/share/r/include -i/usr/include/postgresql     \    -fpic  -o3 -g0 -wall -pipe -pedantic -std=gnu99 -c rs-pgsql-copy.c \    -o rs-pgsql-copy.o gcc -shared -o rpostgresql.so rs-dbi.o rs-pqescape.o rs-postgresql.o \    rs-pgsql-copy.o -l/usr/lib -lpq -l/usr/lib64/r/lib -lr installing /usr/local/lib/r/site-library/rpostgresql/libs ** r ** inst ** preparing package lazy loading creating new generic function "format" in "rpostgresql" creating new generic function "print" in "rpostgresql" ** *** installing indices ** building package indices ... ** testing if installed package can loaded  * done (rpostgresql) edd@max:~/svn/rpostgresql$  

Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -