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


Re: [R] How to generate labels or names?

2005-01-28 Thread Sameul M Mwalili
Dear Eric,
try something like
 
N - 20
paste(Lab,1:N,sep=)


Regards,
Samuel.
 
 
 

Eric Rodriguez [EMAIL PROTECTED] wrote:
Hi,

I'm new to R and I would like to generate labels like data.frame does
: V1 V2 V3
I'm trying to generate a N vector with label such as Lab1 Lab2 ... LabN.

I guess this is pretty easy when you know R ;)

Thanks for help

Eric

__
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] Compilation of R code

2005-01-07 Thread Sameul M Mwalili
Dear ALL,
In order to install the Rice R to C compiler (RCC) you need to patch the R 
source code. However, the patch command at DOS prompt returns an error:  patch 
is not recognized as internal or external command. How do you patch in DOS (or 
Windows)?

Regards,

Samuel.

__



[[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