http://qs321.pair.com?node_id=1230264


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.