From: Dawn W. <dwo...@in...> - 2007-09-19 14:40:39
|
Elsewhere the R2WinBUGS code uses "substring" instead of "substr", which works in S-PLUS for Windows; we should be able to use it in place of = substr in bugs.run, sort.name, winedriveMap and winedriveTr. The arguments = "start" and "stop" in substr are called "first" and "last" in substring. See = the help file in R for more info. Thanks, Dawn -----Original Message----- From: bug...@li... [mailto:bug...@li...] On Behalf Of Dawn = Woodard Sent: Tuesday, September 18, 2007 10:49 AM To: gre...@bf...; Uwe Ligges Cc: bug...@li... Subject: Re: [Bugs-r-devel] SF.net SVN: bugs-r: [66] trunk/R2WinBUGS/R That's right, S-PLUS 8.0.4 on Windows does not have a substr function. Thank you, Dawn -----Original Message----- From: Gregor Gorjanc [mailto:gre...@bf...]=20 Sent: Tuesday, September 18, 2007 11:47 AM To: Uwe Ligges Cc: bug...@li...; Dawn Woodard Subject: Re: [Bugs-r-devel] SF.net SVN: bugs-r: [66] trunk/R2WinBUGS/R Uwe Ligges wrote: ... >>> Is there a good reason for making this code less secure? >> S-PLUS, does not have arguments (I do not know why) in substr and it >> fails with "secure version". >=20 > I see, thanks! My Windows version of S-PLUS does not have substr() at > all, hence I thought yours would not have as well. S-PLUS seems to = have > a lot differences between operating systems. Huh :( Dawn, are our observations correct? Gregor -------------------------------------------------------------------------= This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bugs-r-devel mailing list Bug...@li... https://lists.sourceforge.net/lists/listinfo/bugs-r-devel |