Dear all,
in my package 'stochvol' I have unsuccessfully been trying to make a C
routine called 'sampler' available to be called from other packages' C code.
Following
http://cran.r-project.org/doc/manuals/R-exts.html#Linking-to-native-routines-in-other-packages
I have included
#include
R_init_
Hi again,
On Wed, 22 Jan 2014 06:39:17 -0600
Dirk Eddelbuettel wrote:
| Working examples I know of:
|
|'xts' importing two functions from 'zoo'
|
|'RcppXts' importing approx. ten functions from 'xts'
|
| Maybe by comparing to these you can sort out the missing step at your end.
Th
un(test);
>return R_NilValue;
> }
>
> Note that if you only want the interface between the two packages to be at
> low level (not visible from R), then you don’t need to conform to the
> SEXP(SEXP...) interface. You can use anything you like.
>
> Romain
>
> Le 22 jan
Hi Sandip,
> Sorry for the wrong interpretation. So how to avoid that ? I mean how to
> forcefully make it character vector ?
As indicated by Joshua, ?data.frame will show you the way:
df <- data.frame(gender, age, stringsAsFactors = FALSE)
Best,
/g
___
Hi Evans,
> * checking for file ‘OAR/DESCRIPTION’ ... OK
> * preparing ‘OAR’:
> * checking DESCRIPTION meta-information ... ERROR
> Malformed Depends or Suggests or Imports or Enhances field.
> Offending entries:
> R (>=3.0.2)
> Entries must be names of packages optionally followed by '<=' or '>