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 | |
by Your Mother (Archbishop) on Feb 20, 2019 at 22:13 UTC |
In Section
Seekers of Perl Wisdom