[Rd] R and Java

2005-10-04 Thread Vasundhara Akkineni
I am a grad student and am working on a project where i need to integrate java and R. I have a front end in java and i need to call R functions and be able to dispaly the plots and graphs produced by R on my java front end. I came across some tools like SJava and rserve...but am not sure which best

Re: [Rd] Option "installWithVers" seems to impact new.packages() badly?

2005-10-04 Thread A.J. Rossini
Please grow up, Brian. If you want to side track the issue, why don't you wait for Robert, etc, to answer? Are you pissed at that particular change, so that if anyone brings up a problem with it, and who might happen to have had a conversation with them once or twice, that you will jump on them

Re: [Rd] Option "installWithVers" seems to impact new.packages() badly?

2005-10-04 Thread Prof Brian Ripley
Please don't mangle replies like this to make them unreadable. Peter's comment is spot-on. The request for versioned installs and the original code came from the BioC team via Robert Gentleman. I presume it was a deliberate choice that a versioned install of 'ash' is reported as an installati

Re: [Rd] Option "installWithVers" seems to impact new.packages() badly?

2005-10-04 Thread A.J. Rossini
On 04 Oct 2005 16:42:14 +0200, Peter Dalgaard <[EMAIL PROTECTED]> wrote: > > > > > The issue is that installed.packages() has never been taught about > > > > versioned installs, and you might like to take that up with your BioC > > > > colleagues who added the idea. > > > "A.J. Rossini" <[EMAIL PR

Re: [Rd] more problems when using "installWithVers"

2005-10-04 Thread Prof Brian Ripley
On Tue, 4 Oct 2005, Deepayan Sarkar wrote: > On Tuesday 04 October 2005 07:48, Prof Brian Ripley wrote: >> Tony, >> >> The problem is specific to your example: >>> install.packages("ash") >> >> ... >> >>> install.packages("ash", installWithVers=TRUE) >>> library("ash", version="1.0-9") >>> search(

Re: [Rd] more problems when using "installWithVers"

2005-10-04 Thread Deepayan Sarkar
On Tuesday 04 October 2005 07:48, Prof Brian Ripley wrote: > Tony, > > The problem is specific to your example: > > install.packages("ash") > > ... > > > install.packages("ash", installWithVers=TRUE) > > library("ash", version="1.0-9") > > search() > > [1] ".GlobalEnv""package:ash_1.0-9"

Re: [Rd] vector labels are not permuted properly in a call to sort() (R 2.1)

2005-10-04 Thread Liaw, Andy
The `problem' is that sort() does not doing anything special when given a matrix: it only treat it as a vector. After sorting, it copies attributes of the original input to the output. Since dimnames are attributes, they get copied as is. Try: > y <- matrix(8:1, 4, 2, dimnames=list(LETTERS[1:4]

[Rd] vector labels are not permuted properly in a call to sort() (R 2.1)

2005-10-04 Thread Greg Finak
Not sure if this is the correct forum for this, but I've found what I would consider to be a potentially serious bug to the unsuspecting user. Given a numeric vector V with class labels in R, the following calls 1. > sort(as.matrix(V)) and 2. >as.matrix(sort(V)) produce different ouput. Th

Re: [Rd] access to R parse tree for Lisp-style macros?

2005-10-04 Thread Warnes, Gregory R
FWIW, the latest version of the 'gtools' package includes a slightly enhanced version of Thomas's 'defmacro' function, as well as the 'strmacro' function that does string-based macro processing. Feel free to take a look at them and suggest enhancements (via patches :^) -Greg > -Original Mes

Re: [Rd] Option "installWithVers" seems to impact new.packages() badly?

2005-10-04 Thread Peter Dalgaard
"A.J. Rossini" <[EMAIL PROTECTED]> writes: > Also, I don't know what this has to do with BioC. This is core R, so > pertinent to this list. Otherwise, perhaps it should be taken out? ... > > > The issue is that installed.packages() has never been taught about > > > versioned installs, and you

Re: [Rd] Option "installWithVers" seems to impact new.packages() badly?

2005-10-04 Thread A.J. Rossini
Also, I don't know what this has to do with BioC. This is core R, so pertinent to this list. Otherwise, perhaps it should be taken out? On 10/4/05, A.J. Rossini <[EMAIL PROTECTED]> wrote: > I expect "new.packages()" to not report on packages which I've > installed, as per documentation. > > best

Re: [Rd] Option "installWithVers" seems to impact new.packages() badly?

2005-10-04 Thread A.J. Rossini
I expect "new.packages()" to not report on packages which I've installed, as per documentation. best, -tony On 10/4/05, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > Hard to know what you expect here. There is no recent change that I can > see. > > I removed ash and then installed it with versi

Re: [Rd] Option "installWithVers" seems to impact new.packages() badly?

2005-10-04 Thread Prof Brian Ripley
Hard to know what you expect here. There is no recent change that I can see. I removed ash and then installed it with version. new.packages() showed it as new in both 2.1.1 and 2.2.0-beta. The issue is that installed.packages() has never been taught about versioned installs, and you might li

Re: [Rd] more problems when using "installWithVers"

2005-10-04 Thread A.J. Rossini
And wasn't to my last example. Since it probably is clear that I'm retyping errors, there is a reason that I'm delaying on the next few. On 10/4/05, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > Tony, > > The problem is specific to your example: > > > install.packages("ash") > ... > > install.pa

Re: [Rd] more problems when using "installWithVers"

2005-10-04 Thread Prof Brian Ripley
Tony, The problem is specific to your example: > install.packages("ash") ... > install.packages("ash", installWithVers=TRUE) > library("ash", version="1.0-9") > search() [1] ".GlobalEnv""package:ash_1.0-9" "package:methods" [4] "package:stats" "package:graphics" "package:grDevice

[Rd] more problems when using "installWithVers"

2005-10-04 Thread A.J. Rossini
R-devel, SVN revision 35729 (this morning, euro-time) So far, I'm having awful luck with the "installWithVers" flags. Recent example: I can install.packages("lattice", installWithVers=TRUE) successfully (no errors, at least it looks like a successful install), but can't load it: Error in librar