Re: [Rd] row.names != rownames for data.frame?

2006-05-02 Thread Prof Brian Ripley
On Mon, 1 May 2006, Seth Falcon wrote: > With a recent R 2.4 I notice the following: > > df <- data.frame(x=1:2) >> row.names(df) > [1] "1" "2" >> rownames(df) > [1] 1 2 > > This seems related to recent changes in the internal storage format of > the row names data for data frames. > > The man pag

[Rd] optimize() and extrema at the interval bounds

2006-05-02 Thread Peter Ruckdeschel
Dear r-devels, by construction, optimize() only evaluates the objective function *inside* the bounds of argument 'interval'. It does not seem to be an 'extremely' rare case that extrema are attained *at* the bounds of argument 'interval' :-) It is fairly easy to write a wrapper to optimize() enf

[Rd] Call trellis function in a function (PR#8827)

2006-05-02 Thread xiao . gang . fan1
Full_Name: Fan Version: 2.2.1 OS: Windows Submission from: (NULL) (159.50.101.9) Hello, When I call trellis function (such as histogram, densityplot, etc.) in a function, the call seems being ignored (no graphics is drawing) if some other instructions are placed afeter that call. Here's an ex

Re: [Rd] Call trellis function in a function (PR#8827)

2006-05-02 Thread Roger Bivand
On Tue, 2 May 2006 [EMAIL PROTECTED] wrote: This is a FAQ: http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-do-lattice_002ftrellis-graphics-not-work_003f > Full_Name: Fan > Version: 2.2.1 > OS: Windows > Submission from: (NULL) (159.50.101.9) > > > Hello, > > When I call trellis function (suc

[Rd] Force action in package install?

2006-05-02 Thread Duncan Murdoch
I'd like to substitute the Subversion revision number for a string in a package man page every time the package is installed or built. I can assume it is being installed or built from a Subversion working copy. I tried putting a target that depends on FORCE into Makefile or Makevars in the src

[Rd] normal random number generator in R

2006-05-02 Thread Tibshirani
Hi, I am trying to figure out how normal random number generator works in R. As I look at .../src/nmath/snorm.c file, I find the default algorithm is inverse CDF method. In more detail, instead of directly using uniform value by unif_rand(), snorm function will first get a sum by adding unif_ra

[Rd] Installation problem of R.app GUI 1.15 for R 2.3.0 (PR#8828)

2006-05-02 Thread dupan
Full_Name: Pan Du Version: 2.3.0 OS: Mac OS X 10.4.6 Submission from: (NULL) (165.124.152.227) Hi, I just downloaded the latest R2.3.0 for Mac. When I tried to install R.app GUI 1.15, it told me "You cannot install R GUI for Mac OS X on this volume. Requires Mac OS X 10.4.4 or higher." But actua

Re: [Rd] normal random number generator in R

2006-05-02 Thread Prof Brian Ripley
On Tue, 2 May 2006, Tibshirani wrote: > Hi, > > I am trying to figure out how normal random number generator works in R. As I > look at .../src/nmath/snorm.c file, I find the default algorithm is inverse > CDF method. In more detail, instead of directly using uniform value by > unif_rand(), snorm

[Rd] Histogram to pdf file (PR#8829)

2006-05-02 Thread ksawery . pasciak
Full_Name: Ksawery Version: 2.30 OS: WinXp Submission from: (NULL) (195.150.76.2) The bug apears when I'm trying to save, for example histogram into PDF file.I'm using Polish language, and while in R letters are correct, in PDF file I have some strange one...

Re: [Rd] Installation problem of R.app GUI 1.15 for R 2.3.0 (PR#8828)

2006-05-02 Thread Simon Urbanek
Pan, On May 2, 2006, at 12:34 PM, [EMAIL PROTECTED] wrote: > I just downloaded the latest R2.3.0 for Mac. When I tried to > install R.app GUI 1.15, it told me "You cannot install R GUI for > Mac OS X on this volume. Requires Mac OS X 10.4.4 or higher." But > actually I am using Mac OS X 10.

Re: [Rd] Force action in package install?

2006-05-02 Thread Simon Urbanek
On May 2, 2006, at 12:09 PM, Duncan Murdoch wrote: > I tried putting a target that depends on FORCE into Makefile or > Makevars in the src directory, but it is not being built. What > sort of make magic do I need, and where do I put it in order to get > R CMD INSTALL to run my code? > I d

Re: [Rd] Force action in package install?

2006-05-02 Thread Simon Urbanek
On May 2, 2006, at 4:25 PM, Simon Urbanek wrote: > > On May 2, 2006, at 12:09 PM, Duncan Murdoch wrote: > >> I tried putting a target that depends on FORCE into Makefile or >> Makevars in the src directory, but it is not being built. What >> sort of make magic do I need, and where do I put i

[Rd] cannot use fanny in package cluster (PR#8830)

2006-05-02 Thread ghuang
Full_Name: Guan-Hua Huang Version: 2.0.1 OS: Linux Submission from: (NULL) (140.113.114.123) I install the package cluster by using install.packages("cluster"). After install it, it runs fine for function clara, but it does not work for function fanny. I did the following things: library(cluster

Re: [Rd] cannot use fanny in package cluster (PR#8830)

2006-05-02 Thread ligges
[EMAIL PROTECTED] wrote: > Full_Name: Guan-Hua Huang > Version: 2.0.1 > OS: Linux > Submission from: (NULL) (140.113.114.123) > > > I install the package cluster by using install.packages("cluster"). After > install it, it runs fine for function clara, but it does not work for function > fanny.

Re: [Rd] Histogram to pdf file (PR#8829)

2006-05-02 Thread ligges
[EMAIL PROTECTED] wrote: > Full_Name: Ksawery > Version: 2.30 Currently we have R-2.3.0. 2.30 will be released in October 2019, if R core does not manage to get R-3.0.0 out some day before. > OS: WinXp > Submission from: (NULL) (195.150.76.2) > > > The bug apears when I'm trying to save, for