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

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Thu, 27 Mar 2008 10:14:23 +0000 (GMT)

That is a *Perl* error, and my guess is that you haven't set your environment variables correctly. R was not even started.

RSPerl is an Omegahat package, and as the Omegahat mailing lists were down (last time I looked) I suggest you contact the author. The R posting guide asks that non-R programming questions are not sent here (to R-devel, if an R list is appropriate).

On Thu, 27 Mar 2008, zhushanshan wrote:

> 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.
>

-- 
Brian D. Ripley,                  ripley_at_stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
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:59:18 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:30: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