Re: [Rd] [R] Successive subsets from a vector?

2006-08-22 Thread Prof Brian Ripley
On Tue, 22 Aug 2006, Thomas Lumley wrote: > On Tue, 22 Aug 2006, hadley wickham wrote: > > >> The loop method took 195 secs. Just assigning to an answer of the correct > >> length reduced this to 5 secs. e.g. use > >> > >> ADDRESSES <- character(length(VECTOR)-4) > >> > >> Moral: don't grow

[Rd] Small "typo" in R/src/library/grDevices/man/postscript.Rd

2006-08-22 Thread Gregor Gorjanc
Hello! I believe there is one "be" to much in line 198 of "R/src/library/grDevices/man/postscript.Rd": used. These fonts are be useful for other languages: ... ^^ -- Lep pozdrav / With regards, Gregor Gorjanc

Re: [Rd] [R] big numbers

2006-08-22 Thread Robin Hankin
[[shifting to R-devel]] Hi Roger yes, I'm aware of gmp, but although it does handle big numbers, it uses exact integer arithmetic, which would be too slow for me. My example of 10^1 *(1+pi) ~= 4.14259*10^1 would require gmp to process 1 digits, which would be time consuming. My best

Re: [Rd] [R] Successive subsets from a vector?

2006-08-22 Thread Thomas Lumley
On Tue, 22 Aug 2006, hadley wickham wrote: >> The loop method took 195 secs. Just assigning to an answer of the correct >> length reduced this to 5 secs. e.g. use >> >> ADDRESSES <- character(length(VECTOR)-4) >> >> Moral: don't grow vectors repeatedly. > > Other languages (eg. Java) grow th

Re: [Rd] saving history through menu in R 2.4.0dev (PR#9168)

2006-08-22 Thread ripley
Usual moan: you have submitted TWO bug reports (9168 and 9169) on an unreleased version of R (and not a current build). Just a report to R-windows would have been appropriate since this is about the Windows GUI. The crucial piece of information is that (at least on my box), the error message sa

[Rd] (Fwd) saving history through menu in R 2.4.0dev follow-up (PR#9169)

2006-08-22 Thread petr . pikal
savehistory("blabla") works, so only from menu the new file is not created. Petr Pikal --- Forwarded message follows --- From: Petr Pikal <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject:saving history through menu in R 2.4.0dev Date

[Rd] saving history through menu in R 2.4.0dev (PR#9168)

2006-08-22 Thread petr . pikal
Dear all I encountered different behaviour of R 2.4.0dev from 2.3.1pat. I usually save history through menu File-Save history and I use date e.g. 180806 as a file name. Worked until I tried in R 2.4.0dev platform i386-pc-mingw32 arch i386

Re: [Rd] Set Repositories problem in R2.4.0

2006-08-22 Thread Peter Dalgaard
Prof Brian Ripley <[EMAIL PROTECTED]> writes: > The point is that there is no `read.table' line in setRepositories, just > read.delim. And the NEWS for R-devel (there is no 2.4.0 yet) says > > o The functions read.csv, read.csv2, read.delim, read.delim2 now > default the comment.char