| Colleagues,
I would like to confirm which version of Splus is being called. With R, the command-line command "R -- version" returns "R version 2.6.0 (2007-10-03)" As far as I can tell, there is nothing directly comparable in Splus.
Once I open Splus, I can type: "version", which returns "Version 8.0.4 for Linux 2.4.21, 32-bit : 2007" and "version$major" yields 8.
My question is - how can I get this information to the operating system. I could write the info to a file; however, I prefer to pass the info in some way as an environment variable that I can access from the OS, e.g., %S_VERSION_MAJOR% in Windows or $S_VERSION_MAJOR in Linux.
Any ideas how this be accomplished (other than writing to a file)?
Dennis
Dennis Fisher MD P < (The "P Less Than" Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-415-564-2220 www.PLessThan.com |