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

From: zhushanshan <sszhu_at_genetics.ac.cn>
Date: Thu, 27 Mar 2008 17:48:09 +0800


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



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. Received on Thu 27 Mar 2008 - 13:36:51 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 27 Mar 2008 - 14:00:24 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive