[R] S-Plus compatability...
mdeasnds at fs1.ser.man.ac.uk
Wed Jan 15 17:06:03 CET 2003
I was wondering if someone could point me in the right direction to
solve a problem I've encountered.
I have a set of S-plus scripts which call an external program to
analyse the data (the external program is called Genehunter and is
used for genetic analysis). There are a six scripts in total, five of
which are called from the main script. I made a few changes like
changing unix > system, but I've encountered an error problem I'm
not sure how to resolve.
The majority of the script appears to run fine, the external program
is invoked okay, and it runs the analysis, however I get the error
Error in scan(file = file, what = what, sep = sep, quote = quote, dec
= dec :
line 1 did not have 2 elements
Using the traceback() command produces a list of eight
commands, the eighth being the one that causes the error.
I've used grep -e 'scan' *.SSC to search the files for the scan
command that might be creating the problem, but there is only one
instance of scan in any of the six files, but the line it is on does not
have the same syntax as the eigth line reported by traceback() that
causes the error.
I can provide the scripts if required, but have not included them
here as this msg is going to a list.
I'm not much of an expert with S-plus or R, and any help would be
Thanks in advance,
ARC Epidemiology Unit, University of Manchester
neil.shephard at man.ac.uk
neil.shephard at mindless.com
"Contrariwise, if it was so, it might be; and if it
were so it would be; but as it isn't, it ain't. That's
logic" - Tweedledee (Alice Through the Looking Glass)
More information about the R-help