--with-perl-prefix=<dir>
and --with-perl-lib=<dir>
configuration
flags. The values should give the name of the directory which
is passed as the value of the PREFIX argument and LIB argument
respectively to
perl Makefile.PL PREFIX= LIB=
.
If you want to use the standard Perl location, then use
--with-perl-prefix=
, i.e. with no value specified
for the directory and omit the --with-perl-lib.
If you want specify the directory and use that one exactly as
the value in PERL5LIB, then use --with-perl-lib.
The default is still to install the Perl files into
make -f Makefile.perl installhaving obtained the appropriate permissions, e.g., via sudo or logging in as root or whatever.
convert =
FALSE
in an R function call, the class of the resulting
Perl reference is computed correctly.
<r package install dir>share/lib/perl5/site_perl/
.
R CMD INSTALL
command, by default, support for Perl modules
with C code are not compiled into the R interface. This is
typically not a problem as people usually just call R from Perl.
If you need bi-directional interaction, e.g. with callbacks,
that require
R::sum(
, R::plot()
, etc.
rather than R::call("sum")
.
R::callWithNames(foo, {'x'=>undef});
R CMD INSTALL
command with
the arguments --configure-args='-with-modules=no'.
my_perl
. Pointed out by Steffen Neumann.
setConverter
in Perl and
addConverter()
in R.
[
operator now returns a single value when just one index
is used in specifying the subset. This contrasts with returning
a list with a single element.
$fun = RNamedFunctionReference->new("foo"); $f->(arg1, arg2,...);