[S] For() under Windows

Steve Edland (edland@u.washington.edu)
Wed, 17 Jun 1998 16:04:57 -0700 (PDT)


I am having trouble using For loops in Splus version 4.0 under windows
95.

1. using For() creates a source file, but does not run it.

2. using source(For()) runs the For loop, but after running this Splus
is no longer responsive -- no matter what I type I either get no
response or error messages.

An example follows.

Could someone please direct me to the appropriate documentation for
running a For loop under windows, or suggest a work-around.

Thanks in advance for any help,
Steve Edland
Alzheimer's Disease Research Center
University of Washington

EXAMPLE:

> x_rep(NA, 10)
> For(i=1:10,x[i]_i)
[1] "It5793A8.tmp"
> source(For(i=1:10,x[i]_i))
> 7-5
> x
> source(For(i=1:10,x[i]_i))
Warning messages:
".Steps" assigned on database 1 but hidden by an object of the same name on database 0 in: assign(".Steps", steps, w = 1,
immediate = T)
>
(try hitting <ESC> key:)
>
User interrupt requested
Error in parse(): Error returned by S_AXUM_getinput
Dumped
S_apiParseTest failure
>
> x
S_apiParseTest failure
> x
Warning: eval initialized twice
> x
S_apiParseTest failure
> x
Warning: eval initialized twice
>

-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news