Re: [R] Optimization

2007-06-18 Thread Uwe Ligges
)^2 } optimize(fr, c(-5, 5)) Uwe Ligges It is the first time I am trying to use optimization. Could anyone give me some advice? __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] (no subject)

2007-06-17 Thread Uwe Ligges
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html It tells you to read the manuals *before* posting. There is a manual An Introduction to R and anotehr one called R Installation and Administration, both telling you how to install packages. Uwe Ligges K KAMALA wrote

Re: [R] problem with hist()

2007-06-15 Thread Uwe Ligges
). Uwe Ligges Ok, it seems you are right, but I'm a beginner in R, so maybe you can help me a little bit more. When I use the hist function, it automatically uses the frequency of the different numbers, so I will get normally 60 bars. When I use the barplot function, then I have to count

Re: [R] problem with hist()

2007-06-14 Thread Uwe Ligges
I do? I tried also hist(y, 1:60) # same effect and hist(y, 1:61) this give me 60 places, but only 59 bars. the last bar is 0. In fact, I am pretty sure you really want to have a barplot() rather than a histogram. If you really want to use hist(), then perhaps hist(y, 0:60). Uwe Ligges

Re: [R] export to a dat file that SAS can read

2007-06-13 Thread Uwe Ligges
it is... Uwe Ligges my data frame is like this: out13[1:100,] faridniveau1 niveau3 p1p3 antal1 210007995 0.0184891394 4.211306e-10 5.106471e-02 2.594580e-02 3 910076495 0.0140812953 3.858757e-10 1.065804e-01

Re: [R] extractor rows from a matrix

2007-06-13 Thread Uwe Ligges
to extract a row from a matrix and you do not know how: Please read the posting guide before posting and do what it says! Particularly: Please read An Introduction to R! Uwe Ligges what can i do? thank you! Vincenzo __ R-help@stat.math.ethz.ch

Re: [R] Design library installation problem

2007-06-13 Thread Uwe Ligges
asked questions (and nobody checks the mailing list archive before posting, obviously). Uwe Ligges I am using R.2.5.0 on Windows XP. Kind regards Ian __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

Re: [R] Cause of error message in cov function?

2007-06-13 Thread Uwe Ligges
. Does anyone know what this might have to do with? Is it a version issue (she's using R 2.1)? I'd appreciate any help!! It may be a version issue, but hard to say since we do not know what effects.cur() is, not do we have any data to reproduce this. Uwe Ligges Matt ERROR MESSAGE

Re: [R] Confusion with sapply

2007-06-13 Thread Uwe Ligges
call? I doubt it can work that way, because as.vector strips the attributes! Uwe Ligges TIA and best, -Tir __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

Re: [R] Read Windows-like .INI files into R data structure?

2007-06-13 Thread Uwe Ligges
Vladimir Eremeev wrote: Christophe Pallier wrote: var1=value1, A=value3 is almost pure R code. Is it possible to use this feature to solve the problem? Along the same lines: you may write a short script that converts the ini file into R code that can be sourced. From your example, you

Re: [R] design package

2007-06-11 Thread Uwe Ligges
(Design) Error in library(Design) : 'Design' is not a valid package -- installed 2.0.0? The error message means R, not the package. I did not find 2.x version of Design package for window 95. I installed one of two zip files available in the internet. Is the really Windows 95? Uwe Ligges

Re: [R] Dependency 'Design' is not available

2007-06-08 Thread Uwe Ligges
the checks under Windows and is not available for download. In this case please contact the package maintainer and convince him to fix the package. Uwe Ligges Is this warning serious? How to avoid this warning? Thanks _ Dr.Ruixin ZHU

Re: [R] names not inherited in functions

2007-06-07 Thread Uwe Ligges
Not sure what you are going to get. Can you shorten your functions and specify some example data? Then please tell us what your expected result is. Best, Uwe Ligges david dav wrote: Dear all, I 'd like to keep the names of variables when calling them in a function. An example might help

Re: [R] problem with Axis labels

2007-06-07 Thread Uwe Ligges
more generally usable. I am pretty sure the authors/maintainer (CCing the maintainer) of pamr will be happy about your contributions, if you submit well designed improvements. Best regards, Uwe Ligges Thanks Looking for people who are YOUR TYPE? Find them at in.groups.yahoo.com

Re: [R] naiveBayes other than e1071

2007-06-06 Thread Uwe Ligges
. Seriously, you might want to think about these data a bit. Many of them are highly skewed and have a large point mass at zero. Modeling the conditional probabilities using a normal distribution may not be the best idea. Max -Original Message- From: Uwe Ligges [mailto:[EMAIL

Re: [R] Linear Discriminant Analysis

2007-06-06 Thread Uwe Ligges
So what about asking your teacher (who seems to be Peter Filzmoser) and try to find out your homework yourself? You might want to think about some assumptions that must hold for LDA and look at the class of your explaining variables ... Uwe Ligges Soare Marcian-Alin wrote: Hello, I want

Re: [R] klaR stepclass

2007-06-05 Thread Uwe Ligges
, 10-fold cv is performed with randomly chosen partitions of the data. You can either run leave-one-out cv (which is rather time consuming) or use set.seed() in order to get reproducible results. Uwe Ligges Thanks in advance, Neil Losin __ R-help

Re: [R] integer to date-format

2007-06-05 Thread Uwe Ligges
Rina Miehs wrote: hello I have a problem... I have to subtract an integer from a date-format and that is not possible! The Exmaples section in ?DateTimeClasses shows that it works well: Sys.time() - 3600 # an hour ago Uwe Ligges How is it possible to convert an integer

Re: [R] Question using stepAIC

2007-06-05 Thread Uwe Ligges
of this list and learn to add appropriate line breaks to your messages or fix your Enter key. What is dat? Is it a data.frame in the Workspace? What R version, what version of MASS, which OS? Uwe Ligges [[alternative HTML version deleted]] __ R

Re: [R] naiveBayes other than e1071

2007-06-05 Thread Uwe Ligges
? Uwe Ligges Thanks, Saeed Kuhn, Max wrote: Saeed, There is a version in the klaR package. I recently submitted a change to the predict function that may be related to your problem. If: 1. the posterior probabilities (apart from the prior) are being approximated by the product

Re: [R] codamenu crash

2007-06-04 Thread Uwe Ligges
This is a known bug in the coda package and has already been reported to its maintainer. The same bug was reported here roughly a week ago. Please check the archives prior to posting. Uwe Ligges Pablo G Goicoechea wrote: Dear R users: I am a newby to R, under Windows XP. Sorry if my

Re: [R] ODP: Updating R version

2007-06-03 Thread Uwe Ligges
if it fixes the problem. Or more precisely, try update.packages(checkBuilt = TRUE) In any case, telling what you did and what the error message was would be much helpful in order to help. Uwe Ligges I would also suggest keeping all the additional packages (beyond R base installation

Re: [R] Problems compiling RMySQL

2007-06-03 Thread Uwe Ligges
paths. Uwe Ligges HTH -- David On 6/2/07, Paulino Perez Rodriguez [EMAIL PROTECTED] wrote: Hello, I am trying to compile/Install RMySQL_0.6-0 in R-2.4.1/2.5.0 under Windows XP MCE, I am using MySQL 5.0.41. I have followed the instructions in the file INSTALL.win, but I get some errors

Re: [R] object not found inside function

2007-06-02 Thread Uwe Ligges
Maria Montez wrote: Hi! When running the following code I get the message: Error in eval(expr, envir, enclos) : object A not found fm - function(p,ydata, env = parent.frame()) { #fit model y ~ (b0+b1x1+...+bpxp)*exp(g2plus*z2plus) where bi and g2plus are parameters #create design

Re: [R] Datapoints underneath datapoints Problem

2007-06-02 Thread Uwe Ligges
variable that will cause a difference. Uwe Ligges __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained

Re: [R] R keeps crashing when executing 'rlogspline'

2007-06-01 Thread Uwe Ligges
when rpois(1,10) returns zero and avoid calling rlogspline in those cases. And please do not forget to notify the package maintainer that there is a bug in the package. The maintainer will probably be happy to know about it. I am CCing to Charles Kooperberg. Uwe Ligges If 'zero.value

Re: [R] codamenu() :Error in coda.options....

2007-05-30 Thread Uwe Ligges
Please report bugs in packages to the package maintainer (CCing) including version information and platform such as for me in this case: Same for me, R-2.5.0, Windows XP, coda 0.11-1. Uwe Ligges Luwis Diya wrote: Dear all, I recently started having some problemd with the coda package. I

Re: [R] S4 object slot of type 'call'

2007-05-28 Thread Uwe Ligges
## CRASH using R-2.5.0 on Windows XP Uwe Ligges Thanks for any hint, Roberto __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html

Re: [R] removing all NA rows from a data.frame

2007-05-28 Thread Uwe Ligges
to remove the rows having NA in the first column (Start) What is the most elegant way to do this? I think I can use for loop to remove. I am looking for a better way. newX - X[!is.na(X[,1]),] Uwe Ligges Thanks Taka

Re: [R] S4 object slot of type 'call'

2007-05-28 Thread Uwe Ligges
Prof Brian Ripley wrote: On Mon, 28 May 2007, Uwe Ligges wrote: Roberto Brunelli wrote: I'm using an S4 object with a slot of type 'call': I would like to be able to initialize it with something like NULL or NA (indicating that there is no information in the slot) but the value

Re: [R] installing problems

2007-05-24 Thread Uwe Ligges
(default) and headers/libs are not available As the message tells you: You need to install readline headers and libs. Uwe Ligges linux:/opt/R/R-2.5.0 # after that i try to do : linux:/opt/R/R-2.5.0 # make make: *** No targets specified and no makefile found. Stop. i installed : xorg

Re: [R] make check prob with internet

2007-05-24 Thread Uwe Ligges
is expected, as the message above tells you. Uwe Ligges Any help would be much appreciated. thanks, sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: [EMAIL PROTECTED

Re: [R] Make check failure for R-2.4.1

2007-05-24 Thread Uwe Ligges
Some of these test are expected from time to time, since they are using random numbers. Just re-run. BTW: We do have R-2.5.0 these days. Uwe Ligges Adam Witney wrote: I'm trying to install R-2.4.1, everything configure's and make's OK, but the make check fails: running code in 'd-p-q-r

Re: [R] Where is package Umacs?

2007-05-23 Thread Uwe Ligges
and Metropolis algorithm for Bayesian inference ... Typing Umacs in Google yields http://www.stat.columbia.edu/~kerman/Research/umacs.html and the same promise is stated there as well. Hence I'd ask the package author in spe rather than R-help. Uwe Ligges

Re: [R] Segfault?

2007-05-22 Thread Uwe Ligges
list pops up, I select a mirror 3. R segfaults. Maybe I need to update to a newer version of R or something? Yes. Uwe Ligges Slightly OT, but does anyone know where coredumps end up on Mac OS X? Thanks. Some details are below. output: -8

Re: [R] Running an R script without running R

2007-05-21 Thread Uwe Ligges
/Linux Fedora Core 4. No, R must be invoked, at least implicitly. Uwe Ligges Alberto Monteiro __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org

Re: [R] Source code of add1

2007-05-21 Thread Uwe Ligges
News article: Ligges, U. (2006): R Help Desk: Accessing the Sources. R News 6 (4), 43-45. Uwe Ligges Prof. Dr. Antonio José Sáez Castillo Dpto. de Estadística e Investigación Operativa. Universidad de Jaén Escuela Politécnica Superior de Linares. Dep

Re: [R] miktex 2.6 and R

2007-05-20 Thread Uwe Ligges
to fix this problem. Any thoughts? I think finding the style file works now -- there is a workaround in R. Uwe Ligges Thanks, Steve __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] basic math question?

2007-05-20 Thread Uwe Ligges
is not unique. BTW: In what sense is this related to R(-help)? Uwe Ligges I need an estimate of b. How can I do model and code this? Again, b is a power term of a and b^a are divided by c. Thank you, Jeff Checked by AVG Free Edition. PM [[alternative HTML

Re: [R] trouble installing RWinEdt

2007-05-17 Thread Uwe Ligges
problem, at least in 2005, but wasn't sure if there's a more current solution. Which versions of R, WinEdt and Windows are you using? Where is WinEdt installed and does it have corresponding entries in the Windows registry? Uwe Ligges Thanks, Andrew [[alternative HTML version deleted

Re: [R] help with executing instruction every i-th run of loop

2007-05-17 Thread Uwe Ligges
, results.tmp)} } logical.test would test to see if i/1000 has no remainder. What R function would test that? !(i %% 1000) Uwe Ligges Is there an even better way to address my need? Thanks, Mark __ R-help@stat.math.ethz.ch mailing

Re: [R] How to extract R codes that embedded in a HTML file using Stangle?

2007-05-15 Thread Uwe Ligges
Tao Shi wrote: I'm using R2HTML package to generate reports, but don't know how to extract R codes from .rnw files using Stangle. It seems Stangle only works on ..tex file that has R codes embedded. Stangle is meant for Rnw files, not for html ... Uwe Ligges Thanks, Tao

Re: [R] Install SciView under Windows Vista

2007-05-03 Thread Uwe Ligges
I guess you have an outdated version of R2HTML. Please run update.packages(checkBuilt=TRUE) and try again. If it still does not work, please notify its package maintainer and tell him the package's version number. Uwe Ligges Tim Sippel wrote: Hello- I have been trying to install SciView

Re: [R] RWinEdt and Windows Vista

2007-04-28 Thread Uwe Ligges
with administrator privileges. Please report whether it works or not, since I do not have a Vista machine available to try it out myself. Thanks. Uwe Ligges (as the package maintainer of RWinEdt) Best wishes! Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http

Re: [R] normalizing affy data caused an error

2007-04-28 Thread Uwe Ligges
There is the Bioconductor mailing list for questions related to BioConductor. People on that list are more likely to be of help on related questions. Best, Uwe Ligges PI - ReadAffy() PI AffyBatch object size of arrays=712x712 features (14 kb) cdf=ATH1-121501 (??? affyids) number

Re: [R] Using factors in R

2007-04-28 Thread Uwe Ligges
example code that solves your problem - as the posting guide suggests. Uwe Ligges I should I do this? Thank you in advance. Kind regards, Pedro Sobral [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list

Re: [R] NA in lm()

2007-04-26 Thread Uwe Ligges
? Is the regression is not able to solve for these coefficients due to some reason. Or does this mean that i should not consider these terms. Are there any factors with more than 2 levels? We need some more details... Uwe Ligges Regards, __ R-help

Re: [R] Problem opening connections to removable hard drive

2007-04-26 Thread Uwe Ligges
I tried with R-2.4.1 and R-2.5.0 - it works for me. Can you please try again with R-2.5.0? Uwe Ligges Elizabeth Purdom wrote: Hi, I have my files and R session on a portable hard drive to be able to work across computers since I have some extremely large files. I have just started doing

Re: [R] error mesage

2007-04-26 Thread Uwe Ligges
Emily Townsend wrote: Error reading header after processing 0 entries I am able to download but unable to open and the above is the error message I receive. Any ideas? Read the posting guide and tell us what you tried! Uwe Ligges Thanks Emily Townsend [[alternative

Re: [R] R Anova

2007-04-25 Thread Uwe Ligges
and read the manuals? Uwe Ligges thanks __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained

Re: [R] simulate values

2007-04-25 Thread Uwe Ligges
Soare Marcian-Alin wrote: Hello, I want to simulate 100 values of the ARMA Process with this function: x[i] = 0.5 * x[i-1] + 0.2 * x[i-2] + x[i] + 0.9 * x[i-1] + 0.2 * x[i-2] + 0.3 * x[i-3] There is no kind of noise in your model, hence no need to do any simulation so far ... Uwe

Re: [R] Analysis of Variance

2007-04-25 Thread Uwe Ligges
to do the homework yourself and read the manuals... It also makes sense to specify the model rather than just providing some data. Uwe Ligges __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] Changing working directory

2007-04-23 Thread Uwe Ligges
(/path/to/other/.RData) load(.RData) Uwe Ligges Thanks, Walt Paczkowski __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html

Re: [R] Documentation for namespaces

2007-04-23 Thread Uwe Ligges
See the article Tierney, L. (2003): Name Space Management for R, R News 3 (1), 2-6. Uwe Ligges Terry Therneau wrote: Brian Ripley recently replied to a comment of mine by referring to a function 'assignInNamespace', which I had not heard of. Is there a good write up on name spaces

Re: [R] It is possible to Expand RAM with HD space?

2007-04-17 Thread Uwe Ligges
. You do not need to care about it. Uwe Ligges I'm trying to make a variogram, and I don't want to sacrifice the precision of the data, e.g. using mean or median by defined pixels or something like that (now I have to do that, or use other software like SAS). Thanks in advance

Re: [R] Question for install Rapache package.

2007-04-16 Thread Uwe Ligges
and Administration manual? Uwe Ligges __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained

Re: [R] R Source Code

2007-04-13 Thread Uwe Ligges
and they are compressed files. Do I mean to de-compress these files where the source codes reside ? You can download the sources from CRAN. Uwe Ligges Any hint would be useful. Cheers, Sione. __ [EMAIL PROTECTED] mailing list https

Re: [R] pattern

2007-04-12 Thread Uwe Ligges
)?) endingTest - length(grep(\\.mat$, ANSWER)) if(!endingTest) cat(saving place not accepted\n) else cat(Thank you! The current workspace will be stored in:, ANSWER, \n\n) } filename - userInput() Uwe Ligges Before I enter the if loop I must test if the text stored

Re: [R] Computing fundamental harmonics from a periodogram

2007-04-11 Thread Uwe Ligges
can be found in package tuneR. For a short example how to use it, type: install.packages(tuneR) library(tuneR) ?tuneR For polyphonic sound, I do not know any method that is both sufficiently fast (i.e. calculates results for a 1 minute sound in less than a day) and accurate. Uwe Ligges

Re: [R] Computing fundamental harmonics from a periodogram

2007-04-11 Thread Uwe Ligges
hadley wickham wrote: On 4/11/07, Uwe Ligges [EMAIL PROTECTED] wrote: hadley wickham wrote: Dear all, I'm trying to finding the fundamental harmonics (ie. peaks in a periodogram) from a time series (extracted from an mp3). For example, if I look at spectrum(fdeaths, spans = c

Re: [R] regular expression

2007-04-07 Thread Uwe Ligges
Laurent Rhelp wrote: Uwe Ligges a écrit : Laurent Rhelp wrote: Dear R-List, I have a great many files in a directory and I would like to replace in every file the character by the character ' and in the same time, I have to change ' by '' (i.e. the character ' twice

Re: [R] regular expression

2007-04-06 Thread Uwe Ligges
going to replace certain characters by others without any fuzzy restrictions: x - \.'..\ cat(x, \n) xn - gsub('', ', gsub(', '', x)) cat(xn, \n) Uwe Ligges Thank you very much __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch

Re: [R] REPLACE and REMOVE fns

2007-04-04 Thread Uwe Ligges
Tina Robles wrote: I want to use the replace function on R_Jeter_04_post (see attached) so that S=1, D=1, T=1, HR=1, O=0, K=0, E=0, FC=0, and W,IW,and HP are removed, so that i have a simple list of 1's and 0's. There are just 0's and 1's in your attachment ... Uwe Ligges I understand

Re: [R] Problem with R library

2007-04-04 Thread Uwe Ligges
R, it didn't ask me for this option. I want to ask you how to share le library in R? And when I can find the library ? I didn't find none file .dll for library needed. It means R.dll which is a shared library and lives in R\bin which is the folder you need to specify in your PATH variable. Uwe

Re: [R] Regarding Vista

2007-03-28 Thread Uwe Ligges
installations on 32-bit versions of Vista. Check the mailing list archives for hints on installing additional packages, if that won't work at once for you. Uwe Ligges Thanks for this help in advance -gaurav Sayonara With Smile With Warm Regards :-) G a u r a v Y a d a v

Re: [R] substitute NA values

2007-03-28 Thread Uwe Ligges
See ?is.na and use its result for indexing. Uwe Ligges Sergio Della Franca wrote: Dearl R-Helpers, I have the following data set: YEAR PRODUCTS 1990 2478 1995 3192 2000 NA 2005 1594 I wanto to replace NA values, in the PRODUCTS column, with 0. How can i

Re: [R] changes in behaviour of Rcmd SHLIB since 2.4.0

2007-03-28 Thread Uwe Ligges
Since R-2.4.0 less symbols are exported from R.dll. Uwe Ligges [EMAIL PROTECTED] wrote: Dear all, I have some C code using the zlib uncompress. It compiles fine under Win XP (with SP2) with R up to 2.3.1 and generates four files (Makedeps, *.d, *.dll, and *.o): C:\Data\R-packages

Re: [R] fitting data with conditions

2007-03-28 Thread Uwe Ligges
[2]) - 5.2)^2 + (qlnorm(0.99, meanlog = x[1], sdlog = x[2]) - 6.1)^2 } using optim() as in optim(c(1,1), foo) Uwe Ligges [EMAIL PROTECTED] wrote: Mich beschäftig folgende Fragestellung. Ich kenne die Verteilung (lognormal) zusätzlich weiss ich das 99%, das 90% und das 1% Quantil

Re: [R] BRugs command modelGenInits() crashes R version 2.4.1 (windows)

2007-03-26 Thread Uwe Ligges
Mark Fisher wrote: Is it appropriate to ask about this here? (I didn't see anything in the FAQ.) Can you please send me (the package maintainer) a reproducible example that crashes R in a private message? Thanks, Uwe Ligges --Mark __ R

Re: [R] Space for X and Y axis labels

2007-03-24 Thread Uwe Ligges
Your exampleisnot reproducible, but I guess you want to change the par(mar) setting ... Uwe Ligges Joseph Wakeling wrote: Hello all, I'm having a bit of a problem with x and y axis labels. Two things: first, if I want to create a plot with, plot.new() plot.window

Re: [R] Space for X and Y axis labels

2007-03-24 Thread Uwe Ligges
Joseph Wakeling wrote: Uwe Ligges wrote: Your exampleisnot reproducible, but I guess you want to change the par(mar) setting ... Sorry for not adding some extra stuff to make it work. I assumed there wasn't a need for reproducibility, just to let me know what command was missing

Re: [R] Fitting a line to a qqplot's points?

2007-03-23 Thread Uwe Ligges
to R.) See ?qqplot and what its value is: x - rnorm(10) y - rnorm(10) qq - qqplot(x, y) cor(qq$x, qq$y) Uwe Ligges Thanks, --Paul __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] Fitting a line to a qqplot's points?

2007-03-23 Thread Uwe Ligges
Uwe Ligges wrote: Paul Lynch wrote: I've made some normal plots of my data using qqplot, and now I would like to fit a line to the points on the plot and check the correlation coefficient to have a more objective measure of how straight the line is. Is there a simple way of doing

Re: [R] landscape pdf

2007-03-23 Thread Uwe Ligges
to directly produce landscape pdf-plots with R? By setting arguments width height? Uwe Ligges Thanks for any help. Greetings, Sebastian __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] Subset

2007-03-23 Thread Uwe Ligges
See ?subset !!! And please do read the psoting guide. Uwe Ligges Sergio Della Franca wrote: Dear R-Helpers, I have this dataset: YEARPRODUCTS cluster 1 10 2 2 42 3 3 25 2 4 42 3 5

Re: [R] Problem installing packages in R 2.4.1

2007-03-22 Thread Uwe Ligges
with Administrator privileges. If another version of Windows, please retry to install rgenoud and remove any prior versions manually, the binary package on CRAN is fine. Uwe Ligges __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

Re: [R] package:AlgDesign and .Random.seed

2007-03-21 Thread Uwe Ligges
? The first line in that function is seed - .Random.seed but .Random.seed is generated at the first use of R's RNG, hence maybe later. This means the function contains a bug which you should report to the package maintainer, please. Best, Uwe Ligges sessionInfo() R version 2.4.1 (2006

Re: [R] Detailed legend in mathplot ...

2007-03-21 Thread Uwe Ligges
that fits to your code? Best, Uwe Ligges Sincerely, Petar __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented

Re: [R] Detailed legend in mathplot ...

2007-03-21 Thread Uwe Ligges
? Is the help page for ?legend not clear enough? I'd just do straightforward legend(1, 1, legend = names(DAT)[3:4], lty = c(dashed, solid)) Otherwise, I do not understand your question. Best, Uwe Ligges Thank you in advance, Petar On Wed, 2007-03-21 at 09:37 +0100, Uwe Ligges wrote

Re: [R] package:AlgDesign and .Random.seed

2007-03-21 Thread Uwe Ligges
generator. If you want to reproduce work later, call set.seed rather than set .Random.seed. Uwe Ligges Michael Kubovy wrote: On Mar 21, 2007, at 4:16 AM, Uwe Ligges wrote: Michael Kubovy wrote: Dear r-helpers, Could you please help me solve the following problem: When I run require(AlgDesign

Re: [R] abline within data range

2007-03-20 Thread Uwe Ligges
) abline(lm(y~x)) # I would like abline is between min(x) and max(x) Just make it yourself as in: newdat - data.frame(x = range(x)) pred - predict(lm(y ~ x), newdata = newdat) lines(newdat$x, pred) Uwe Ligges [[alternative HTML version deleted

Re: [R] Defining a floor value in a data.frame on a row-by-row basis

2007-03-16 Thread Uwe Ligges
, but there has to be a way which I can avoid it... sapply(x, function(xc) ifelse(xc y, y, xc)) Uwe Ligges Thanks in advance. - Ken __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] Complex superscript plot text

2007-03-16 Thread Uwe Ligges
, predict(lm(y~I(x^2 mtext(text= expression(R^2 * : * GoodnessOfFits[graphNumber])) plot(x,y) lines(x, predict(lm(y~I(x^2 mtext(text = substitute(R^2 == GF, list(GF = GoodnessOfFits[graphNumber])), line = 1) Uwe Ligges I recognize that in this example, I could extract the R

Re: [R] How to use result of approxfun in a package?

2007-03-16 Thread Uwe Ligges
that executes it during either loading the installed package or during installation if a saved image of the packages is used, depending on the setting in your DESCRIPTION file. Uwe Ligges Thanks, Steve --- Steve Buyske (rhymes with nice key) Associate Research Professor Department of Statistics

Re: [R] RMySQL on win32

2007-03-13 Thread Uwe Ligges
If you have gcc installed, yes, still a path issue: You have tp put MinGW's ./bin directory into your PATH. Best, uwe Pete Cap wrote: */Uwe Ligges [EMAIL PROTECTED]/* wrote: Please follow the Instructions to set up your build environment as mentioned in the R Installation

Re: [R] 'persp' but only axes

2007-03-12 Thread Uwe Ligges
For example: persp(., col = NA, border = NA) Uwe Ligges [EMAIL PROTECTED] wrote: Hi all: I need to 3D graph using 'persp', but I need only to draw the axes of the graph, not data. Can anybody help me? Thank you in advance. /salva

Re: [R] RMySQL on win32

2007-03-12 Thread Uwe Ligges
build environment as mentioned in the R Installation and Administration manual. That includes installing the tools from Duncan Murdochs Webpage and putting it into your path. You either forgot to install those tools or you forgot to add it to your PATH environment variable. Uwe Ligges

Re: [R] RMySQL on win32

2007-03-10 Thread Uwe Ligges
Pete Cap wrote: List, I just left an environment where I was running R and mysql on CENTOS. At the time of install, RMySQL was available on CRAN. Later installs on Ubuntu were possible because it was available as a package in the base repos. Now I'm in a new environment where I have

Re: [R] lpSolve space problem in R 2.4.1 on Windows XP

2007-03-09 Thread Uwe Ligges
If R is closed that way (i.e. crashes), it is a bug by definition: either in R or (more probable) in the package. Can you please contact the package maintainer to sort things out. Thanks, Uwe Ligges Talbot Katz wrote: Hi. I am trying to use the linear optimizer from package lpSolve

Re: [R] Memory error

2007-03-08 Thread Uwe Ligges
architecture (which means 32 bit), you cannot go on here. Probably it is the best idea to put the data from SPSS into some database and use that database from R. Uwe Ligges Background info: [EMAIL PROTECTED]:~$ uname -a Linux perrin 2.6.18 #1 SMP Tue Feb 6 14:20:44 EST 2007 i686 GNU

Re: [R] ATLAS for MacBook?

2007-03-08 Thread Uwe Ligges
and Administration, chapter Installing R under Windows, section Building from source, subsection Getting the source files. Uwe Ligges thanks! Jonathan Zhang Marketing Department Columbia Business School. __ R-help@stat.math.ethz.ch mailing

Re: [R] compiling latest version of R

2007-03-07 Thread Uwe Ligges
these errors? 1. 2.4.1 is recent, not 2.3.1 as shown at the bottom. 2. You have some R-2.4.0 in your path or set in your R_LIBS, remove that one first. Uwe Ligges configure make ... ... ... f90: CODE: 0 WORDS, DATA: 0 WORDS gcc -G -L/usr/local/lib -o stats.so init.o kmeans.o ansari.o

Re: [R] ATLAS for Pentium D and Pentium Duo Core?

2007-03-07 Thread Uwe Ligges
please contribute! Uwe Ligges Thank you! Jonathan Zhang Marketing Division Columbia Business School __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

Re: [R] Off topic:Spam on R-help increase?

2007-03-06 Thread Uwe Ligges
Carlos Guerra wrote: Dear Gunter, I am having the same problem at my email box. Our warmest thanks to Martin Maechler who managed to keep us free from spam for so many years on the R mailing lists!!! Uwe Ligges Bert Gunter escreveu: Folks: In the past 2 days I have seen a large

Re: [R] Memory Limits in Ubuntu Linux

2007-03-06 Thread Uwe Ligges
trying. Uwe Ligges 2) Recompile R to get bigger memory capability? (I'll have to cross-post to some R forums too) This will be a challenge for a Linux newbie...like me. 3) Any other suggestions? My goal is to create a bigger neural network than fits in my Windows R version

Re: [R] Subseting data frame based on column names

2007-03-06 Thread Uwe Ligges
] Uwe Ligges Thanks in advance, AG Lee [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org

Re: [R] package installation for windows vista

2007-03-04 Thread Uwe Ligges
See, e.g., RSiteSearch(Vista Package) Uwe Ligges Jungpin Wu wrote: Hi guys, How to install selected packages for R 2.4.1 under windows vista? Thanks a lot. JP [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch

Re: [R] get more than get

2007-02-28 Thread Uwe Ligges
or get(x)^2 Uwe Ligges Alberto Monteiro __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained

Re: [R] Datamining-package rattle() Errors

2007-02-27 Thread Uwe Ligges
Obviously the rattle folks a) have a not that up to date version of rattle on CRAN and b) failed to set up the Windows repository correctly on http://rattle.togaware.com/ Uwe Ligges j.joshua thomas wrote: I browse through the web link http://rattle.togaware.com/ and followed

Re: [R] Scatterplot3d-proposal

2007-01-23 Thread Uwe Ligges
or whatever you like. Uwe Ligges Duncan Murdoch __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self

<    1   2   3   4   5   6   7   8   9   10   >