[R] loading error of the Rcmdr library on Debian Sid [SOLVED]

2004-09-17 Thread Thomas Schönhoff
Hello, hopefully someone will remember my previous problem to load the Rcmdr library from within GNU R resulting in an error message: libnvidia-tls.so.1: cannot handle TLS data. Some suggestions have been raised by Christian Schulz and others that unfortunately didn't work around this error.

[R] What is nu-regression for svm?

2004-09-17 Thread jmoreira
Does anyone knows what is the nu-regression option for the type parameter in svm (from package e1071)? I cannot find any explanation on that and I have a reasonable understanding on svm fundamentals. Thanks Joao Moreira __ [EMAIL PROTECTED] mailing

RE: [R] help with numerical solution for two simultaneous nonlinearequations in 2 variables

2004-09-17 Thread Ravi Varadhan
Hi, Suppose you have p equations in p unknowns: F1(x1,x2,...,xp) =0 . . . Fp(x1,x2,...,xp) = 0 You can solve the equivalent minimization problem: G(x1,x2,...,xp) = F1^2 + ... + Fp^2 = 0 So, you can use optim with G as your objective function. Hope this is helpful, Ravi. -Original

[R] pairs plot and legend

2004-09-17 Thread Sean Davis
I would like to add a legend to a pairs plot. Is there a simple way to do this? Just doing legend(.) doesn't seem to get it. Thanks, Sean __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

RE: [R] Proposal for New R List: Criticism? Comments?

2004-09-17 Thread Martin Maechler
Hi John et al. I'm coming late to this thread (because of vacation), JohnF == John Fox [EMAIL PROTECTED] on Fri, 10 Sep 2004 10:56:51 -0400 writes: JohnF Dear Brian et al., JohnF Jonathan's search site is excellent -- I use it JohnF frequently -- and for some reason new users

Re: [R] pairs plot and legend

2004-09-17 Thread Uwe Ligges
Sean Davis wrote: I would like to add a legend to a pairs plot. Is there a simple way to do this? Just doing legend(.) doesn't seem to get it. For sure you have specified wrong x,y values. See par(usr) for the range or try it interactively using: legend(locator(1), ..) Uwe Ligges

RE: [R] help with numerical solution for two simultaneous nonlinearequations in 2 variables

2004-09-17 Thread Joshi, Yogesh
Thank you - optim has solved my problem. Best regards, Yogesh -Original Message- Hi, Suppose you have p equations in p unknowns: F1(x1,x2,...,xp) =0 . . . Fp(x1,x2,...,xp) = 0 You can solve the equivalent minimization problem: G(x1,x2,...,xp) = F1^2 + ... + Fp^2 = 0 So, you can use

[R] library functions looks up wrong directory

2004-09-17 Thread Thomas Schnhoff
Hello, I just encountered this error from within R: -- library() Warning message: library '/usr/local/lib/R/site-library' contains no package in: library() --- which is

Re: [R] controlling printing precision in paste()

2004-09-17 Thread Sean Davis
Rene, Look at ?format. Sean On Sep 17, 2004, at 9:21 AM, RenE J.V. Bertin wrote: Hello, I can't seem to find the way to modify the precision with which paste() prints its floating point numbers, more precisely the number of decimal digits printed. This is apparently not controlled by options(

Re: [R] loading error of the Rcmdr library on Debian Sid [SOLVED]

2004-09-17 Thread A.J. Rossini
That sounds like the result of having a too-old nvidia-common and booting between 2.4 and 2.6 kernels. I believe that nvidia until 2.6 likes the TLS libs, under 2.4 doesn't. Thomas Schönhoff [EMAIL PROTECTED] writes: Hello, hopefully someone will remember my previous problem to load the

Re: [R] controlling printing precision in paste()

2004-09-17 Thread Dimitris Rizopoulos
Hi RenE, you could easily modify the paste function to get what you want, i.e., paste. - function (..., digits=16, sep= , collapse=NULL) { args - list(...) if (length(args) == 0) if (length(collapse) == 0) character(0) else else{ for(i in

Re: [R] library functions looks up wrong directory

2004-09-17 Thread Uwe Ligges
Thomas Schönhoff wrote: Hello, I just encountered this error from within R: -- library() Warning message: library '/usr/local/lib/R/site-library' contains no package in: library()

[R] Rggobi function error

2004-09-17 Thread Aruna Buddana
Hello, I was working with Rggobi and was trying to use the function setIdentifyHandler.ggobi(f). The error I am getting is Error in setIdentifyHandler.ggobi(f) : attempt to apply non-function The function setIdentifyHandler.ggobi is function (f, .gobi = getDefaultGGobi()) { gobj =

[R] How many records could I store in a dataframe?

2004-09-17 Thread wanr
Hi all, I have a dataframe with 2 variables and 6,000,000 records. It seems R will crash when the number of record is larger than 3,000,000. How many records could I store in a dataframe Rui __ [EMAIL PROTECTED] mailing list

Re: [R] How many records could I store in a dataframe?

2004-09-17 Thread Uwe Ligges
[EMAIL PROTECTED] wrote: Hi all, I have a dataframe with 2 variables and 6,000,000 records. It seems R will crash when the number of record is larger than 3,000,000. How many records could I store in a dataframe Which version of R, which OS? I don't think that R crashes, but it produces an

RE: [R] Proposal for New R List: Criticism? Comments?

2004-09-17 Thread John Fox
Dear Martin, Thanks for pointing this out -- I'm ashamed to say that I forgot about \concept{} entries. As you say (aside from people stupidly forgetting that they exist), the problem is to get people to use them. How about requiring one or more concept entries for each help file? Regards, John

[R] RSPerl Causes Segfaults with Perl 5.8.0 and R 1.9.1 on Redhat9

2004-09-17 Thread Eric
RSPerl causes random segfaults (it occassionally works) in Rf_isValidName () from /usr/lib/R/bin/libR.so when I call wilcox.test on some perl array references. This is with R built from the r-project source RPM modified to have the --enable-shared-R option and RSPerl built with the default

Re: [R] bagplot()

2004-09-17 Thread Martin Maechler
BDR == Prof Brian Ripley [EMAIL PROTECTED] on Mon, 13 Sep 2004 16:49:31 +0100 (BST) writes: BDR There is no bagplot function in S-PLUS. BDR There is one by Rousseeuw et al for S at BDR http://www.agoras.ua.ac.be/Locdept.htm BDR and a reply in the archives about the

[R] (no subject)

2004-09-17 Thread
I have one problem with finding the appropriate functions in R that would perform this operation: We have X, the independent variable, and Y, the response variable, so that a regression line of these variables can be calculated. Using the Student t distribution, we need to find the 95%

Re: [R] (no subject)

2004-09-17 Thread Spencer Graves
Have you considered predict.lm, at least in R 1.9.1? (If I understand your question, it is answered in the examples to predict.lm.) hope this helps. p.s. I believe this is described in Venables and Ripley, Modern Applied Statistics with S, but I don't have this book at my

Re: [R] lattice: bwplot and panel.lmline()

2004-09-17 Thread Deepayan Sarkar
On Friday 17 September 2004 13:52, RenE J.V. Bertin wrote: Hello again, I am doing regressions (using panel.lmline() (and panel.abline( rlm(...))) ) inside a panel method which I pass to bwplot(). What I would like to do is create a boxplot of categorised data (binned on the independent

[R] Using R to send to SOAP server?

2004-09-17 Thread Don MacQueen
I have an R process continuously monitoring a data stream. When the data meet certain criteria, I need to send a message to a SOAP server. Currently I'm doing this by making a system() call to execute a perl script, passing the message as an argument to the perl script. I'm wondering if it can

RE: [R] lattice: bwplot and panel.lmline()

2004-09-17 Thread Berton Gunter
I think that for this kind of purpose, it would be more intuitive if bwplot would accept numerical x data, together with a 'binning' argument (like histogram's nint). RenE I strongly disagree. That's what cut() and R's functional programming style is for. The number of arguments

[R] Confused about specifying plot colors as RGB values

2004-09-17 Thread Paul Roebuck
Based on reading 'rgb' documentation, I would have thought the following would have produced identical results. Can someone explain how to make this happen? I need to be able to specify an array of rgb values for the 'col' parameter. colnames.col - c(black, red, blue, green) colnames.rgb -

Re: [R] Using R to send to SOAP server?

2004-09-17 Thread Paul Roebuck
On Fri, 17 Sep 2004, Don MacQueen wrote: I have an R process continuously monitoring a data stream. When the data meet certain criteria, I need to send a message to a SOAP server. Currently I'm doing this by making a system() call to execute a perl script, passing the message as an argument

[R] Ploting Mean and SE on regression lines

2004-09-17 Thread Sivakumar Mohandass
Dear all, I wanted to plot the mean and standard error on the regression equation (instead of individual data points) in the following code, but I could not find the right code in the help files. Could someone please show how to do this. Thank you very much. temp - c(16,16,16,16,16,

[R] Removing constants from a data frame

2004-09-17 Thread David Forrest
Suppose I have x-data.frame(v1=1:4, v2=c(2,4,NA,7), v3=rep(1,4), v4=LETTERS[1:4],v5=rep('Z',4)) or a much larger frame, and I wish to test for and remove the constant numeric columns. I made: is.constant-function(x){identical(min(x),max(x))} and apply(x,2,is.constant) # Works for

[R] Help w/ custom pkg: ERROR: installing package indices failed

2004-09-17 Thread Seth Falcon
I'm using R 1.9.1 on Linux and am having trouble installing a package that I've written. Would very much appreciate a hint as to where to look to find my mistake. I can build the package, but when I try to install it, I get an error like: Error in FUN(X[[as.integer(1)]], ...) : subscript out

Re: [R] Help w/ custom pkg: ERROR: installing package indices failed

2004-09-17 Thread Seth Falcon
Turns out adding an \alias{} line to the problem Rd file fixed the issue. I'm somewhat surprised that a missing \alias line leads to error in FUN(X[[as.interger(1)]], ...) message. Perhaps there was something else going on (my Rd file is admittedly a bit sloppy)... + seth

[R] ANOVA help

2004-09-17 Thread Don
Hi, I have a question about applying ANOVA model on a specific experiment. I have cell samples from 3 subjects. Now I take some cells from them and treat them with two agents at two levels each. The data look like this. 3 samples of control cell 3 cell samples of level 1 of treatment 1 3 cell

Re: [R] Removing constants from a data frame

2004-09-17 Thread Kjetil Brinchmann Halvorsen
David Forrest wrote: Suppose I have x-data.frame(v1=1:4, v2=c(2,4,NA,7), v3=rep(1,4), v4=LETTERS[1:4],v5=rep('Z',4)) or a much larger frame, and I wish to test for and remove the constant numeric columns. I made: is.constant-function(x){identical(min(x),max(x))} and apply(x,2,is.constant)

Re: [R] lattice: bwplot and panel.lmline()

2004-09-17 Thread Deepayan Sarkar
On Friday 17 September 2004 15:04, RenE J.V. Bertin wrote: [...] Yes, somebody else pointed that out too. I had seen the argument, but not seen that it would carry the subscripts to the values being plotted in a given panel. Now it is obvious, of course ;) BTW: the xyplot manpage is not

[R] Pharmacokinetics using R

2004-09-17 Thread Pravin
Hi, I just wonder if R is still used for PK analysis. However, I have to use R for some purposes anyways. Here is a really strange problem I am running into and I hope to get some assistance from the group. The following code works fine in S-Plus (Population estimates and MAP estimates look