Re: [R] How to use a R package with C code

2005-03-19 Thread Sameul M Mwalili
 C function name not in load table means that youe DLL/SO file is not loaded. 
You should use 
 .First.lib - function(lib, pkg)
{
library.dynam(your_pkg_name, pkg, lib)
}

Regads,
Samuel.

Duncan Murdoch [EMAIL PROTECTED] wrote:
On Wed, 9 Mar 2005 18:54:36 -0500, [EMAIL PROTECTED] wrote :


Hello, everybody,

I created a R package which includes C code. But I load this package, and carry
out the R function in it. It shows C function is not in load table as follows.
Would you tell me what is the problem? Where do I make mistake?

You aren't giving enough information for anyone to know that. You
need to tell us exactly what you did to create your package, and what
operating system you're on.

Duncan Murdoch

Maggie



[Previously saved workspace restored]

 library(var)

Attaching package 'var':


 The following object(s) are masked _by_ .GlobalEnv :

 b

 wxt0124()
Error in .C(wxt1221) : C function name not in load table

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


-


[[alternative HTML version deleted]]

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


[R] How to use a R package with C code

2005-03-09 Thread xt_wang

Hello, everybody,

I created a R package which includes C code. But I load this package, and carry
out the R function in it. It shows C function is not in load table as follows.
Would you tell me what is the problem? Where do I make mistake?

Maggie



[Previously saved workspace restored]

 library(var)

Attaching package 'var':


The following object(s) are masked _by_ .GlobalEnv :

 b

 wxt0124()
Error in .C(wxt1221) : C function name not in load table

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] How to use a R package with C code

2005-03-09 Thread Duncan Murdoch
On Wed,  9 Mar 2005 18:54:36 -0500, [EMAIL PROTECTED] wrote :


Hello, everybody,

I created a R package which includes C code. But I load this package, and carry
out the R function in it. It shows C function is not in load table as follows.
Would you tell me what is the problem? Where do I make mistake?

You aren't giving enough information for anyone to know that.  You
need to tell us exactly what you did to create your package, and what
operating system you're on.

Duncan Murdoch

Maggie



[Previously saved workspace restored]

 library(var)

Attaching package 'var':


The following object(s) are masked _by_ .GlobalEnv :

 b

 wxt0124()
Error in .C(wxt1221) : C function name not in load table

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html