[R] Problem with Perl script calling R function
ramagopa at etek.chalmers.se
Wed Oct 20 12:18:50 CEST 2004
read.flow is defined in another file (in my case its called 'SNet',
without any extensions) in another directory.
The perl script is located in /usr/lib/R/library/SNet/exec/. This
directory is in my PATH.
The SNet file is in /usr/lib/R/library/SNet/R/.
> It seems that read.flow is not present. Perhaps it is in another
> library that needs to be loaded? I've not used S-Net or R-1.4.1,
> On Oct 20, 2004, at 4:16 AM, Sivakumar Ramagopal wrote:
>> I'm a student doing my masters thesis and trying to work with S-Net
>> version 1.0 (tool used for statistical analysis and visualizations of
>> internet traffic) that is written in R.
>> The problem is this: I have a perl script calling a function defined
>> in an
>> R script that is located in a directly different from where the perl
>> script is. This gives the following error.
>> 'read.flow("BLDemo.2000.03.08.h12.m30.35.tcppac.gz",type="tcppac")' |
>> /cab/ce/user/ramagopa/lib/bin/R --no-save --no-restore --quiet --slave
>> Error: couldn't find function "read.flow"
>> Execution halted
>> Platform details:
>> R-1.4.1 (I have to use this version because the version of SNet
>> only this).
>> Could someone help me out with this problem? Additionally, I'd really
>> appreciate it if someone can point me to an SNet mailing list; I
>> found one on the web.
>> R-help at stat.math.ethz.ch mailing list
>> PLEASE do read the posting guide!
More information about the R-help