[Rd] Trailing message on R CMD BATCH

2007-01-10 Thread Brian Ripley
Unix versions of R CMD BATCH have reported proc.time() unless the script 
ends in q().  E.g. if the input is 'search()' the output is

> invisible(options(echo = TRUE))
> search()
[1] ".GlobalEnv""package:stats" "package:graphics"
[4] "package:grDevices" "package:utils" "package:datasets"
[7] "package:methods"   "Autoloads" "package:base"
>
> proc.time()
[1] 1.053 0.067 1.109 0.000 0.000
>

This was undocumented, and not shared by the Windows version.

Is it useful?
Do people want it retained?

-- 
Brian D. Ripley,  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel:  +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UKFax:  +44 1865 272595

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Trailing message on R CMD BATCH

2007-01-10 Thread Patrick Burns
I rather like it.

Patrick Burns
[EMAIL PROTECTED]
+44 (0)20 8525 0696
http://www.burns-stat.com
(home of S Poetry and "A Guide for the Unwilling S User")

Brian Ripley wrote:

>Unix versions of R CMD BATCH have reported proc.time() unless the script 
>ends in q().  E.g. if the input is 'search()' the output is
>
>  
>
>>invisible(options(echo = TRUE))
>>search()
>>
>>
>[1] ".GlobalEnv""package:stats" "package:graphics"
>[4] "package:grDevices" "package:utils" "package:datasets"
>[7] "package:methods"   "Autoloads" "package:base"
>  
>
>>proc.time()
>>
>>
>[1] 1.053 0.067 1.109 0.000 0.000
>  
>
>
>This was undocumented, and not shared by the Windows version.
>
>Is it useful?
>Do people want it retained?
>
>  
>

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Trailing message on R CMD BATCH

2007-01-10 Thread Roger D. Peng
I do find the timing useful and would prefer it to be retained unless it causes 
a problem elsewhere.

-roger

Brian Ripley wrote:
> Unix versions of R CMD BATCH have reported proc.time() unless the script 
> ends in q().  E.g. if the input is 'search()' the output is
> 
>> invisible(options(echo = TRUE))
>> search()
> [1] ".GlobalEnv""package:stats" "package:graphics"
> [4] "package:grDevices" "package:utils" "package:datasets"
> [7] "package:methods"   "Autoloads" "package:base"
>> proc.time()
> [1] 1.053 0.067 1.109 0.000 0.000
> 
> This was undocumented, and not shared by the Windows version.
> 
> Is it useful?
> Do people want it retained?
> 

-- 
Roger D. Peng  |  http://www.biostat.jhsph.edu/~rpeng/

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Trailing message on R CMD BATCH

2007-01-10 Thread Kasper Daniel Hansen
I use it a lot.

Kasper

On Jan 10, 2007, at 5:06 AM, Brian Ripley wrote:

> Unix versions of R CMD BATCH have reported proc.time() unless the  
> script
> ends in q().  E.g. if the input is 'search()' the output is
>
>> invisible(options(echo = TRUE))
>> search()
> [1] ".GlobalEnv""package:stats" "package:graphics"
> [4] "package:grDevices" "package:utils" "package:datasets"
> [7] "package:methods"   "Autoloads" "package:base"
>>
>> proc.time()
> [1] 1.053 0.067 1.109 0.000 0.000
>>
>
> This was undocumented, and not shared by the Windows version.
>
> Is it useful?
> Do people want it retained?
>
> -- 
> Brian D. Ripley,  [EMAIL PROTECTED]
> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
> University of Oxford, Tel:  +44 1865 272861 (self)
> 1 South Parks Road, +44 1865 272866 (PA)
> Oxford OX1 3TG, UKFax:  +44 1865 272595
>
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Trailing message on R CMD BATCH

2007-01-10 Thread Benilton Carvalho
I do find that info to be useful and would very much appreciate if it is 
kept.

b

Brian Ripley wrote:
> Unix versions of R CMD BATCH have reported proc.time() unless the script
> ends in q().  E.g. if the input is 'search()' the output is
>
>> invisible(options(echo = TRUE))
>> search()
> [1] ".GlobalEnv""package:stats" "package:graphics"
> [4] "package:grDevices" "package:utils" "package:datasets"
> [7] "package:methods"   "Autoloads" "package:base"
>> proc.time()
> [1] 1.053 0.067 1.109 0.000 0.000
>
> This was undocumented, and not shared by the Windows version.
>
> Is it useful?
> Do people want it retained?
>

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] wine and build difference between R.2.4.0 and R 2.4.1 windows binaries?

2007-01-10 Thread Hin-Tak Leung
Does anybody (most probably the core team) know if there is
any difference in how the official 2.4.0 and 2.4.1 binaries are
built?

Problem is, 2.4.0 loads with the wine (I tried a few recent
versions, and also used 2.3.x under wine from time to time),
but 2.4.1 won't.

Thanks.

Hin-Tak Leung

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] wine and build difference between R.2.4.0 and R 2.4.1 windows binaries?

2007-01-10 Thread Duncan Murdoch
On 1/10/2007 2:29 PM, Hin-Tak Leung wrote:
> Does anybody (most probably the core team) know if there is
> any difference in how the official 2.4.0 and 2.4.1 binaries are
> built?
> 
> Problem is, 2.4.0 loads with the wine (I tried a few recent
> versions, and also used 2.3.x under wine from time to time),
> but 2.4.1 won't.

Yes, there were changes to the MinGW run-time library between those two 
releases.  See http://www.murdoch-sutherland.com/Rtools/.

If you can be more specific about the problem, it's possible the Wine or 
MinGW people could fix it.

Duncan Murdoch

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Trailing message on R CMD BATCH

2007-01-10 Thread Gregor Gorjanc
Brian Ripley  stats.ox.ac.uk> writes:
> Unix versions of R CMD BATCH have reported proc.time() unless the script 
> ends in q().  E.g. if the input is 'search()' the output is
> 
> > invisible(options(echo = TRUE))
> > search()
> [1] ".GlobalEnv""package:stats" "package:graphics"
> [4] "package:grDevices" "package:utils" "package:datasets"
> [7] "package:methods"   "Autoloads" "package:base"
> >
> > proc.time()
> [1] 1.053 0.067 1.109 0.000 0.000
> >

I did not notice that this is only for unix version of R CMD BATCH. Since 
R CMD BATCH is prefered way to run things in background and usually for longer
time it is good to have this info. I would suggest to add this also in Windows
version.

Gregor

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] Compiling R-devel under Windows

2007-01-10 Thread apjaworski
Hello there,

I have a habit of compiling R-patched and R-devel every few days.
Recently, I noticed the following problem:

I downloaded both versions with Revision: 40421, Last Changed Date:
2007-01-09.  R-patched compiles with no problem.  R-devel compiles fine but
when it starts to make PDF documentation it generates the following (tail
of the "make distribution" output):

! pdfTeX warning (dest): name{Rfn.survival} has been referenced but does
not ex
ist, replaced by a fixed one

{8r.enc}

Output written on refman.pdf (1447 pages, 6487470 bytes).
Transcript written on refman.log.
make[2]: *** [refman.pdf] Error 1
make[1]: *** [manuals] Error 2
make[1]: Leaving directory `/home/andyj/R-devel/src/gnuwin32'
make: *** [distribution] Error 2

It looks like the first version of refman.pdf gets generated fine and
something happens when it needs to run makeindex.  I tried to look at the
Makefile.win in doc/manuals but I cannot see anything obvious there.  In
any case, the makefiles are quite elabortae and interlinekd, so I probably
would not know how to fix them.

I am on Win2000.  I compile R using the Cygwin environment, but I have
MinGW installed and its executables are first on the search path.  I am
using MiKTeX and it is up-to-date.

Thanks in advance,

Andy

PS.  I seem to remember that this happened already a few versions ago.


__
Andy Jaworski
518-1-01
Process Laboratory
3M Corporate Research Laboratory
-
E-mail: [EMAIL PROTECTED]
Tel:  (651) 733-6092
Fax:  (651) 736-3122

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Compiling R-devel under Windows

2007-01-10 Thread Prof Brian Ripley
You have an old snapshot.  R-devel r40430 seems fine.

You could have looked at the refman.log for informative output (no need to 
speculate: it was a help file that was provisional at the time).  Please 
don't expect all aspects of R-devel to work on all platforms at all times: 
It is

R version 2.5.0 Under development (unstable)


On Wed, 10 Jan 2007, [EMAIL PROTECTED] wrote:

> Hello there,
>
> I have a habit of compiling R-patched and R-devel every few days.
> Recently, I noticed the following problem:
>
> I downloaded both versions with Revision: 40421, Last Changed Date:
> 2007-01-09.  R-patched compiles with no problem.  R-devel compiles fine but
> when it starts to make PDF documentation it generates the following (tail
> of the "make distribution" output):
>
> ! pdfTeX warning (dest): name{Rfn.survival} has been referenced but does
> not ex
> ist, replaced by a fixed one
>
> {8r.enc} ts/type1/urw/times/utmbi8a.pfb> pfb> ype1/bluesky/cm/cmmib10.pfb> :/local/MiKTeX/fonts/type1/urw/courier/ucrro8a.pfb> /bluesky/cm/cmmi5.pfb> l/MiKTeX/fonts/type1/bluesky/cm/cmex10.pfb> /cm/cmmi7.pfb> X/fonts/type1/bluesky/cm/cmsy7.pfb> 10.pfb> s/type1/urw/times/utmri8a.pfb> fb> ype1/urw/times/utmr8a.pfb>
>  urw/times/utmb8a.pfb>
> Output written on refman.pdf (1447 pages, 6487470 bytes).
> Transcript written on refman.log.
> make[2]: *** [refman.pdf] Error 1
> make[1]: *** [manuals] Error 2
> make[1]: Leaving directory `/home/andyj/R-devel/src/gnuwin32'
> make: *** [distribution] Error 2
>
> It looks like the first version of refman.pdf gets generated fine and
> something happens when it needs to run makeindex.  I tried to look at the
> Makefile.win in doc/manuals but I cannot see anything obvious there.  In
> any case, the makefiles are quite elabortae and interlinekd, so I probably
> would not know how to fix them.
>
> I am on Win2000.  I compile R using the Cygwin environment, but I have
> MinGW installed and its executables are first on the search path.  I am
> using MiKTeX and it is up-to-date.
>
> Thanks in advance,
>
> Andy
>
> PS.  I seem to remember that this happened already a few versions ago.

-- 
Brian D. Ripley,  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel:  +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UKFax:  +44 1865 272595

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] Perhaps a stupid question about clipboards....

2007-01-10 Thread Byron Ellis
I have a stupid question. Why is the clipboard accessed through file()
and not, say, a clipboard() connection? Is there a good reason for
this or is it simply historical?

-- 
Byron Ellis ([EMAIL PROTECTED])
"Oook" -- The Librarian

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] Installation on CYGWIN Failed (PR#9442)

2007-01-10 Thread mniu
This is a multi-part message in MIME format.

--Boundary_(ID_0J8TMtVXSg+LJn2Si9guUw)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT

Hi,

 

I tried to install R-2.4.1 on cygwin system. "./configure" succeeded, but
make failed. Below, I provide the output from the process: error message,
and info from configure output, in that order. I appreciate that someone can
guide me (technically in-sophisticated) through this process.

 

Again, thanks for your help.

 

Michael Niu

 

(1). Output from make

 

make[3]: Entering directory `/R/R-2.4.1/src/extra/blas'

make[4]: Entering directory `/R/R-2.4.1/src/extra/blas'

g77 -D__NO_MATH_INLINES -fpic  -g -O2 -c blas.f -o blas.o

blas.f:0: warning: -fpic ignored for target (all code is position
independent)

g77 -D__NO_MATH_INLINES -fpic  -g -O2 -c cmplxblas.f -o cmplxblas.o

cmplxblas.f:0: warning: -fpic ignored for target (all code is position
independent)

gcc -std=gnu99 -shared -L/usr/local/lib -o libRblas.so blas.o   cmplxblas.o

blas.o: In function `dgbmv_':

/R/R-2.4.1/src/extra/blas/blas.f:357: undefined reference to `_xerbla_'

blas.o: In function `dgemm_':

/R/R-2.4.1/src/extra/blas/blas.f:682: undefined reference to `_xerbla_'

blas.o: In function `dgemv_':

/R/R-2.4.1/src/extra/blas/blas.f:940: undefined reference to `_xerbla_'

blas.o: In function `dger_':

/R/R-2.4.1/src/extra/blas/blas.f:1171: undefined reference to `_xerbla_'

blas.o: In function `dsbmv_':

/R/R-2.4.1/src/extra/blas/blas.f:1800: undefined reference to `_xerbla_'

blas.o:/R/R-2.4.1/src/extra/blas/blas.f:2183: more undefined references to
`_xerbla_' follow

cmplxblas.o: In function `zrotg_':

/R/R-2.4.1/src/extra/blas/cmplxblas.f:5579: undefined reference to `_z_abs'

/R/R-2.4.1/src/extra/blas/cmplxblas.f:5585: undefined reference to `_z_abs'

/R/R-2.4.1/src/extra/blas/cmplxblas.f:5585: undefined reference to `_z_abs'

/R/R-2.4.1/src/extra/blas/cmplxblas.f:5586: undefined reference to `_z_abs'

/R/R-2.4.1/src/extra/blas/cmplxblas.f:5586: undefined reference to `_z_abs'

cmplxblas.o:/R/R-2.4.1/src/extra/blas/cmplxblas.f:5588: more undefined
references to `_z_abs' follow

cmplxblas.o: In function `zsymm_':

/R/R-2.4.1/src/extra/blas/cmplxblas.f:5778: undefined reference to
`_xerbla_'

cmplxblas.o: In function `zsyr2k_':

/R/R-2.4.1/src/extra/blas/cmplxblas.f:6071: undefined reference to
`_xerbla_'

cmplxblas.o: In function `zsyrk_':

/R/R-2.4.1/src/extra/blas/cmplxblas.f:6376: undefined reference to
`_xerbla_'

cmplxblas.o: In function `ztbmv_':

/R/R-2.4.1/src/extra/blas/cmplxblas.f:6684: undefined reference to
`_xerbla_'

cmplxblas.o: In function `ztbsv_':

/R/R-2.4.1/src/extra/blas/cmplxblas.f:7065: undefined reference to
`_xerbla_'

cmplxblas.o:/R/R-2.4.1/src/extra/blas/cmplxblas.f:7398: more undefined
references to `_xerbla_' fol

ow

collect2: ld returned 1 exit status

make[4]: *** [libRblas.so] Error 1

make[4]: Leaving directory `/R/R-2.4.1/src/extra/blas'

make[3]: *** [R] Error 2

make[3]: Leaving directory `/R/R-2.4.1/src/extra/blas'

make[2]: *** [R] Error 1

make[2]: Leaving directory `/R/R-2.4.1/src/extra'

make[1]: *** [R] Error 1

make[1]: Leaving directory `/R/R-2.4.1/src'

make: *** [R] Error 1

 

(2). Output from configure

 

uname -m = i686

uname -r = 1.5.19(0.150/4/2) 

uname -s = CYGWIN_NT-5.1

uname -v = 2006-01-20 13:28

 

/usr/bin/uname -p = unknown

/bin/uname -X = unknown

 

/bin/arch  = unknown

/usr/bin/arch -k   = unknown

/usr/convex/getsysinfo = unknown

hostinfo   = unknown

/bin/machine   = unknown

/usr/bin/oslevel   = unknown

/bin/universe  = unknown

 

PATH: .

PATH: /usr/bin

PATH: /usr/lib/lapack/

PATH: /usr/X11R6

PATH: /home/zniu/bin

PATH: ${PATH}

PATH:  /.

PATH:  ${HOME}/bin

PATH:  x

PATH: /cygwin/bin

 

.

 

configure: exit 0

 

R is now configured for i686-pc-cygwin

 

  Source directory:  .

  Installation directory:/usr/local

 

  C compiler:gcc -std=gnu99 -D__NO_MATH_INLINES -g -O2

  Fortran 77 compiler:   g77  -g -O2

 

  C++ compiler:  g++  -g -O2

  Fortran 90/95 compiler:g77 -g -O2

 

  Interfaces supported:  X11

  External libraries:readline

  Additional capabilities:   PNG, JPEG, iconv, MBCS, NLS

  Options enabled:   shared BLAS, R profiling

 

  Recommended packages:  yes

 

 


--Boundary_(ID_0J8TMtVXSg+LJn2Si9guUw)
Content-type: text/html; charset=us-ascii
Content-transfer-encoding: 7BIT

http://www.w3.org/TR/REC-html40";>