[R] inner_perc_table?

William Dunlap wdunlap at tibco.com
Thu May 24 19:31:31 CEST 2012


You need to supply a character string, e.g., "inner_perc_table", that names
the C entry point.  If you supply a name, e.g., entry_point,  or a more general expression,
e.g, entry_points[j], then it will be evaluated with the usual R evaluation
rules and the result must be a character string.

  > getNativeSymbolInfo("inner_perc_table")
  $name
  [1] "inner_perc_table" 

  $address
  <pointer: 0x000000006b1cb650>
  attr(,"class")
  [1] "NativeSymbol"

  $package
  DLL name: nlme
  Filename: c:/Program Files/R/R-2.15.0/library/nlme/libs/x64/nlme.dll
  Dynamic lookup: FALSE

  $numParameters
  [1] 6

  attr(,"class")
  [1] "CRoutine"         "NativeSymbolInfo"

or
  > entry_point <- "inner_perc_table"
  > entry_points <- c("outer_perc_table", "inner_perc_table")
  > identical(getNativeSymbolInfo(entry_point), getNativeSymbolInfo("inner_perc_table"))
  [1] TRUE
  > identical(getNativeSymbolInfo(entry_points[2]), getNativeSymbolInfo("inner_perc_table"))
  [1] TRUE

Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf
> Of Charles Determan Jr
> Sent: Thursday, May 24, 2012 10:02 AM
> To: Duncan Murdoch
> Cc: r-help at r-project.org
> Subject: Re: [R] inner_perc_table?
> 
> Thank you Duncan,
> 
> I used the R function getNativeSymbolInfo(inner_perc_table) and the object
> is not found:
> 
> Error in is.vector(X) : object 'inner_perc_table' not found
> Done.
> 
> I also tried the defining the directory to the nlme.dll file and it had the
> same error.
> Is there something I missed while doing this?
> 
> Thanks,
> Charles
> 
> 
> On Thu, May 24, 2012 at 11:51 AM, Duncan Murdoch
> <murdoch.duncan at gmail.com>wrote:
> 
> > On 24/05/2012 11:35 AM, Charles Determan Jr wrote:
> >
> >> Hello,
> >>
> >> Does anyone on this list know what inner_perc_table is or where it is
> >> typically found?  I am trying to modify some source code and it is used
> >> with the .C() function.  When I try and run it, it states that
> >> 'inner_perc_table is not found'.  It is only called in such a way and
> >> isn't
> >> defined at any point in the previous code in which the function works.
> >> Should this be in some other directory of the source code files?  I have
> >> been scouring through them and have continue to come up empty.
> >>
> >
> > Look for the C function R_registerRoutines and/or the R function
> > getNativeSymbolInfo.
> >
> > Duncan Murdoch
> >
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list