R-beta: Characters in .C

Ian Wilson I.Wilson at qmw.ac.uk
Tue Aug 5 10:54:36 CEST 1997


I am having some difficulties using dynamically loaded
C functions on a Sparc 10 with R compiled
using cc  (both R-0.49 and R-0.50).  I get sporadic errors with the 
error message:
Error: character variables must be duplicated in .C/.Fortran,
with C functions which pass character variables.

my C functions look like:  anyfunc(char **filename, other variables )

This error message appears about 25% of the time.

What is the problem ? 

Ian

Dr Ian Wilson
Dept of Biological Sciences
Queen Mary and Westfield College
Mile End Road
London E1 4NS
Tel: 0171 775 3055
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



More information about the R-help mailing list