[R] Nothing happened when I using t.test throuth RSPerl

zhushanshan sszhu at genetics.ac.cn
Thu Mar 27 10:48:09 CET 2008


Hi,   

I've just started using RSPerl. Though also tests in directory "/usr/local/lib/R/library/RSPerl/tests/" are passed successfully, I meet the problem with the following codes;

use strict;
use warnings;
use R;
use RReferences;

my @array1=1..10;
my @array2=1..39;
&R::initR("--silent");
&R::library("RSPerl");
my $tt=&R::call("t.test", (\@array1, \@array2))
print $tt;


I got the messages:
Can't locate package RFunctionReference for @RReferences::ISA at testR.pl line 4.
Use of uninitialized value in print at testR.pl line 11.

Thanks in advance

Zhu Shanshan



More information about the R-help mailing list