Re: Windows versus Unix packages in CRAN (Was Re: [R] Rmetrics)

2004-05-20 Thread Janusz Kawczak
And it seems that this vicious circle continues forever. Before
posting these kind of messages can you please read the INSTRUCTIONS.
fBasics_190.10051.zip is a COMPILED version of the package, not
a source as you claim to be!

It works with no problems; well, at least under Linux.

Janusz.

Richard A. O'Keefe wrote:

 Prof Brian Ripley [EMAIL PROTECTED] wrote:
 mkdir fBasics
 unzip fBasics.zip -d fBasics
 rm fBasics/src/*.o
 R CMD check fBasics

 and that took me about 3 minutes.

 Now me, I just did

 unzip -a fBasics_190.10051.zip
 R CMD INSTALL fBasics
 rm -rf fBasics

 in a naive and trusting manner.  It took me considerably longer than 3
 minutes to learn that this was what I should do, and when I did learn,
 I wondered if it's this simple, why can't R CMD INSTALL do it?

 Now I discover that it isn't that simple.  The installation apparently
 went smoothly.  This is R, right?  Never occurred to me that there might
 be problems.

 Now, B-G--R!  It turns out that core stuff is supplied as .dll files,
 which of course my UltraSPARC can do nothing with.

 The author of the Rmetrics code has a perfect right to provide his code
 in any form he wants under any conditions he wants (subject to GPL c).
 In particular, if he wants to provide a distribution which only works under
 Windows, that's perfectly OK.

 **BUT** when a distribution is peculiar to one operating system, that really
 should be highlighted in big bold letters:  this is a WINDOWS BINARY
 version, so that people who can't use Windows .DLL files are spared a day
 of trying to figure out how to unpack and of doing an installation which
 reports no errors at all and of them finding that things do not work.

 There is *NOTHING* on http://www.itp.phys.ethz.ch/econophysics/R/download.htm
 that says Windows only.  Click on I acceptand the page you arrive at has
 nothing in the text anywhere that says Windows only or what to do if not
 Windows.  (The http://.../R/bin/windows/contrib/1.9 address of the page
 was, in retrospect, a big clue, sigh.)

 It would of course be nice if the developers had done

 R CMD check fBasics

 But if you go into the Sources directory, which I suppose you must have,
 for each of {fBasics,fExtremes,fOptions,fSeries} there is an
 xxx-00check.log.txt, so they _did_ run R CMD check.

 and sorted out the errors, then
 R CMD build fBasics

 Those same check logs show errors (like failure to build .dvi files).

 Will it work if I download the Sources packages?

 __
 [EMAIL PROTECTED] mailing list
 https://www.stat.math.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: Windows versus Unix packages in CRAN (Was Re: [R] Rmetrics)

2004-05-20 Thread Andrew Criswell
Hello all:
On my linux platform, I ran the commands,
mkdir fBasics
unzip fBasics.zip -d fBasics
rm fBasics/src/*.o
R CMD check fBasics
That was 3 minutes. Next, I copied the files contained in 
fBasics.Rcheck/fBasics to the R library.

 library(fBasics)
fBasics:Markets, Basic Statistics, Date and TimeError in 
try(winMenuAdd(Rmetrics)) : couldn't find function winMenuAdd


So, how do I get it to work with no problems in Linux??
Thanks,
Andrew
Janusz Kawczak wrote:
And it seems that this vicious circle continues forever. Before
posting these kind of messages can you please read the INSTRUCTIONS.
fBasics_190.10051.zip is a COMPILED version of the package, not
a source as you claim to be!
It works with no problems; well, at least under Linux.
Janusz.
Richard A. O'Keefe wrote:
 

Prof Brian Ripley [EMAIL PROTECTED] wrote:
   mkdir fBasics
   unzip fBasics.zip -d fBasics
   rm fBasics/src/*.o
   R CMD check fBasics
   and that took me about 3 minutes.
Now me, I just did
   unzip -a fBasics_190.10051.zip
   R CMD INSTALL fBasics
   rm -rf fBasics
in a naive and trusting manner.  It took me considerably longer than 3
minutes to learn that this was what I should do, and when I did learn,
I wondered if it's this simple, why can't R CMD INSTALL do it?
Now I discover that it isn't that simple.  The installation apparently
went smoothly.  This is R, right?  Never occurred to me that there might
be problems.
Now, B-G--R!  It turns out that core stuff is supplied as .dll files,
which of course my UltraSPARC can do nothing with.
The author of the Rmetrics code has a perfect right to provide his code
in any form he wants under any conditions he wants (subject to GPL c).
In particular, if he wants to provide a distribution which only works under
Windows, that's perfectly OK.
**BUT** when a distribution is peculiar to one operating system, that really
should be highlighted in big bold letters:  this is a WINDOWS BINARY
version, so that people who can't use Windows .DLL files are spared a day
of trying to figure out how to unpack and of doing an installation which
reports no errors at all and of them finding that things do not work.
There is *NOTHING* on http://www.itp.phys.ethz.ch/econophysics/R/download.htm
that says Windows only.  Click on I acceptand the page you arrive at has
nothing in the text anywhere that says Windows only or what to do if not
Windows.  (The http://.../R/bin/windows/contrib/1.9 address of the page
was, in retrospect, a big clue, sigh.)
   It would of course be nice if the developers had done
   R CMD check fBasics
But if you go into the Sources directory, which I suppose you must have,
for each of {fBasics,fExtremes,fOptions,fSeries} there is an
xxx-00check.log.txt, so they _did_ run R CMD check.
   and sorted out the errors, then
   R CMD build fBasics
Those same check logs show errors (like failure to build .dvi files).
Will it work if I download the Sources packages?
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
   

__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

 

__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: Windows versus Unix packages in CRAN (Was Re: [R] Rmetrics)

2004-05-20 Thread Janusz Kawczak
Here is what I get:

R : Copyright 2004, The R Foundation for Statistical Computing
Version 1.9.0  (2004-04-12), ISBN 3-900051-00-3

 .  
[Previously saved workspace restored]

 library(fBasics)
---
fLibraries: A SOFTWARE COLLECTION FOR FINANCIAL ENGINEERS
fBasics:Markets, Basic Statistics, Date and Time
---


(there were no alterations done to the above output except where  
 occurs!)

You simply need to remove the stuff related to MS Win from zzz.R;
in partricular the lines after if(  ) to clear your message.
As you can see, the info relates to the WinMenu under MS Win.

Hope this helps.

Janusz.

On Fri, 21 May 2004, Andrew Criswell wrote:

 Hello all:

 On my linux platform, I ran the commands,

 mkdir fBasics
 unzip fBasics.zip -d fBasics
 rm fBasics/src/*.o
 R CMD check fBasics

 That was 3 minutes. Next, I copied the files contained in
 fBasics.Rcheck/fBasics to the R library.

   library(fBasics)

 fBasics:Markets, Basic Statistics, Date and TimeError in
 try(winMenuAdd(Rmetrics)) : couldn't find function winMenuAdd
  

 So, how do I get it to work with no problems in Linux??

 Thanks,
 Andrew

 Janusz Kawczak wrote:

 And it seems that this vicious circle continues forever. Before
 posting these kind of messages can you please read the INSTRUCTIONS.
 fBasics_190.10051.zip is a COMPILED version of the package, not
 a source as you claim to be!
 
 It works with no problems; well, at least under Linux.
 
 Janusz.
 
 Richard A. O'Keefe wrote:
 
 
 
 Prof Brian Ripley [EMAIL PROTECTED] wrote:
 mkdir fBasics
 unzip fBasics.zip -d fBasics
 rm fBasics/src/*.o
 R CMD check fBasics
 
 and that took me about 3 minutes.
 
 Now me, I just did
 
 unzip -a fBasics_190.10051.zip
 R CMD INSTALL fBasics
 rm -rf fBasics
 
 in a naive and trusting manner.  It took me considerably longer than 3
 minutes to learn that this was what I should do, and when I did learn,
 I wondered if it's this simple, why can't R CMD INSTALL do it?
 
 Now I discover that it isn't that simple.  The installation apparently
 went smoothly.  This is R, right?  Never occurred to me that there might
 be problems.
 
 Now, B-G--R!  It turns out that core stuff is supplied as .dll files,
 which of course my UltraSPARC can do nothing with.
 
 The author of the Rmetrics code has a perfect right to provide his code
 in any form he wants under any conditions he wants (subject to GPL c).
 In particular, if he wants to provide a distribution which only works under
 Windows, that's perfectly OK.
 
 **BUT** when a distribution is peculiar to one operating system, that really
 should be highlighted in big bold letters:  this is a WINDOWS BINARY
 version, so that people who can't use Windows .DLL files are spared a day
 of trying to figure out how to unpack and of doing an installation which
 reports no errors at all and of them finding that things do not work.
 
 There is *NOTHING* on http://www.itp.phys.ethz.ch/econophysics/R/download.htm
 that says Windows only.  Click on I acceptand the page you arrive at has
 nothing in the text anywhere that says Windows only or what to do if not
 Windows.  (The http://.../R/bin/windows/contrib/1.9 address of the page
 was, in retrospect, a big clue, sigh.)
 
 It would of course be nice if the developers had done
 
 R CMD check fBasics
 
 But if you go into the Sources directory, which I suppose you must have,
 for each of {fBasics,fExtremes,fOptions,fSeries} there is an
 xxx-00check.log.txt, so they _did_ run R CMD check.
 
 and sorted out the errors, then
 R CMD build fBasics
 
 Those same check logs show errors (like failure to build .dvi files).
 
 Will it work if I download the Sources packages?
 
 __
 [EMAIL PROTECTED] mailing list
 https://www.stat.math.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
 
 
 
 __
 [EMAIL PROTECTED] mailing list
 https://www.stat.math.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
 
 
 
 
 

 __
 [EMAIL PROTECTED] mailing list
 https://www.stat.math.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: Windows versus Unix packages in CRAN (Was Re: [R] Rmetrics)

2004-05-19 Thread Andrew Criswell
Yes, I agree with Ajay Shah's comments. The Rmetrics website makes a 
virtue of open source yet the Rmetrics people do not make available 
their package for the open source platform, Linux.

Ajay Shah wrote:
Rmetrics - New Version is available for R 1.9 !!
   

 

in R-binary and R-source form from the site http://www.rmetrics.org;,
and install the binary zip files in the usual way via the menu
   

I'm confused - does the fact that you are only distributing .zip
files means that (shudder) I need Microsoft Windows in order to run
this? (I hunted on the website but you seemed to only have .zip
files. That's very odd; normally on Unix we don't ship .zip files).
More generally: Do all R packages automatically run on Unix, or are we
fragmenting the CRAN code base into Unix and non-Unix packages? One of
my reasons for shifting to R was that it felt like a system that was
built by Unix people (roots in Bell Labs etc.). So it will have a
function like sink() as a nice counterpart to a function like source()
:-)
Ox, for example, has nice functionality but it felt like it was done
by Windows guys, so it wasn't going to be useful to me, and I kept
away.
If R packages are actually in two (intersecting) sets : those that run
on Unix and those that run on Windows, then do we need a CRAN/Unix and
CRAN/M$ directories to distinguish them? It will avoid a lot of wasted
time... e.g. I blew half an hour on investigating Rmetrics before
deciding they're a Windows crowd.
 

__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


RE: Windows versus Unix packages in CRAN (Was Re: [R] Rmetrics)

2004-05-19 Thread Pikounis, Bill
Hi Andrew,

You mentioned:

 Yes, I agree with Ajay Shah's comments. The Rmetrics website makes a 
 virtue of open source yet the Rmetrics people do not make available 
 their package for the open source platform, Linux.

Actually, I think they do.  A quick perusal of the site indicated to me on
page 2 of the Overview Flyer
http://www.itp.phys.ethz.ch/econophysics/R/pdf/DocRmetrics.pdf:

Why using MS Windows? In
the financial community Windows is the
mostly used operating system. For a broad
distribution and acceptance of Rmetrics, we
decided to develop the software under Windows
2000/XP. But nevertheless, since all
source code is available it may be straightforward
to adapt and compile the software
for other operating systems.

And right on the home page, I see

The growing Rmetrics collection is based on many statistical and financial
functions which were contributed by myself, my students, or were ported from
other sources during the last few years. The work is by far not complete and
parts of the software are still untested, and may contain some bugs. 

It seems to me Dr Wuertz has done an awful lot already, and that out of the
box availability for Linux or other platforms will likely come as the
community of its users grows.

I found a folder in the Downloads section called

http://www.itp.phys.ethz.ch/econophysics/R/bin/windows/contrib/1.9/Sources/

and if I remember correctly, there are multiple Linux/Unix utilities out
there to handle Windows .zip files.

Finally I must say that this is the first time I can ever recall objections
about R or any *open source* software that was available on Windows but not
on Linux/Unix.  Of course the opposite direction case still occurs often
enough, I guess.

Best Regards,
Bill


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Criswell
 Sent: Tuesday, May 18, 2004 9:11 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Windows versus Unix packages in CRAN (Was Re: 
 [R] Rmetrics)
 
 
 Yes, I agree with Ajay Shah's comments. The Rmetrics website makes a 
 virtue of open source yet the Rmetrics people do not make available 
 their package for the open source platform, Linux.
 
 Ajay Shah wrote:
 
 Rmetrics - New Version is available for R 1.9 !!
 
 
 
   
 
 in R-binary and R-source form from the site 
 http://www.rmetrics.org;,
 and install the binary zip 
 files in the usual way via the menu
 
 
 
 I'm confused - does the fact that you are only distributing .zip
 files means that (shudder) I need Microsoft Windows in order to run
 this? (I hunted on the website but you seemed to only have .zip
 files. That's very odd; normally on Unix we don't ship .zip files).
 
 More generally: Do all R packages automatically run on Unix, 
 or are we
 fragmenting the CRAN code base into Unix and non-Unix 
 packages? One of
 my reasons for shifting to R was that it felt like a system that was
 built by Unix people (roots in Bell Labs etc.). So it will have a
 function like sink() as a nice counterpart to a function 
 like source()
 :-)
 
 Ox, for example, has nice functionality but it felt like it was done
 by Windows guys, so it wasn't going to be useful to me, and I kept
 away.
 
 If R packages are actually in two (intersecting) sets : 
 those that run
 on Unix and those that run on Windows, then do we need a 
 CRAN/Unix and
 CRAN/M$ directories to distinguish them? It will avoid a lot 
 of wasted
 time... e.g. I blew half an hour on investigating Rmetrics before
 deciding they're a Windows crowd.
 
   
 
 
 __
 [EMAIL PROTECTED] mailing list
 https://www.stat.math.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide! 
 http://www.R-project.org/posting-guide.html
 


__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: Windows versus Unix packages in CRAN (Was Re: [R] Rmetrics)

2004-05-19 Thread Jeff Gentry
 Yes, I agree with Ajay Shah's comments. The Rmetrics website makes a 
 virtue of open source yet the Rmetrics people do not make available 
 their package for the open source platform, Linux.

It wouldn't be difficult to create a source tarball and submit it to them


__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: Windows versus Unix packages in CRAN (Was Re: [R] Rmetrics)

2004-05-19 Thread Richard A. O'Keefe
Prof Brian Ripley [EMAIL PROTECTED] wrote:
mkdir fBasics
unzip fBasics.zip -d fBasics
rm fBasics/src/*.o
R CMD check fBasics

and that took me about 3 minutes.

Now me, I just did

unzip -a fBasics_190.10051.zip
R CMD INSTALL fBasics
rm -rf fBasics

in a naive and trusting manner.  It took me considerably longer than 3
minutes to learn that this was what I should do, and when I did learn,
I wondered if it's this simple, why can't R CMD INSTALL do it?

Now I discover that it isn't that simple.  The installation apparently
went smoothly.  This is R, right?  Never occurred to me that there might
be problems.

Now, B-G--R!  It turns out that core stuff is supplied as .dll files,
which of course my UltraSPARC can do nothing with.

The author of the Rmetrics code has a perfect right to provide his code
in any form he wants under any conditions he wants (subject to GPL c).
In particular, if he wants to provide a distribution which only works under
Windows, that's perfectly OK.

**BUT** when a distribution is peculiar to one operating system, that really
should be highlighted in big bold letters:  this is a WINDOWS BINARY
version, so that people who can't use Windows .DLL files are spared a day
of trying to figure out how to unpack and of doing an installation which
reports no errors at all and of them finding that things do not work.

There is *NOTHING* on http://www.itp.phys.ethz.ch/econophysics/R/download.htm
that says Windows only.  Click on I acceptand the page you arrive at has
nothing in the text anywhere that says Windows only or what to do if not
Windows.  (The http://.../R/bin/windows/contrib/1.9 address of the page
was, in retrospect, a big clue, sigh.)

It would of course be nice if the developers had done

R CMD check fBasics

But if you go into the Sources directory, which I suppose you must have,
for each of {fBasics,fExtremes,fOptions,fSeries} there is an
xxx-00check.log.txt, so they _did_ run R CMD check.

and sorted out the errors, then
R CMD build fBasics

Those same check logs show errors (like failure to build .dvi files).

Will it work if I download the Sources packages?

__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html