Displaying 9 results from an estimated 9 matches for "callentries".
2008 Oct 08
1
error installing lattice package
...nelCalculations"
threeDplot.h:9: error: syntax error before "xArg"
threeDplot.h:15: warning: type defaults to `int' in declaration of
`wireframePanelCalculations'
threeDplot.h:15: warning: data definition has no type or storage class
init.c:8: error: syntax error before "CallEntries"
init.c:8: warning: type defaults to `int' in declaration of
`CallEntries'
init.c:9: warning: braces around scalar initializer
init.c:9: warning: (near initialization for `CallEntries[0]')
init.c:9: warning: initialization makes integer from pointer without a
cast
init.c:9: error:...
2016 Jan 27
0
symbol name conflict in grDevices on linux
...s) do use the flag.
This results in potential crashes on linux in situations like using
embedded R in another application that happens to export a symbol
named similarly to one defined in R's library, since the runtime
linker substitutes the address of the wrong function into the
library's CallEntries.
Using -fvisibility=hidden or -Wl,-Bsymbolic[-functions] fixes this
since then the addresses of functions in CallEntries are fixed at
library build time, which is probably the intended behaviour.
Here is a small example, using grDevices::colors. I compile it with
gcc -O2 r.c -I/usr/include/R -L...
2003 May 28
0
R_GlobalEnv
...;
static SEXP assignValueToFooInRhoEnv(SEXP Value,SEXP Rho)
{
defineVar(install("Foo"),Value,Rho);
return Value;
}
static SEXP assignValueToFooInR_GlobalEnv(SEXP Value)
{
defineVar(install("Foo"),Value,R_GlobalEnv);
return Value;
}
static const
R_CallMethodDef CallEntries[] = {
{"assignValueToFooInRhoEnv",
(DL_FUNC)&assignValueToFooInRhoEnv,2},
{"assignValueToFooInR_GlobalEnv",
(DL_FUNC)&assignValueToFooInR_GlobalEnv,1},
{NULL,NULL,0}
};
void R_init_testR_GlobalEnv(DllInfo *info)
{
R_registerRoutines(info,NULL,CallEntries,NULL,NU...
2003 Jul 29
1
OpenBSD-alpha and R-1.7.1 problem
...terface to help.
Type `q()' to quit R.
[Previously saved workspace restored]
/var/tmp/R-1.7.1/bin/R.bin: /var/tmp/R-1.7.1/library/ts/libs/ts.so : WARNING: symbol(FortEntries) size mismatch relink your program
/var/tmp/R-1.7.1/bin/R.bin: /var/tmp/R-1.7.1/library/ts/libs/ts.so : WARNING: symbol(CallEntries) size mismatch relink your program
/var/tmp/R-1.7.1/bin/R.bin: /var/tmp/R-1.7.1/library/ts/libs/ts.so : WARNING: symbol(CEntries) size mismatch relink your program
> search()
[1] ".GlobalEnv" "package:methods" "package:ctest" "package:mva"
[5] &...
2008 Aug 29
1
Installing pkgs
...cluded from init.c:6:
threeDplot.h:5:22: error: Rdefines.h: No such file or directory
In file included from init.c:6:
threeDplot.h:9: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
before ?wireframePanelCalculations?
init.c:8: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before
?CallEntries?
init.c:13: error: expected ?)? before ?*? token
make: *** [init.o] Error 1
ERROR: compilation failed for package 'lattice'
** Removing '/usr/lib64/R/library/lattice'
** Restoring previous '/usr/lib64/R/library/lattice'
The installation verbose for "nlme" is quite...
2010 Mar 14
1
Segfault Problem c++ R interface (detailed)
...;
#include <R_ext/Rdynload.h>
void RSymbReg(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP,
SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP);
static R_FortranMethodDef FortEntries[] = {
{NULL, NULL, 0}
};
static R_CMethodDef cEntries[] = {
{NULL, NULL, 0, NULL}
};
static R_CallMethodDef callEntries[] = {
{"RSymbReg", (DL_FUNC) &RSymbReg, 14},
{NULL, NULL, 0}
};
void R_init_testing(DllInfo *info) {
R_registerRoutines(info, cEntries, callEntries, FortEntries, NULL);
}
void R_unload_testing(DllInfo *info)
{
}
!!!!!!!!Makevars:
PKG_CXXFLAGS="-DR_PACKAGE=1"
2)...
2008 May 07
1
[BioC] RCurl loading problem with 64 bit linux distribution
...ncode
mkimpel-m90 ~/bin/curl-7.18.1: nm
/home/mkimpel/R_HOME/site-library-2.7.0/RCurl/libs/RCurl.so | grep
Curl_base64_encode
U Curl_base64_encode
mkimpel-m90 ~/bin/curl-7.18.1: nm
/home/mkimpel/R_HOME/site-library-2.7.0/RCurl/libs/RCurl.so
U CDR
0000000000208aa0 d CallEntries
0000000000208c00 D CurlErrorNames
000000000020aac0 D CurlInfoNames
0000000000209740 D CurlOptionNames
U Curl_base64_decode
U Curl_base64_encode
U INTEGER
U LENGTH
U LOGICAL
000000000020aee8 B OptionMemoryManager...
2008 May 07
1
[BioC] RCurl loading problem with 64 bit linux distribution
...ncode
mkimpel-m90 ~/bin/curl-7.18.1: nm
/home/mkimpel/R_HOME/site-library-2.7.0/RCurl/libs/RCurl.so | grep
Curl_base64_encode
U Curl_base64_encode
mkimpel-m90 ~/bin/curl-7.18.1: nm
/home/mkimpel/R_HOME/site-library-2.7.0/RCurl/libs/RCurl.so
U CDR
0000000000208aa0 d CallEntries
0000000000208c00 D CurlErrorNames
000000000020aac0 D CurlInfoNames
0000000000209740 D CurlOptionNames
U Curl_base64_decode
U Curl_base64_encode
U INTEGER
U LENGTH
U LOGICAL
000000000020aee8 B OptionMemoryManager...
2018 Dec 04
3
patch to support custom HTTP headers in download.file() and url()
...em{\dots}{allow additional arguments to be passed, unused.}
}
\details{
diff --git a/src/library/utils/src/init.c b/src/library/utils/src/init.c
index ebbaf1054a..785347b772 100644
--- a/src/library/utils/src/init.c
+++ b/src/library/utils/src/init.c
@@ -74,9 +74,9 @@ static const R_CallMethodDef CallEntries[] = {
static const R_ExternalMethodDef ExtEntries[] = {
#ifdef Win32
- EXTDEF(download, 6),
+ EXTDEF(download, 7),
#else
- EXTDEF(download, 5),
+ EXTDEF(download, 6),
#endif
EXTDEF(unzip, 7),
EXTDEF(Rprof, 8),
diff --git a/src/library/utils/tests/download.file.R
b/src/lib...