david_lyon has asked for the wisdom of the Perl Monks concerning the following question:
Hello Perl Monks
Statistics::R questions
this works:
$R->send(q`a<-read.table("/usr/local/projects/file")`);
this doesnt work:
$file="/usr/local/projects/file"; $R->send(q`a<-read.table($file)`);
Does anybody know how I get the above working?
Many Thanks Perl Monks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Statistics::R question
by Corion (Patriarch) on Apr 06, 2011 at 11:04 UTC | |
by david_lyon (Sexton) on Apr 06, 2011 at 13:49 UTC | |
|
Re: Statistics::R question
by wind (Priest) on Apr 07, 2011 at 01:08 UTC | |
by david_lyon (Sexton) on Apr 08, 2011 at 00:34 UTC |