Use
my $command = q`a<-read.table("/usr/local/projects/file")`; print "Running [$command]\n"; $R->send($command);
and
my $file="/usr/local/projects/file"; my $command = q`a<-read.table($file)`; print "Running [$command]\n"; $R->send($command);
to see what happens and what the first cause is. Then look at perlop, especially at the "Quotes and Quote-like operators" to see what causes this behaviour of Perl and what to change.
In reply to Re: Statistics::R question
by Corion
in thread Statistics::R question
by david_lyon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |