Re: [Rd] unexpected '[<-.data.frame' result

2005-10-26 Thread Charles C. Berry
On Wed, 26 Oct 2005, Peter Dalgaard wrote: > "Charles C. Berry" <[EMAIL PROTECTED]> writes: > >> Is this a bug? >> >> If not, I am curious to know why '[<-.data.frame' was designed to yield >> a.frame$y != a.frame$z rather than refusing to carry out the operation at >> all. >> >>> a.frame <- data.

Re: [Rd] strptime problem for 2004-10-03 02:00:00

2005-10-26 Thread Michael Sumner
Great. Thanks for confirmation. Cheers, Mike. Message: 16 Date: Tue, 25 Oct 2005 21:33:54 +0100 (BST) From: Prof Brian Ripley <[EMAIL PROTECTED]> Subject: Re: [Rd] strptime problem for 2004-10-03 02:00:00 To

Re: [Rd] Borland C++ and [R] dyn.load() for windows

2005-10-26 Thread Prof Brian Ripley
On Wed, 26 Oct 2005, huanyu zhou wrote: > Hi, > I compiled a C program file on Borland C++ 5.5 compiler to get one dll output > (as instructed in the file readme.package). > The C program file is just the example on page 31 of "writing R extensions": > > void convolve(double *a, int *na, double *b

[Rd] Borland C++ and [R] dyn.load() for windows

2005-10-26 Thread huanyu zhou
Hi, I compiled a C program file on Borland C++ 5.5 compiler to get one dll output (as instructed in the file readme.package). The C program file is just the example on page 31 of "writing R extensions": void convolve(double *a, int *na, double *b, int *nb, double *ab) { int i, j, nab = *na + *n

Re: [Rd] unexpected '[<-.data.frame' result

2005-10-26 Thread Peter Dalgaard
"Charles C. Berry" <[EMAIL PROTECTED]> writes: > Is this a bug? > > If not, I am curious to know why '[<-.data.frame' was designed to yield > a.frame$y != a.frame$z rather than refusing to carry out the operation at > all. > > > a.frame <- data.frame( x=letters[1:5] ) > > a.frame[ 2:5, "y" ] <

[Rd] unexpected '[<-.data.frame' result

2005-10-26 Thread Charles C. Berry
Is this a bug? If not, I am curious to know why '[<-.data.frame' was designed to yield a.frame$y != a.frame$z rather than refusing to carry out the operation at all. > a.frame <- data.frame( x=letters[1:5] ) > a.frame[ 2:5, "y" ] <- letters[2:5] > a.frame[[ "z" ]][ 2:5 ] <- letters[2:5] > a.fr

Re: [Rd] pb with dyn.load - fortran code now attached

2005-10-26 Thread Paul Roebuck
On Wed, 26 Oct 2005, Prof Brian Ripley wrote: > On Wed, 26 Oct 2005, Paul Roebuck wrote: > > > On Wed, 26 Oct 2005, Gilles GUILLOT wrote: > > > >> QUESTION 1: > >> [EMAIL PROTECTED] guillot]$ R > >> R : Copyright 2005, The R Foundation for Statistical Computing > >> Version 2.2.0 (2005-10-06 r357

Re: [Rd] R patched for Windows missing

2005-10-26 Thread Duncan Murdoch
Peter Dalgaard wrote: > Gabor Grothendieck <[EMAIL PROTECTED]> writes: > > >>R patched for Windows seems to be missing. If one clicks on >>R-2.2.0pat-win32.exe at, say, >> >> http://stat.ethz.ch/CRAN/bin/windows/base/rpatched.html >> >>then an error occurs. I tried it at several mirror sites w

Re: [Rd] Microsoft help files

2005-10-26 Thread Hin-Tak Leung
Liaw, Andy wrote: >> From: Hin-Tak Leung >> >> Gabor Grothendieck wrote: >> >>> I wonder if the software here: >>> >>> http://morte.jedrea.com/~jedwin/projects/chmlib/ >>> >>> or at any of the links on that page might allow elimination of >>> the need for separately downloading the Microsoft He

Re: [Rd] R patched for Windows missing

2005-10-26 Thread Peter Dalgaard
Gabor Grothendieck <[EMAIL PROTECTED]> writes: > R patched for Windows seems to be missing. If one clicks on > R-2.2.0pat-win32.exe at, say, > >http://stat.ethz.ch/CRAN/bin/windows/base/rpatched.html > > then an error occurs. I tried it at several mirror sites with the same > result. The w

Re: [Rd] Microsoft help files

2005-10-26 Thread Liaw, Andy
> From: Hin-Tak Leung > > Gabor Grothendieck wrote: > > I wonder if the software here: > > > > http://morte.jedrea.com/~jedwin/projects/chmlib/ > > > > or at any of the links on that page might allow elimination of the > > need for separately downloading the Microsoft Help compiler -- > > which

Re: [Rd] pb with dyn.load - fortran code now attached

2005-10-26 Thread Prof Brian Ripley
On Wed, 26 Oct 2005, Paul Roebuck wrote: > On Wed, 26 Oct 2005, Gilles GUILLOT wrote: > >> QUESTION 1: >> [EMAIL PROTECTED] guillot]$ R >> R : Copyright 2005, The R Foundation for Statistical Computing >> Version 2.2.0 (2005-10-06 r35749) >> ISBN 3-900051-07-0 >> >> >system("R CMD SHLIB ~/tmp/tes

Re: [Rd] pb with dyn.load - fortran code now attached

2005-10-26 Thread Paul Roebuck
On Wed, 26 Oct 2005, Gilles GUILLOT wrote: > QUESTION 1: > [EMAIL PROTECTED] guillot]$ R > R : Copyright 2005, The R Foundation for Statistical Computing > Version 2.2.0 (2005-10-06 r35749) > ISBN 3-900051-07-0 > > >system("R CMD SHLIB ~/tmp/test1.f") > g77 -fPIC -g -O2 -c /home/guillot/tmp/t

Re: [Rd] Microsoft help files

2005-10-26 Thread Hin-Tak Leung
Gabor Grothendieck wrote: > I wonder if the software here: > > http://morte.jedrea.com/~jedwin/projects/chmlib/ > > or at any of the links on that page might allow elimination of the > need for separately downloading the Microsoft Help compiler -- > which is just one more task that one must perfo

[Rd] Microsoft help files

2005-10-26 Thread Gabor Grothendieck
I wonder if the software here: http://morte.jedrea.com/~jedwin/projects/chmlib/ or at any of the links on that page might allow elimination of the need for separately downloading the Microsoft Help compiler -- which is just one more task that one must perform to get up and running to build your o

[Rd] pb with dyn.load - fortran code now attached

2005-10-26 Thread Gilles GUILLOT
Hi, here are a couple of strange things happening with R.2.2.0 compiled under Mandrake-10.1 At the begining of the story I have segmentation fault using package RandomFields in conjuction with some Fortran code of mine loaded with dyn.load. One of my fortran programs contains a subroutine nam

[Rd] pb with dyn.load

2005-10-26 Thread Gilles GUILLOT
Hi, here are a couple of strange things happening with R.2.2.0 compiled under Mandrake-10.1 At the begining of the story I have segmentation fault using package RandomFields in conjuction with some Fortran code of mine loaded with dyn.load. One of my fortran programs contains a subroutine nam

[Rd] R patched for Windows missing

2005-10-26 Thread Gabor Grothendieck
R patched for Windows seems to be missing. If one clicks on R-2.2.0pat-win32.exe at, say, http://stat.ethz.ch/CRAN/bin/windows/base/rpatched.html then an error occurs. I tried it at several mirror sites with the same result. The web page in question says: This directory contains a Windows b

[Rd] PR#8210

2005-10-26 Thread mcintosh
This failure is reproducible: 1) This requires a machine without "makeinfo". I ran into it on a RedHat 9.0 system, but I doubt the OS matters. 2) unpack the R-2.2.0 source tarball 3) cd R-2.2.0 4) ./configure ; make ; make check ; make install [add configure args as appropriate; works fi