Re: [Rd] efficiency of sample() with prob.

2005-06-23 Thread Prof Brian Ripley
`Research' involves looking at all the competitor methods, devising a near-optimal strategy and selecting amongst methods according to that strategy. It is not a quick fix we are looking for but something that will be good for the long term. On Thu, 23 Jun 2005, Bo Peng wrote: >> We suggest th

Re: [Rd] efficiency of sample() with prob.

2005-06-23 Thread Bo Peng
> We suggest that you take up your own suggestion, research this area and > offer the R project the results of your research for consideration as your > contribution. I implemented Walker's alias method and re-compiled R. Here is what I did: 1. replace function ProcSampleReplace in R-2.1.0/src/ma

Re: [Rd] list.files() reorders files in R CMD INSALL

2005-06-23 Thread Peter Dalgaard
Duncan Murdoch <[EMAIL PROTECTED]> writes: > >> [1] "a" "A" "b" "B" > >> > >> which differs in order from that in R CMD INSTALL. > > > > Looks like the sorting is being done in the C locale in the first case, > > and in a different one in the second. See ?locales for how to set the > > locale

Re: [Rd] list.files() reorders files in R CMD INSALL

2005-06-23 Thread Duncan Murdoch
On 6/23/2005 4:38 PM, Duncan Murdoch wrote: > On 6/23/2005 4:18 PM, Vadim Ogranovich wrote: >> Hi, >> >> The list.files() function seems to order its result vector differently >> when is run during R CMD INSTALL. Here is an example: >> >> ~% mkdir ~/FOO >> ~% cd ~/FOO/ >> ~/FOO% touch a A b B >

Re: [Rd] list.files() reorders files in R CMD INSALL

2005-06-23 Thread Duncan Murdoch
On 6/23/2005 4:18 PM, Vadim Ogranovich wrote: > Hi, > > The list.files() function seems to order its result vector differently > when is run during R CMD INSTALL. Here is an example: > > ~% mkdir ~/FOO > ~% cd ~/FOO/ > ~/FOO% touch a A b B > ~/FOO% ls > a A b B > > > Put foo.R in the vor

[Rd] list.files() reorders files in R CMD INSALL

2005-06-23 Thread Vadim Ogranovich
Hi, The list.files() function seems to order its result vector differently when is run during R CMD INSTALL. Here is an example: ~% mkdir ~/FOO ~% cd ~/FOO/ ~/FOO% touch a A b B ~/FOO% ls a A b B Put foo.R in the vor package. The foo.R just prints the files in ~/FOO: print(list.files("~/F

Re: [Rd] Unattended Windows installation of R modified with v2.1.1

2005-06-23 Thread Henrik Bengtsson
Prof Brian Ripley wrote: > Well, rw2011.exe does install the default set of components for me, and > nothing has changed in the last few days. > > Note that Inno Setup does pick up default options from a previously > installed version of R, so that might be the explanation. (It might even > do

[Rd] typo in dev2bitmap.R (PR#7966)

2005-06-23 Thread weigand
Full_Name: Stephen Weigand Version: 2.0.1 OS: solaris2.9 Submission from: (NULL) (129.176.151.21) R> bitmap("") produces the following error message as of the June 23 download of R-devel: Error in bitmap("") : 'file' is must be a non-empty character string The word

Re: [Rd] Rgui bug in Windows: leftover download dialog (PR#7964)

2005-06-23 Thread Duncan Murdoch
On 6/23/2005 1:23 PM, Prof Brian Ripley wrote: > On Thu, 23 Jun 2005 [EMAIL PROTECTED] wrote: > >> On 6/22/2005 4:15 PM, [EMAIL PROTECTED] wrote: >>> In Windows, if a download is interrupted (by switching to the console >>> window and hitting ESC), the download status dialog can be left >>> onscre

Re: [Rd] Rgui bug in Windows: leftover download dialog (PR#7964)

2005-06-23 Thread Prof Brian Ripley
On Thu, 23 Jun 2005 [EMAIL PROTECTED] wrote: > On 6/22/2005 4:15 PM, [EMAIL PROTECTED] wrote: >> In Windows, if a download is interrupted (by switching to the console >> window and hitting ESC), the download status dialog can be left >> onscreen, with no apparent way to get rid of it (other than s

Re: [Rd] Rgui bug in Windows: leftover download dialog (PR#7964)

2005-06-23 Thread murdoch
On 6/22/2005 4:15 PM, [EMAIL PROTECTED] wrote: > In Windows, if a download is interrupted (by switching to the console > window and hitting ESC), the download status dialog can be left > onscreen, with no apparent way to get rid of it (other than stopping and > restarting R). > > To duplicate:

Re: [Rd] Unattended Windows installation of R modified with v2.1.1

2005-06-23 Thread Prof Brian Ripley
Well, rw2011.exe does install the default set of components for me, and nothing has changed in the last few days. Note that Inno Setup does pick up default options from a previously installed version of R, so that might be the explanation. (It might even do so if one had already been uninstalle

[Rd] Unattended Windows installation of R modified with v2.1.1

2005-06-23 Thread Henrik Bengtsson
FYI, I just noticed that an unattended Windows installation of R v2.1.1 patched (2005-06-22), that is, rw2011pat.exe /silent /sp- /norestart no longer installs the perl scripts INSTALL, build check and so on (I think this is the flag "Source Package Installation Files" in InnoSetup. It us