Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Entire Results from R

by Veltro (Hermit)
on Feb 20, 2019 at 16:31 UTC ( [id://1230264]=note: print w/replies, xml ) Need Help??

in reply to Entire Results from R

Can you try to print the raw result? Maybe this will help to see what is wrong.

my $tmp_str = $R->run(qq`print($varname)`); print $tmp_str . "\n" ;

I got the previous line from the 'get' method of the module Statistics::R which I assume you are using. The 'get' method is doing a whole bunch of other stuff (which may cause the problem), so this line might show the entire result. Another small thing is that you are using @Rres = $R->get('xx'); and the method is returning a array reference. Although it is not entirely incorrect I do suggest using my $Rres = $R->get('xx'); print Dumper($Rres); instead

Further I don't know much about R

edit: Oh, and $varname should be 'datevec' or 'xx' or in this case of course.

Replies are listed 'Best First'.
Re^2: Entire Results from R
by msanchez78 (Initiate) on Feb 20, 2019 at 18:49 UTC
    hi ... thank you for your prompt reply. i tried
    my $tmp_str = $R->run(qq`print($varname)`); print $tmp_str . "\n" ;
    the result is the same --- the first line only:

    Time difference of hours


      I would go in and manually edit this line to 1

      use constant DEBUG => 0; # debugging messages

      And see what you get.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1230264]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-05-21 10:52 GMT
Find Nodes?
    Voting Booth?

    No recent polls found