[R] Nothing happened when I using t.test throuth RSPerl
Prof Brian Ripley
ripley at stats.ox.ac.uk
Thu Mar 27 11:14:23 CET 2008
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
More information about the R-help
mailing list