[R] problem installing RDCOMClient on Windows 7

Kishor Tappita kishor.tappita at gmail.com
Mon Aug 5 16:11:44 CEST 2013


Dear R-Users,

I am trying to install RDCOMClient package as it is a dependency for
installing excel.link package. I get the below error while trying to
install RDCOMClient on 64-bit Windows 7 operating system.


g++ -I"D:/R-2.10.0/include" -D_GNU_ -DNO_PYCOM_IPROVIDECLASSINFO -I.
 -Wno-deprecated    -O2 -Wall  -c RUtils.c -o RUtils.o

RUtils.c: In function 'SEXPREC* R_createRCOMUnknownObject(void*, const char*)':
RUtils.c:151:52: error: invalid conversion from 'int' to 'Rboolean'
[-fpermissive]
D:/R-2.10.0/include/Rinternals.h:692:6: error:   initializing argument
3 of 'void R_RegisterCFinalizerEx(SEXP, R_CFinalizer_t, Rboolean)'
[-fpermissive]
RUtils.c: In function 'Rboolean ISSInstanceOf(SEXP, const char*)':
RUtils.c:245:26: error: invalid conversion from 'int' to 'Rboolean'
[-fpermissive]

make: *** [RUtils.o] Error 1

Please help me to resolve this issue. RDCOMClient_0.93-0.tar.gz is the
source file that I am using. Below is my session information.

> sessionInfo()
R version 2.10.0 (2009-10-26)
i386-pc-mingw32

locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

Thanks,
Kishor



More information about the R-help mailing list