Re: [Rd] Improper directory removal causes file system havoc (PR#11747)

2008-06-18 Thread ripley
This is not general on Solaris 10 -- it works for others, as the R-admin manual told you. What sort of file system is the test being run on? It does look very like a Solaris file system bug. On Wed, 18 Jun 2008, [EMAIL PROTECTED] wrote: > Full_Name: Michael Bauer > Version: 2.7.0 > OS: Solaris

[Rd] Improper directory removal causes file system havoc (PR#11738)

2008-06-18 Thread mjbauer
Full_Name: Michael Bauer Version: 2.7.0 OS: Solaris 10 (sparc) Submission from: (NULL) (130.64.21.7) When running 'make check' on a fresh R 2.7.0 build on Solaris 10 (sparc), reg-tests-1.R fails consistently because the test directory /tmp/R cannot be deleted. The reason for the deletion failure

[Rd] problem with personal library (R_LIBS_USER) when R_LIBS is defined (patch)

2008-06-18 Thread Luc Menut
As from R 2.5.0 users can install packages in their home directories, in directory specified by the environment variable R_LIBS_USER. It's a great feature. But I have a problem with this feature, when R_LIBS is defined. It works well the first time, when R creates the directory defined in R_LIB

Re: [Rd] strsplit and the empty string

2008-06-18 Thread Wacek Kusnierczyk
Oh my, I regret my stupidity. Christian Brechbühler wrote: > > With R version 2.6.1 Patched (2007-11-26 r43541), I get > Error in strsplit(" hello dolly ") : > argument "split" is missing, with no default > > But strsplit(" hello dolly ", " ") reproduces your results. > > of course, t

[Rd] bug in (and patch for) example preserving device 'ask' state [Was Re: example() and "ask"]

2008-06-18 Thread Gavin Simpson
Dear List, In investigating this a bit more, I've just realised that the source has this nice comment (in the svn trunk) indicating that there is a problem, and it is known about: ## ## This ensures that any device opened by the examples will ## have ask = TRUE set, but i

Re: [Rd] embedding R in c++ (Qt) application

2008-06-18 Thread Peter . Peyk
Dirk, that sounds exactly like what I've been looking for. Thanks a lot! Peter Peter, On 18 June 2008 at 14:13, [EMAIL PROTECTED] wrote: | Hi R-Developers, | | I'm working on running statistical analyses with embedded R from a | Qt-GUI-application (C++). | | I've been able to link with R libr

Re: [Rd] strsplit and the empty string

2008-06-18 Thread Christian Brechbühler
On Wed, Jun 18, 2008 at 8:45 AM, Wacek Kusnierczyk <[EMAIL PROTECTED]> asked for opinions: > > When the pattern > matches the beginning of the search string, the empty string is added to > the result, but that's not the case when the pattern matches the end of > the search string: > > strsplit(" he

[Rd] Question about Node Classes

2008-06-18 Thread subramanian R
Hi All, I am using R-2.7.0 and am trying to Understand the memory Manager in it. I am a bit confused about The Node Classes .Can Any one explain? *R-Internals states that --- *The `small' vector nodes -- Class 1 to Class 6-- are able to store vector data of up to 8, 16

Re: [Rd] HTML help solveLP(linprog) (PR#11250)

2008-06-18 Thread Arne Henningsen
On Wednesday 23 April 2008 16:25:13, [EMAIL PROTECTED] wrote: > Dear R team! > > I found in HTML help for function solveLP(linprog) a small mistake. It > says in Description "Minimizes c'x, subject to A x >=3D b and x >=3D 0", > but tests show that there should be A x <=3D b. Thanks for reporting

Re: [Rd] error with solveLP(linprog) (PR#11721)

2008-06-18 Thread Arne Henningsen
On Tuesday 17 June 2008 16:05:04, [EMAIL PROTECTED] wrote: > Full_Name: wfeng > Version: 2.7 > OS: windows xp > Submission from: (NULL) (208.62.252.2) > > > for solveLP(linprog), the program is specified as > > Minimizes c'x, subject to A x >= b and x >= 0. > > However, what I found is the actual c

Re: [Rd] embedding R in c++ (Qt) application

2008-06-18 Thread Dirk Eddelbuettel
Peter, On 18 June 2008 at 14:13, [EMAIL PROTECTED] wrote: | Hi R-Developers, | | I'm working on running statistical analyses with embedded R from a | Qt-GUI-application (C++). | | I've been able to link with R libraries, but I'm having a hard time to | understand the C-coding examples. I'm

[Rd] strsplit and the empty string

2008-06-18 Thread Wacek Kusnierczyk
Hello, I am wondering about the behaviour of strsplit. When the pattern matches the beginning of the search string, the mepty string is added to the result, but that's not the case when the pattern matches the end of the search string: strsplit(" hello dolly ") [1] "" "hello" "dolly" The man fo

[Rd] example() and "ask"

2008-06-18 Thread Gavin Simpson
Dear list, Is it intentional that example() opens a new device and leaves it in a mode where it asks (prompts) the user to Press return to see the next plot for *all* subsequent plots on that device. For example; with an already opened device, example() works as I would expect: > par("ask") [1]

[Rd] embedding R in c++ (Qt) application

2008-06-18 Thread Peter . Peyk
Hi R-Developers, I'm working on running statistical analyses with embedded R from a Qt-GUI-application (C++). I've been able to link with R libraries, but I'm having a hard time to understand the C-coding examples. I'm a C++, not a C programmer (never used malloc before), and many of the

Re: [Rd] tiff(), jpeg(), and png() in R 2.7.0: problems if 'units = "in"' but default height and width

2008-06-18 Thread Prof Brian Ripley
Clearly you don't have cairo installed or functional, since the preferred versions of these devices do not use X11, and do trap this error. tiff("a.tiff", units = "in", res = 1200) Error in tiff("a.tiff", units = "in", res = 1200) : unable to start device 'tiff' In addition: Warning message:

[Rd] error with solveLP(linprog) (PR#11721)

2008-06-18 Thread wei . boca
Full_Name: wfeng Version: 2.7 OS: windows xp Submission from: (NULL) (208.62.252.2) for solveLP(linprog), the program is specified as Minimizes c'x, subject to A x >= b and x >= 0. However, what I found is the actual constraints that works with the function are A x <= b and x >= 0.

[Rd] tiff(), jpeg(), and png() in R 2.7.0: problems if 'units = "in"' but default height and width

2008-06-18 Thread Weigand, Stephen D.
I love the new tiff(), jpeg(), and png() in R 2.7.0 but found an issue that I didn't see reported. When specifying 'units = "in"' but forgetting to change the default height and width (so the figure is unintentionally going to be 480 inches by 480 inches) I run into problems. Here's the reproduc