Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re^4: Calling R in perl

by blackzero (Acolyte)
on Dec 16, 2012 at 19:26 UTC ( #1009087=note: print w/replies, xml ) Need Help??

in reply to Re^3: Calling R in perl
in thread Calling R in perl

No. Can't run the code you posted.

It returns a simmilar answer:

Can't locate object method "set" via package "Statistics::R" at ./ line 9.

Also, using 'run' in place of 'send' returns the same error:

Can't locate object method "run" via package "Statistics::R" at ./ line #.

May I be running an old version of Statistics::R ?

Whats the right place to download the latest version? Can you put a link?

Replies are listed 'Best First'.
Re^5: Calling R in perl
by frozenwithjoy (Priest) on Dec 16, 2012 at 19:52 UTC
    Ya, I think you must have an old version. You should update it via cpan (or cpanm, etc.).

      Can you help me here?

      I never really used CPAN, so it may be a silly question. Sorry. But when I try to use it with the command "install Statistics::R" it return the following error:

      Failed during this command:  FANGLY/Statistics-R-0.30.tar.gz  : make_test NO

      Any advices about that?

      NOTE: I'm running a Fedora 17 and perl 4:5.14.3-218.fc17, and I ran cpan with "sudo perl -MCPAN -e shell"


      I tried to install it by hand using the commands "make Makefile.PL", "make", "make test", "make install".

      But when I rum "make test". It fails and returns this error message:

      Test Summary Report ------------------- t/08-errors.t (Wstat: 256 Tests: 10 Failed: 1) Failed test: 10 Non-zero exit status: 1 Files=9, Tests=10195, 64 wallclock secs ( 8.93 usr 0.48 sys + 54.43 c +usr 4.36 csys = 68.20 CPU) Result: FAIL Failed 1/9 test programs. 1/10195 subtests failed. make: ** [test_dynamic] Erro 1

        Any advices about that?

        Get more information, run Makefile.PL yourself

        step out of cpan, cpan>look Module and run perl Makefile.PL yourself, and confirm perl -V

        Or the same with cpanp -z Module then perl Makefile.PL ...

        Do you have the prerequisite r-studio?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1009087]
[1nickt]: Ya gotta love the google. If you set accept=".txt" in a form input field where type="file", Chrome will allow you to select local files with extensions like .pl, .pm, .yaml, .ini etc. Nice!

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2017-07-22 18:19 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (340 votes). Check out past polls.