s-news
[Top] [All Lists]

generating function arguments as string

To: s-news@lists.biostat.wustl.edu
Subject: generating function arguments as string
From: Ronan.Bradley@ILIM.COM
Date: Mon, 19 Jul 2004 13:55:48 +0100
Hi,

I am using Splus 6 with Windows NT (soon to be migrating to XP). I want to
find a way of storing my exact function call as a string. For instance if my
function is like so

f.test(x,y=6)
{
 return(x*y)
}

I want a way of generating "x=2, y=6" when I call f.test(x=2)? I want to do
this so I can attach the details of the function call to the output of
functions so I know exactly how they were generated. I don't think I can
using the "..." form in my functions because alot of the arguements are
supplied by default much in the same way that y=6 is specified in the
function call above.

Regards,
Ronan Bradley




**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept 
for the presence of computer viruses.
**********************************************************************


<Prev in Thread] Current Thread [Next in Thread>