Re: [R] conversion of data structure between R and Perl

2008-08-27 Thread Rolf Turner
You need to do: system("perl presentPerformance.pl",intern=TRUE) It does pay to read the help, you know. cheers, Rolf Turner On 28/08/2008, at 8:36 AM, kevinchang wrote: Dear R users, I am trying to call a Perl subroutine from R . T

[R] conversion of data structure between R and Perl

2008-08-27 Thread kevinchang
Dear R users, I am trying to call a Perl subroutine from R . The subroutine returns an arrray contaning three elements wihch are all strings. But the calling in R return an integer which is 0. I have no idea how this could happen. Maybe becasue I shouldn't use system() in R or I should load a pa