Re: [R] MASS package and lda

2003-12-31 Thread Prof Brian Ripley
On Tue, 30 Dec 2003, Sean Davis wrote: I'm sorry if I am missing something, but I am looking for the lda function and can't find it (used to be in MASS). I know there is reorganization going on for R-1.9 and expected to find lda in stats, but I didn't. Do I need to go back to R-1.8.1 or is

Re: [R] MASS package and lda

2003-12-31 Thread Sean Davis
Thanks. That was, of course, the issue. As you point out, obtaining recommended packages is recommended. Sean - Original Message - From: Prof Brian Ripley [EMAIL PROTECTED] To: Sean Davis [EMAIL PROTECTED] Cc: R-Help [EMAIL PROTECTED] Sent: Wednesday, December 31, 2003 2:40 AM Subject:

[R] programming with C++Builder 5

2003-12-31 Thread Edward Feng
Hi there, I am using C++ Builder 5 to develop windows GUI interface for a R library package. I have to pass R objects to and from C functions and also evaluate them within C functions. But I always got linking error message of unresolved external functions with those internal functions or

rsync (was: [R] MASS package and lda)

2003-12-31 Thread Göran Broström
On Wed, Dec 31, 2003 at 07:40:23AM +, Prof Brian Ripley wrote: [...] lda is still in Venables and Ripley's MASS. Perhaps you forgot to rsync up the recommended packages? (Run tools/rsync-recommended in the top level of the sources before running configure.) I read your conversation and

Re: rsync (was: [R] MASS package and lda)

2003-12-31 Thread Göran Broström
On Wed, Dec 31, 2003 at 11:02:36AM +0100, Göran Broström wrote: On Wed, Dec 31, 2003 at 07:40:23AM +, Prof Brian Ripley wrote: [...] lda is still in Venables and Ripley's MASS. Perhaps you forgot to rsync up the recommended packages? (Run tools/rsync-recommended in the top level

[R] Plot grouped data: How to change x-axis? (nlme)

2003-12-31 Thread Karl Knoblick
Hallo! GENERAL QUESTION: I'm trying to change the tick marks of the x-axis in a grouped data plot (nlme). CONCRETE EXAMPLE: In the example (see below) I want the x-axis to have tick marks at 0, 6, 12, 18, 24. How can I do this? WHAT I TRIED I tried normal methods like axis(...) but this does

[R] Re: [Rd] programming with C++Builder 5

2003-12-31 Thread Simon Urbanek
On Dec 31, 2003, at 10:17 AM, Edward Feng wrote: I am using C++ Builder 5 to develop windows GUI interface for a R library package. I have to pass R objects to and from C functions and also evaluate them within C functions. But I always got linking error message of unresolved external

Re: [R] Plot grouped data: How to change x-axis? (nlme)

2003-12-31 Thread Michael A. Miller
Karl == Karl Knoblick [EMAIL PROTECTED] writes: QUESTION: How can I get tick marks at 0, 6, 12, 18, 24 on the x-axis? You can pass lattice arguments to plot. (See the section under scales in help('xyplot') for lots of details). For your purposes, try this: plot(GDF,

Re: [R] Plot grouped data: How to change x-axis? (nlme)

2003-12-31 Thread Douglas Bates
Karl Knoblick [EMAIL PROTECTED] writes: Hallo! GENERAL QUESTION: I'm trying to change the tick marks of the x-axis in a grouped data plot (nlme). CONCRETE EXAMPLE: In the example (see below) I want the x-axis to have tick marks at 0, 6, 12, 18, 24. How can I do this? WHAT I TRIED

[R] how to use apply on a two variable t-test

2003-12-31 Thread Jason Dunsmore
does anyone know how to use the apply function on a two-variable t-test? i've tried everything. apply(data[1:4],1,t.test) # works, but only a one-variable test apply((data[1:4],data[5:9]),1,t.test) # returns a syntax error i've also tried using the for loop: for (i in 1:1000)

Re: [R] how to use apply on a two variable t-test

2003-12-31 Thread Jonathan Baron
On 12/31/03 09:12, Jason Dunsmore wrote: does anyone know how to use the apply function on a two-variable t-test? i've tried everything. Suppose d1 and d2 are data frames, and you want to do a t test of column 1 of d1 vs. column 1 of d2, column 2 of d1 vs. column 2 of d2, and so on. Then

RE: [R] how to use apply on a two variable t-test

2003-12-31 Thread Simon Fear
For your main question, see ?mapply. For the what happened to the output in my for loop FAQ: you need to put in an explicit print() around the t.test call. At the command prompt, expressions are evaluated and printed; elsewhere they are only evaluated. HTH and Happy New Year to all, Simon

[R] Calling primitive functions from C code

2003-12-31 Thread Whit Armstrong
Does anyone have an example of calling primitive or internal functions from C code that they would share with me? I am having trouble trying to figure out how to construct the proper arguments to pass to do_subset_dflt Here is the prototype: SEXP do_subset_dflt(SEXP call, SEXP op, SEXP args,

Re: rsync (was: [R] MASS package and lda)

2003-12-31 Thread Thomas Lumley
On Wed, 31 Dec 2003, [iso-8859-1] Göran Broström wrote: On Wed, Dec 31, 2003 at 11:02:36AM +0100, Göran Broström wrote: I read your conversation and tried this advice, but got rsync not found. I searched CRAN, and found links to 'rsync.r-project.org' and 'www.rsync.org', none of which

[R] Do post to *one* mailing list, please!

2003-12-31 Thread Martin Maechler
This is the second time today that someone posts to both R-help and R-devel. Please do not! Think twice about which list is appropriate and use that one only. Regards, and Happy New Year (to the Aussies, Kiwis, Japanese, ..., now, to authors a bit later...!) Your list administrator

Thanks: [R] regexp problem on R 1.7.0

2003-12-31 Thread Itay Furman
Ooops. I missed that line, down there in the 'Examples', when I read the documentation. Sorry about that. Thanks to Prof Brian Ripley and Gabor Grothendieck. Itay On Tue, 30 Dec 2003, Gabor Grothendieck wrote: Just as an elaboration, this might help further clarify it. Spit

Re: [R] Calling primitive functions from C code

2003-12-31 Thread Duncan Temple Lang
As Martin has just mailed, please post a question to one and only one R-* list. Without knowing the details of your task, I would strongly suggest that you consider calling the corresponding R function rather than the much, much lower-level routines in the C code. For one, the routines listed in

[R] a quick question about the package car?

2003-12-31 Thread Yen-Sheng Chiang
Hi, Just a quick question. I wonder if the package of car has been removed from the most current version of R. Or what can I do to renew it since I have to do the analysis with that? Thanks, yen __ [EMAIL PROTECTED] mailing list

Re: [R] a quick question about the package car?

2003-12-31 Thread Jonathan Baron
On 12/31/03 11:50, Yen-Sheng Chiang wrote: Hi, Just a quick question. I wonder if the package of car has been removed from the most current version of R. Or what can I do to renew it since I have to do the analysis with that? Car is still available on CRAN. You can get it and install it. E.g.,

Re: [R] a quick question about the package car?

2003-12-31 Thread Duncan Murdoch
On Wed, 31 Dec 2003 14:59:28 -0500, Jonathan Baron [EMAIL PROTECTED] wrote : install.packages(car) (I don't know if that works on Windows, but you didn't say what platform you are using.) Yes, it does. The more usual way in Windows is through the Packages | Install package(s) from CRAN.. menu

Re: [R] a quick question about the package car?

2003-12-31 Thread John Fox
Dear Yen-Sheng, As I responded when you wrote to me directly, the car package is one of the contributed packages on CRAN. I see that Duncan Murdoch and Jonathan Baron have given you essentially the same instructions as I did for installing it. Is there still a problem (or perhaps our emails