Re: [R] factor analysis (pca): how to get the 'communalities'?

2003-01-03 Thread ripley
On Fri, 3 Jan 2003, Wolfgang Lindner wrote: I try some test data for a factorAnalysis (resp. pca) in the sense of Prof. Well, factor analysis and pca are different things, and only one is appropriate in a given problem. Ripley's MASS ยง 11.1, p. 330 ff., Eh? Would that be *Venables

[R] R talking to Oracle, ODBC drivers available ?

2003-01-03 Thread Luke Whitaker
[sorry, but this is a re-post - I forgot to set the subject line the first time around] Hello, I would like to access an Oracle database running on Solaris from R on my linux desktop. I have had a look at the R Data Import/Export manual, and downloaded RODBC and unixODBC, but I am still quite

[R] Interfacing R and C++ under Windows

2003-01-03 Thread Pijus Virketis
Dear all, My colleague, who has been helping me with wrapping some older C++ code for use in R, has been running into some issues, which he asked me to post here: - ERROR is defined in RS.h which is included in Rdefines.h which conflicts with Visual Studio's ERROR - TRACE is defined in

[R] RE: stange behavior of subset [] (was: lowess + turnpoints = doubling integers?)

2003-01-03 Thread Philippe Grosjean
Tom Blackwell wrote: ... I summarized this to myself as computed subscripts need explicit rounding in R, but not in S. Here's the sample code which gave me different results with R than with Splus. I no longer have Splus available, so I can't check it again. look - (10 * seq(14)) - 76 chk.1 -

Re: [R] Interfacing R and C++ under Windows

2003-01-03 Thread ripley
On Fri, 3 Jan 2003, Pijus Virketis wrote: My colleague, who has been helping me with wrapping some older C++ code for use in R, has been running into some issues, which he asked me to post here: - ERROR is defined in RS.h which is included in Rdefines.h which conflicts with Visual Studio's

[R] help.start() directory?

2003-01-03 Thread Michael A. Miller
The help for help.start says that All the packages in the known library trees are linked to directory `.R' in the per-session temporary directory. The links are re-made each time help.start is run, which should be done after packages are installed, updated or removed. It used to be the

[R] number plot symbol in scatterplot?

2003-01-03 Thread Simpson, William
If I make a scatterplot and several (e.g. 5) points lie on top of each other at a given x,y location I would like the plot symbol to be the number of superimposed points (e.g. 5). Could someone please tell me how to do this in R? Thanks! Bill Simpson

Re: [R] number plot symbol in scatterplot?

2003-01-03 Thread Martin Maechler
BillS == Simpson, William [EMAIL PROTECTED] on Fri, 3 Jan 2003 09:41:32 -0500 writes: BillS If I make a scatterplot and several (e.g. 5) points BillS lie on top of each other at a given x,y location I BillS would like the plot symbol to be the number of BillS superimposed

Re: [R] number plot symbol in scatterplot?

2003-01-03 Thread Thomas W Blackwell
Bill - The behavior of the old-S function printer() was to count overstrikes in the way you describe. This was a non-graphics output device which would make a crude scatterplot using ascii characters (spaces and asterisks, for example) in response to plot() commands. I've looked for printer

Re: [R] as.POSIXct problem?

2003-01-03 Thread Don MacQueen
No problem on a couple of systems here, one Solaris and one Mac OS X. See below. The conversion of a character string to a POSIXct is taking place in two steps--character string to POSIXlt, then POSIXlt to POSIXct. Which step has the problem? Compare your unclass(x) with my unclass(x). If

Re: [R] R talking to Oracle, ODBC drivers available ?

2003-01-03 Thread Don MacQueen
I believe that Oracle provides ODBC drivers for the server side--provided you have an Oracle administrator who can figure out how to install them. I couldn't find much documentation. For another commercial source see www.openlink.com (don't know if they have client drivers for Linux). -Don

[R] Tutorials?

2003-01-03 Thread Joshua Gramlich
Are there any tutorials or books for learning R? Of course, I have the manual, but that seems more of a reference than a teaching tool. Joshua Gramlich Chicago, IL __ [EMAIL PROTECTED] mailing list http://www.stat.math.ethz.ch/mailman/listinfo/r-help

Re: [R] Tutorials?

2003-01-03 Thread Marc R. Feldesman
An Introduction to R, The R Core Team An Introduction to Statistics with R, Peter Dalgaard Modern Applied Statistics with S, W.N. Venables and B.D. Ripley, 4th Edition. And many others with links on http://cran.r-project.org/ under Contributed|Documentation

Re: [R] help.start() directory?

2003-01-03 Thread ripley
On Fri, 3 Jan 2003 [EMAIL PROTECTED] wrote: No, but as these are links you can bookmark the places they link to. Oh, and the reason we now do it this way is that you can have two simultaneous R sessions with quite different library trees, possibly different versions of R running on different

[R] Re: Embedding windows in a text widget

2003-01-03 Thread John Zhang
Could someone tell me how to embed windows in a text box using tkcreate command of R tcltk package? I tried the following and was not successful; base - tktoplevel() text - tktext(base, width = 30, height = 10) tkpack(text) button - tkbutton(text, text = try) tkcreate(text, window, end, window =

RE: Take care with codes()! (was [R] type of representation)

2003-01-03 Thread Warnes, Gregory R
Ahh yes, sorry about that. Here's the corrected snippet: # Create an Example Data Frame Containing Car x Color data carnames - c(bmw,renault,mercedes,seat) carcolors - c(red,white,silver,green) datavals - round(rnorm(16, mean=10, sd=4),1) data - data.frame(Car=rep(carnames,4),

Re: [R] factor analysis (pca): how to get the 'communalities'?

2003-01-03 Thread Wolfgang Lindner
Scot, thank you very much for your wonderful clear and short fix of my first problem: seeing your solution as one-liner in the impressive insightful syntax of R is really an aesthetic experience for me: | I ran your example and found that you can get the eigenvalues SPSS by [..] |

Re: [R] Tutorials?

2003-01-03 Thread Wolfgang Lindner
Joshua, it's is always risky to give recommendations, but I have also learned much from [1] Myatt: Open Source Solutions - R. (a free brief introduction to using the R environment in Rich Text (.RTF) and Acrobat (PDF) formats and including sample data written by Mark Myatt [EMAIL PROTECTED],

Re: [R] factor analysis (pca): how to get the 'communalities'?

2003-01-03 Thread Brett Magill
If interested, on my web site I have code to do factor analysis by PC. Does exactly as below, but a nice wrapper to print methods, rotations, sorting, and other conveniences. home.earthlink.net/~bmagill/MyMisc.html The relevant code snipets are prinfact, plot.pfa, and print.pfa, along with

Re: [R] as.POSIXct problem?

2003-01-03 Thread Peter Dalgaard BSA
[EMAIL PROTECTED] writes: Can you supply us with details? For the ISO C99 standard actually says The mktime function returns the specified calendar time encoded as a value of type time_t. If the calendar time cannot be represented, the function returns the value (time_t)-1. and that is

Re: [R] as.POSIXct problem?

2003-01-03 Thread Suchandra Thapa
On Fri, 2003-01-03 at 13:52, [EMAIL PROTECTED] wrote: Can you supply us with details? For the ISO C99 standard actually says The mktime function returns the specified calendar time encoded as a value of type time_t. If the calendar time cannot be represented, the function