Sean,
It sounds like what you want is easily available in 6.2 using the verbose
logging. I think this is one of the better enhancements that Insightful has
made.
You can use the -echo argument to echo the input commands in the output
file, I didn't use the option in this example.
--Matt
"C:\Program Files\Insightful\splus62\Splus.bat" START -cwd c:\temp -input
C:\data_mirror\verboseLoggingExample.SSC -output
C:\data_mirror\verboseLoggingExample.lst -logfile
C:\data_mirror\verboseLoggingExample.log -newwork -newworkparent c:\temp
-echo -quitonerror
Script file: verboseLoggingExample.SSC
x <- rnorm(10)
y <- rnorm(10)
summary(x)
summary(y)
lm(y ~ x)
Output file: verboseLoggingExample.lst
S-PLUS : Copyright (c) 1988, 2003 Insightful Corp.
S : Copyright Lucent Technologies, Inc.
Professional Edition Version 6.2.1 for Microsoft Windows : 2003
Log file will be \\USTO159768\c\data_mirror\verboseLoggingExample.log
Working data will be in c:\temp/Sc000063.tmp
Min. 1st Qu. Median Mean 3rd Qu. Max.
-1.047085 -0.544809 -0.158768 -0.102089 0.247803 1.365685
Min. 1st Qu. Median Mean 3rd Qu. Max.
-2.264685 -0.729039 -0.403332 -0.035455 0.829773 2.248813
Call:
lm(formula = y ~ x)
Coefficients:
(Intercept) x
0.02654706 0.6073312
Degrees of freedom: 10 total; 8 residual
Residual standard error: 1.425213
Log file: verboseLoggingExample.log
Start: S-PLUS Version 6.2 for WIN386 started at Tue Aug 17 19:56:32 2004
Note: User=maustin Machine=USTO159768 Directory=\\USTO159768\c\TEMP
Note: S-PLUS is installed in directory \\USTO159768\c\Program
Files\Insightful\splus62
Note: Input file is \\USTO159768\c\data_mirror\verboseLoggingExample.SSC
Note: Output file is \\USTO159768\c\data_mirror\verboseLoggingExample.lst
Parsing: \\USTO159768\c\PROGRAM FILES\INSIGHTFUL\splus62\S.init
Data: Attaching directory \\USTO159768\c\temp\Sc000063.tmp\.Data in
position 1 with name c:\temp/Sc000063.tmp
Data: Attaching directory \\USTO159768\c\Program
Files\Insightful\splus62\library\nlme3\.Data in position 6 with name
nlme3
Data: Attaching directory \\USTO159768\c\Program
Files\Insightful\splus62\library\menu\.Data in position 7 with name
menu
Data: Attaching directory \\USTO159768\c\Program
Files\Insightful\splus62\library\sgui\.Data in position 8 with name
sgui
Time: Task #1 succeeded (Seconds = 0.75 CPU, 5.598 elapsed)
Parsing: \\USTO159768\c\Program Files\Insightful\splus62\S.init
Note: .Random.seed <- c(41, 36, 17, 56, 0, 1, 22, 46, 4, 0, 36, 2)
Data: Current search path is
1 c:\temp/Sc000063.tmp \\USTO159768\c\temp\Sc000063.tmp
2 splus \\USTO159768\c\Program
Files\Insightful\splus62\library\splus
3 stat \\USTO159768\c\Program Files\Insightful\splus62\library\stat
4 data \\USTO159768\c\Program Files\Insightful\splus62\library\data
5 trellis \\USTO159768\c\Program
Files\Insightful\splus62\library\trellis
6 nlme3 \\USTO159768\c\Program
Files\Insightful\splus62\library\nlme3
7 menu \\USTO159768\c\Program Files\Insightful\splus62\library\menu
8 sgui \\USTO159768\c\Program Files\Insightful\splus62\library\sgui
9 main \\USTO159768\c\Program Files\Insightful\splus62\library\main
Parsing: \\USTO159768\c\DATA_MIRROR\VERBOSELOGGINGEXAMPLE.SSC
1: x <- rnorm(10)
Time: Task done (Seconds = 0.01 CPU, 0.01 elapsed)
2: y <- rnorm(10)
Time: Task done (Seconds = 0.01 CPU, 0.01 elapsed)
3:
Time: Task done (Seconds = 0 CPU, 0 elapsed)
4: summary(x)
Time: Task done (Seconds = 0.06 CPU, 0.06 elapsed)
5: summary(y)
Time: Task done (Seconds = 0.03 CPU, 0.03 elapsed)
6:
Time: Task done (Seconds = 0 CPU, 0 elapsed)
7: lm(y ~ x)
Time: Task done (Seconds = 0.08 CPU, 0.08 elapsed)
8:
Time: Task done (Seconds = 0 CPU, 0 elapsed)
Note: Removing temporary chapter c:\temp/Sc000063.tmp
Note: There were 0 errors and 0 warnings in this session
Time: Session done (Seconds = 3.154 CPU, 8.903 elapsed)
Quit: End session at Tue Aug 17 19:56:41 2004
-----Original Message-----
From: s-news-owner@lists.biostat.wustl.edu
[mailto:s-news-owner@lists.biostat.wustl.edu]On Behalf Of fu_xin
Sent: Tuesday, August 17, 2004 18:22 PM
To: s-news@lists.biostat.wustl.edu
Subject: [S]a question about Splus output
Dear all,
I am using SPLUS 6.1, I have a question about SPLUS output.
In splus the log and program result are always together in output. Is it
possible to separate
the log and the program result such that we can easily edit the result?
Would someone here give me a hand? Thanks for advice!!
regards
Sean
--------------------------------------------------------------------
This message was distributed by s-news@lists.biostat.wustl.edu. To
unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
the BODY of the message: unsubscribe s-news
-----Original Message-----
From: s-news-owner@lists.biostat.wustl.edu
[mailto:s-news-owner@lists.biostat.wustl.edu]On Behalf Of fu_xin
Sent: Tuesday, August 17, 2004 18:22 PM
To: s-news@lists.biostat.wustl.edu
Subject: [S]a question about Splus output
Dear all,
I am using SPLUS 6.1, I have a question about SPLUS output.
In splus the log and program result are always together in output. Is it
possible to separate
the log and the program result such that we can easily edit the result?
Would someone here give me a hand? Thanks for advice!!
regards
Sean
--------------------------------------------------------------------
This message was distributed by s-news@lists.biostat.wustl.edu. To
unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
the BODY of the message: unsubscribe s-news
|