Re: [R] cbind and automatic type conversion

2010-05-02 Thread Uwe Ligges
quot;Own Bootstrap", "R Bootstrap") normalerrors <- data.frame( method = gl(length(labels), S, labels = labels), ge = c(classicge[,1], ownge[,1], rbootge[,1])) Best, Uwe Ligges TIA, Best regards, Giovanni [[alternative HTML version deleted]]

Re: [R] rpart, cross-validation errors question

2010-05-03 Thread Uwe Ligges
On 03.05.2010 04:26, Claudia Penaloza wrote: I ran this code (several times) from the Quick-R web page ( http://www.statmethods.net/advstats/cart.html) but my cross-validation errors increase instead of decrease (same thing happens with an unrelated data set). Why does this happen? Since the

Re: [R] Problem with vignette compilation during R CMD check

2010-05-03 Thread Uwe Ligges
Move everything in ./inst/doc that is required for the vignette. Best, Uwe Ligges On 03.05.2010 05:00, Sébastien Bihorel wrote: Dear R-users, I am going through the last steps of package prep before submission to CRAN and I have the following problem. My package contains a single vignette

Re: [R] Shell command help

2010-05-03 Thread Uwe Ligges
e shell (and the underlking system()) call: shell('"C:\\programx.exe" -import "C:\\inputx.inp" -run –quit') Best, Uwe Ligges but I am not getting anywhere. Can you provide any insight as to how to do the rest? Thank you, Galen

Re: [R] tracing the origin of warning messages

2010-05-03 Thread Uwe Ligges
Use options(warn=2) Uwe Ligges On 03.05.2010 08:55, Thomas Wutzler wrote: Dear R Users, what is the best way to trace the origin of warning messages? If an error occurs I can use traceback() to see where it comes from. I would like to do similar investigation, where a warning message

Re: [R] aregImpute (Hmisc package) : error in matxv(X, xcof)...

2010-05-04 Thread Uwe Ligges
Having reproducible examples including data and the actual call that lead to the error would be really helpful to be able to help. Uwe Ligges On 04.05.2010 12:23, Marc Carpentier wrote: Dear r-help list, I'm trying to use multiple imputation for my MSc thesis. Having good exemples usin

Re: [R] more strange behavior of Revolution R 1.3.0

2009-09-24 Thread Uwe Ligges
Please discuss with REvolution support. Most of us do not have a version of REvolution R. Uwe Ligges Jason Liao wrote: It runs more than twice as slowly using 8 core than using a single core in inverting large matrix. Tested on 8 core Windows XP 64 machine. n = 1000 n.simu = 100

Re: [R] Problem with downloading workspace file from a web address

2009-09-27 Thread Uwe Ligges
load(url("http://phhs80.googlepages.com/workspace20090922";)) work for you? Uwe Ligges Thanks in advance, Paul __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-pr

Re: [R] Fwd: generic methods - in particular the summary function

2009-09-27 Thread Uwe Ligges
hould do it if you have a namespace (do not export the function but declare it as an S3 method). And yes, it is a good idea to add a namespace. Best, Uwe Ligges Thanks in advance Christophe -- Christophe Dutang Ph.D. student at ISFA, Lyon, France website: http://dutangc.free.fr -- Christoph

Re: [R] NLM

2009-09-27 Thread Uwe Ligges
lso some examples on that help page. Uwe Ligges Please help! Andy __ R-help@r-project.org 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 commen

Re: [R] How to open only one file in a .gz file?

2009-09-27 Thread Uwe Ligges
Peng Yu wrote: Hi, Suppose that there are multiple files in a .gz file. Well, the extension .gz regularly stand for a (single) gzip compressed file. Tyoically you will find more tan one file in a tar archive or a zip compressed archive. For the latter see ?unz. Uwe Ligges How to

Re: [R] error while plotting

2009-09-27 Thread Uwe Ligges
e"], .Names = rownames(sig.data, conf.int = sig.data[,4:5], ctype = "ABCC4-2007"), class = "hmtest") par(mex=0.5) #This helps to accomodate the margins when text is getting cut off plot(my.hmtest, cex.axis=0.7) There is not method plot.hmtest defined anywhe

Re: [R] Check value interval in a if loop

2009-09-27 Thread Uwe Ligges
or", such as & (for vectors) or && (for scalar values). Uwe Ligges Thanks in advance Lucas _ [[alternative HTML version deleted]] __ R-help@

Re: [R] R CMD INSTALL --build: Folders /inst and /etc not in zip-file and WindowsXP locks /library/[package]/etc/

2009-09-27 Thread Uwe Ligges
ever finished and hangs up due to misconfiguration of your tools or due to wrong permissions somewhere. I do not have any problem and explicitly tested with ./inst/etc/menus.txt (only difference is that I do not have exactly Rtools10 installed, but something that is extremely close). Try to make

Re: [R] error while plotting

2009-09-28 Thread Uwe Ligges
Perhaps you explain us how you really generate the data that are results from the multcomp package. Then it would probbaly be clear how to proceed. Uwe Ligges Nair, Murlidharan T wrote: I am trying to plot the confidence limits form multiple comparison analysis. How do I need to construct

Re: [R] plot error -- figure margins too large

2009-09-29 Thread Uwe Ligges
I was using the following codes, it almost showed what I would like, but the figure ended with only the last sub-plot. The only difference between the two is I was attempting to add a main-label in the figure. To add a main label, use the code above and add: title("Multiple figures in a plo

Re: [R] error while plotting

2009-09-29 Thread Uwe Ligges
Nair, Murlidharan T wrote: -Original Message- From: Uwe Ligges [mailto:lig...@statistik.tu-dortmund.de] Sent: Sunday, September 27, 2009 1:17 PM To: Nair, Murlidharan T Cc: r-help@r-project.org Subject: Re: [R] error while plotting Nair, Murlidharan T wrote: I am getting the

Re: [R] Cannot allocate memory of size x on Linux - what's the solution?

2009-09-29 Thread Uwe Ligges
for the given problem. If it is much less (around 2Gb), you might have a 32-bit R binary or you have some memory quota for your process. Uwe Ligges Many thanks, Dave __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-h

Re: [R] preformatted and '#' in manual pages

2009-09-29 Thread Uwe Ligges
From Writing R Extensions: "‘#’, ‘_’ and ‘&’ must not be escaped." Uwe Ligges Gábor Csárdi wrote: Dear All, I have the following in a .Rd file: ... human readable (not binary) format. The format itself is like the following: \preformatted{

Re: [R] k-modes (Huang) in package klaR?

2009-09-30 Thread Uwe Ligges
). Is there a function implemented in R which can calculate with this algorithm. I found a hint on a poster-abstract from Gero Szepannek, Uwe Ligges and Claus Weihs. There it is stated that the algorithm is implemented in their package klaR. But I cannot find anything about k-modes in the klaR

Re: [R] k-modes (Huang) in package klaR?

2009-09-30 Thread Uwe Ligges
Uwe Ligges wrote: Kim Vanselow wrote: Dear R-Users and Developers, I want to calculate something like k-means clustering, but with ordinal data (Braun-Blanquet) to combine this classification technique with a NMDS-Ordination. I found an algorithm especially developed for categorical data

Re: [R] Huge matrix: allocation works but assignment fails

2009-10-01 Thread Uwe Ligges
and you need two times the space for your object. Best, Uwe Ligges Erreur : impossible d'allouer un vecteur de taille 2531250 Ko (Failed to allocate a vector of size...) What can I do? And, maybe even more important, how can one explains such a behavior? Thank you for any help/advice

Re: [R] Why do I have the error message?

2009-10-03 Thread Uwe Ligges
You probably do not have write permissions for those WinBUGS files that R2WinBUGS tries to rewrite. Uwe Ligges I ran two data sets, and got the same error messages. Why? How to get rid of the error messages? Thank you so much! Best wishes Lin Zhongjun _

Re: [R] Winbugs under R's error message

2009-10-03 Thread Uwe Ligges
Why do you post twice? ANway, same answer as before: You probably do not have write permissions for those WinBUGS files that R2WinBUGS tries to rewrite. Uwe Ligges LinZhongjun wrote: Dear R lists, I ran Winbugs under R. I could get the results, but I kept getting the error messages

Re: [R] else if statement error

2009-10-06 Thread Uwe Ligges
(cond, yes, no) because the latter one evaluates both "yes" and "no" while the former one evaluates exactly one of both expressions. Moreover, if "yes" and "no" are not really trivial, the penalty of evaluating both of them

Re: [R] else if statement error

2009-10-06 Thread Uwe Ligges
Gabor Grothendieck wrote: 2009/10/6 Uwe Ligges : The first rule is easy: As long as you are using scalar valued (i.e. length 1 vectors in R) "cond", you should prefer if(cond) cons.expr else alt.expr rather than ifelse(cond, yes, no) because the latter one evaluates both &qu

Re: [R] gnu ODBC driver for ORACLE in WinXP platform?

2009-10-07 Thread Uwe Ligges
Prof Brian Ripley wrote: On Tue, 6 Oct 2009, Kenneth Roy Cabrera Torres wrote: Hi R users and Dr. Uwe Ligges: I read on the ROracle pre-compiled binary README file that: Hmm, that is from the CRAN README on Windows pre-compiled binary packages: there is no 'ROracle pre-compiled b

Re: [R] R, Coda, and OpenBUGS

2009-10-07 Thread Uwe Ligges
file modelUpdate(1000)# burn in samplesSet(c("alpha0", "alpha")) # alpha0 and alpha should be monitored modelUpdate(1000)# 1000 more iterations .... ## now let's construct a coda object ## (of class mcm

Re: [R] Unable to load rjags

2009-10-07 Thread Uwe Ligges
tion Error : .onLoad failed in 'loadNamespace' for 'rjags' Error: package/namespace load failed for 'rjags' Any advice? You need to install jags separately. The package contains rhe interface only. Uwe Ligges Joe [[alternative HTML version deleted]] ___

Re: [R] Why do I have the following error message?

2009-10-08 Thread Uwe Ligges
x27;s the problem?How to get rid of the error message? Citing this message's footer: PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Withour example data and your code that reproduces the er

Re: [R] k-modes (Huang) in package klaR?

2009-10-09 Thread Uwe Ligges
Uwe Ligges wrote: Uwe Ligges wrote: Kim Vanselow wrote: Dear R-Users and Developers, I want to calculate something like k-means clustering, but with ordinal data (Braun-Blanquet) to combine this classification technique with a NMDS-Ordination. I found an algorithm especially developed

Re: [R] RPostgreSQL and needed .dlls

2009-10-13 Thread Uwe Ligges
that library. Or connect with another method to your database. Uwe Ligges Thanks in advance __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting

Re: [R] update.formula drop interaction terms

2009-10-14 Thread Uwe Ligges
following: updated.forml=update(forml, ~ . -A) to drop all terms with A: update(lmo, . ~ . - A:.) Uwe Ligges #gives me this: #Surv(time, status) ~ x1 + x2 + x3 + x4 + B + x5 + strata(sex) + A:x3 + A:x4 + B:x5 #but I want this: #updated.forml=as.formula("Surv(time, status) ~ x1+x2+x3

Re: [R] Request update on A (Not So) Short Introduction to S4

2009-10-14 Thread Uwe Ligges
Peng Yu wrote: There are several '?'s on the last page of the following document. Apparently, they are not correct. Could somebody correct it? cran.r-project.org/doc/contrib/Genolini-S4tutorialV0-5en.pdf Please ask the author. Best,

Re: [R] RPostgreSQL: unable to load shared library

2009-10-15 Thread Uwe Ligges
Prof Brian Ripley wrote: On Wed, 14 Oct 2009, Fanfaar wrote: Hello list, I'm using R 2.9.2 on a WinXP system, and I installed the RPostgreSQL library using the package installer. When trying to load it, I get the following error: library('RPostgreSQL') Error in inDL(x, as.logical(local),

Re: [R] scatterplot3d bug??

2009-10-15 Thread Uwe Ligges
Uwe Ligges wrote: I finally found some time to look at it: Yes, it does not work properly for angles > 180 degrees. Will try to find a fix and make a new release soon. Late, but finally the fixed version is on its way to CRAN. Best wishes, Uwe Ligges Best wishes, Uwe Ligges Vi

Re: [R] Invoking par(mfrow...) on an already subdivided plot

2009-10-18 Thread Uwe Ligges
get one sub-plot per page. Suggestions? You are right. You can use grid or other packages in order to use recursive kinds of subdivisions. Uwe Ligges (Thanks!) __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEA

Re: [R] Data format for KSVM

2009-10-24 Thread Uwe Ligges
ot;rbfdot", C=1) > I get the following error: "object is not a matrix" ksvm works for me. Please specify a reproducible example (including the data) or give us at least the output of str(data) and specofy which verions of R and kernlab you are talking about. Uwe Ligges

Re: [R] How to apply the Wilcoxon test to a hole table at once?

2009-10-24 Thread Uwe Ligges
of 2 unique columns and iterate over them. Uwe Ligges wilcox.test(X3 ~ X2, alternative="two.sided", data=Dataset) Wilcoxon rank sum test with continuity correction data: X3 by X2 W = 439, p-value = 0.1291 alternative hypothesis: true location shift is not equal

Re: [R] how to control the white space between sub figures

2009-10-24 Thread Uwe Ligges
("mar"), see ?par. Uwe Ligges Thanks in advance! Ma __ R-help@r-project.org 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, min

Re: [R] access elements of a named list using a factor

2009-10-24 Thread Uwe Ligges
Robin, see below my inserted comments. Robin Hankin wrote: Hello Dimitris thanks for this. It works! I guess I was fixated on the dollar sign. I must confess that I don't really understand any of the error messages below. Can anyone help me interpret them? rksh Dimitris Rizopoulos wr

Re: [R] intervals package dependence on R 2.9.0

2009-10-24 Thread Uwe Ligges
he maintainer probably had a reason to declare it dependend on R >= 2.9.0. Good time for you to upgrade to teh R-2.10.0 release candidate and act as a test user before Monday when R-2.10.0 will probably be released. Best wishes, Uwe Ligges Tha

Re: [R] S4 object??

2009-10-24 Thread Uwe Ligges
1. You forgot to give a *reproducible* example as the posting guide asks you to do. 2. Both packages you mentioned are BioConductor packages. Note that the BioConductor project has its own mailing list. Best wishes, Uwe Ligges Wendy Chen wrote: Hi all, I have loaded the LIMMA and

Re: [R] Help regarding removing Inf from dataframe, creating new dataframe with selected variables, count function

2009-10-24 Thread Uwe Ligges
are paying for those consultants who solve your problem and you forgot to tell the address where the invoice should go to. Please do read the posting guide. Uwe Ligges following is sample data: DateAssetId NameCountry Liquidity MCName 2006_12_31 322833 YPF 'D'

Re: [R] ifelse

2009-10-24 Thread Uwe Ligges
u have not told us (nor youself?) in your second case. Best, Uwe Ligges Patrick King __ R-help@r-project.org 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 p

Re: [R] Bagging

2009-10-25 Thread Uwe Ligges
egards,Jie Please do read the posting guide! This is the R-help mailing list, but not the we-do-your-whole-work-for-you mailing list. There are certainly some local consultants who are happy to write the code for you, if they get paid accordingly.

Re: [R] Keeping package sources for recompilation with new R version?

2009-10-25 Thread Uwe Ligges
from your first repository if there is no repository with a newer version number. Best, Uwe Ligges __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide

Re: [R] Cannot activate chm help in R 2.10

2009-10-27 Thread Uwe Ligges
Duncan Murdoch wrote: On 10/27/2009 10:56 AM, Ulrike Groemping wrote: Duncan Murdoch-2 wrote: Ulrike Groemping wrote: ... My system is Windows XP, German locale computer. On installation, I was asked to decide for text or html help and chose html (there was no radio button for chm help).

Re: [R] Warning message when Loading package svMisc in R 2.10.0

2009-10-27 Thread Uwe Ligges
t* need to be resubmitted, but do be rebuilt, and that is done for a new major release. Just say update.packages(checkBuilt=TRUE) Best, Uwe Ligges Best regards, Patrick -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf

Re: [R] whitespace with subscript text

2009-10-30 Thread Uwe Ligges
e-letter wrote: Readers, I have the following command: expression(A[1]B~"%") but that causes an error so I changed to: expression(A[1]~B~"%") but the result is too much whitespace between subscript and B. Is there a way to reduce this whitespace? Use * rathe

Re: [R] Obtaining illogical results from posterior LDA-classification because of "too good" data?

2009-11-01 Thread Uwe Ligges
1 in the corresponding direction. In your second example you are increasing the variance by orders of magnitude. Best, Uwe Ligges Best regards, Arne Schulz __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help P

Re: [R] Package zelig

2009-11-01 Thread Uwe Ligges
rsion with increased version number to CRAN. Best wishes, Uwe Ligges sayan dasgupta wrote: hello all I am using the R package Zelig for some tobit regression with robust standard errors. I have got R version 2.9.2 (2009-08-24) and Zelig Version: 3.4-5 when i do demo(robust) It ends like this way

Re: [R] Regular expression substitution ...

2009-11-03 Thread Uwe Ligges
entation (i.e. the quoted backslash - quoted with anotern backslash). Use cat(sub("/pc", '%', x)) to see the raw characters. Uwe Ligges Sander On 2 nov 2009, at 12:36, Roberto Brunelli wrote: I would like to replace all occurences of /pc with \% using so

Re: [R] R2WinBUGS and R-2.10.0: The school example not running

2009-11-03 Thread Uwe Ligges
Hi, I got another report about and will investigate shortly. uwe Luwis Tapiwa Diya wrote: Dear R users I have been encountering an error (in the Winbugs window: Blackbox - index out of range . ). So to me it seems R2WinBUGS is not linking up well with the new R version since the same

Re: [R] R2WinBUGS not working?

2009-11-03 Thread Uwe Ligges
t work on Linux. That works because it just uses a wrapper for BRugs and the real is done be BRugs. Best, Uwe Ligges PS The smallest WinBUGS program I have, essentially a t-test, still works. But anything larger than that gets the error. Help. Thanks.

Re: [R] reference on p.adjust()

2009-11-03 Thread Uwe Ligges
ld be better if somebody could recommend me a textbook on multiple hypothesis correction, so that I can quickly get a general idea of different methods. There are some around just search for your keywords. Best wishes, Uwe Ligges __ R-help@r-projec

Re: [R] R 2.10.0: Error in gsub/calloc

2009-11-03 Thread Uwe Ligges
quot;, perl = T). I am encountering the following error: What is strapply() and what is d? Uwe Ligges Error in base::gsub(pattern, rs, x, ...) : Calloc could not allocate (-1398215180 of 1) memory This happens regardless of whether I run in 32- or 64-bit mode. The machine has 8 GB of RAM,

Re: [R] reference on p.adjust()

2009-11-03 Thread Uwe Ligges
Peng Yu wrote: 2009/11/3 Uwe Ligges : Peng Yu wrote: I'm wondering if there is a textbook that summarize the methods on adjusting p-values for multiple comparisons. Most of the references on p.adjust() are over 10 years old. Being 10 years old does not mean the calculus behind

Re: [R] "object not found" within function

2009-11-03 Thread Uwe Ligges
design(id=~1, weights=~pw,data=apiclus1, fpc=~fpc) svytable(~ variable, dclus1) } When I call this function with: func.example(api99) What are api, api99, svytable, svydesign etc? Uwe Ligges I get the following error: Error in eval(expr, envir, enclos) : object 'variable

Re: [R] need help in using Hessian matrix

2009-11-03 Thread Uwe Ligges
r function more readable. We are happy to help, but that means you need to make your code readable and reproducible by giving some corresponding data. Best wishes, Uwe Ligges Thank you and take care. Laila [[alternative HTML version deleted]] __

Re: [R] Stacked barplot: specifying individual bar hue/luminance

2009-11-03 Thread Uwe Ligges
o this, either in ggplot or in basic R (or some other package)? See ?hcl Best wishes, uwe Ligges Many thanks, Nathan Pearson nathaniel.pear...@gmail.com __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] kalaii...@gmail.com

2009-11-04 Thread Uwe Ligges
Please report it with a reproducible example to the package maintainer. Uwe Ligges kalaii...@gmail.com wrote: i am using R, haplo.stats package. i am working in liux, redhat 5. I run this many times, but suddenly its showing 0xf42418, cause 'memory not mapped'. i run again again i

Re: [R] read.table (again)

2009-11-04 Thread Uwe Ligges
See ?read.fwf Uwe Ligges Sybille Wendel (Udata) wrote: Dear R commnuity, Thanks a lot for your help. I want to read in tables, the problem is that the table is composed in a difficult way. In ariginal it looks like this: 669 736 842101610481029114711811166124312081128117611221026 9581024

Re: [R] Join points with arrows based a TIME variable

2009-11-04 Thread Uwe Ligges
data <- data.frame(data[order(data[,"time"]),]) with(data, plot(y ~ x)) with(data, arrows(x[-length(x)], y[-length(x)], x[-1], y[-1])) Uwe Ligges [[alternative HTML version deleted]] __ R-help@r-project.org mailing list http

Re: [R] Can't pass file name as parameter to Corpus function

2009-11-04 Thread Uwe Ligges
The function Corpus seems to be in some contributed package. If you think you found a bug in a contributed package, please contact the package maintainer. Best wishes, Uwe Ligges renjl0810 wrote: I'm working on a small project to extract high-frequency terms from a document and

Re: [R] Join points with arrows based a TIME variable

2009-11-04 Thread Uwe Ligges
the next call you select just one arguemnt of each vector, namely the first or last one. Uwe Ligges with(data, arrows(x[1], y[1], x[length(x)], y[length(x)])) #wrong,seems to be only one join From the ?arrows, the second argument should work. What is the problem? Thanks a lot. #codes: x<

Re: [R] R2WinBUGS and R-2.10.0: The school example not running

2009-11-05 Thread Uwe Ligges
I have a fix in R2WinBUGS_2.1-15 which is on its way to CRAN and will appear there within 2 days, probably. Best wishes, Uwe Ligges Luwis Tapiwa Diya wrote: Dear R users I have been encountering an error (in the Winbugs window: Blackbox - index out of range . ). So to me it seems

Re: [R] R2WinBUGS not working?

2009-11-05 Thread Uwe Ligges
I have a fix in R2WinBUGS_2.1-15 which is on its way to CRAN and will appear there within 2 days, probably. Best wishes, Uwe Ligges Paul Heinrich Dietrich wrote: This weekend I noticed that my R2WinBUGS connection was no longer working on my Windows computer at work AND my Ubuntu linux

Re: [R] Build recommended packages from source under Windows

2009-11-05 Thread Uwe Ligges
See the manual Writing R Extensions, Section 6.5.1: Printing from FORTRAN Best wishes, uwe Ligges rkevinbur...@charter.net wrote: Hello, From the date time stamps I see that not only do I have the results of the build in 'gnuwin32/front-ends' but I can also see the time s

Re: [R] new help pages in R 2.10.0

2009-11-05 Thread Uwe Ligges
See the NEWS and CHANGES files. You can choose html help, if you prefer that, or pdf. Support for compiled html help has been withdrawn. Uwe Ligges antonio.gasparr...@lshtm.ac.uk wrote: Dear R-users, I've just installed the last version of R (2.10.0) in Windows and found a completel

Re: [R] rm(list<-ls()) error

2009-11-05 Thread Uwe Ligges
since list is passed to the argument list. Uwe Ligges Thanks! Feng __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read t

Re: [R] new help pages in R 2.10.0

2009-11-05 Thread Uwe Ligges
. That is still possible. Just compiled html support has been withdrawn (which is a proprietary Microsoft format Microsoft does not support actively anymore). Best wishes, Uwe Jon On 11/05/09 21:28, Uwe Ligges wrote: See the NEWS and CHANGES files. You can choose html help, if you prefe

Re: [R] performing operations on a dataframe

2009-11-06 Thread Uwe Ligges
yearlabels[i],]) transcooc[i]<-do.call(paste("transfun",yearlabels[i],sep=""),...) } return(transcooc) } > although this is largely guesswork. Why not simply one function that uses the year as an argument and switch() on the year inside? Seems to be somewhat sho

Re: [R] How to create multiple command windows of R on Windows?

2009-11-07 Thread Uwe Ligges
You can start as many instances of R as you like (except for memory restrictions, perhaps), hence I do not get your point. Uwe Ligges Ivan wrote: Thanks for that. I seem to be able to only get one R console here though. Actually that is my question: how to get a different R console? On

Re: [R] Qtl - package - Question

2009-11-07 Thread Uwe Ligges
Can you please try to ask the package maintainer who will certainly be happy to know if his function is broken and may know how to fix it. Best, Uwe Ligges Uwe Ligges Sunny Srivastava wrote: Dear R-Helpers, I am using qtl package to analyze qtl data from QTL cartographer. I have the map

Re: [R] Windows 7 editor - I can't make RWinEdt work

2009-11-08 Thread Uwe Ligges
Aha, what is that blog post and what does not work for you? I haven't got any report so far and do not have Windows 7 easily available yet. Best, Uwe Ligges Peter Flom wrote: Good morning I just got a new computer with Windows 7. R works fine, but the editor I am used to using &qu

Re: [R] Compile package in version R-2.10.0 (Windows XP)

2009-11-10 Thread Uwe Ligges
:\Programme\MiKTeX 2.5\miktex\bin;c:\Programme\HTML Help Workshop;c: \programme\R\bin;c:\windows;c:\windows\system32; which works for 2.7.0 - but no longer for 2.10.0 What can I do? At least: - update Rtools - update MikTeX Uwe Ligges Paul Ruppen, Pädagogische Hochschule Wallis

Re: [R] R process gets killed spontaneously

2009-11-10 Thread Uwe Ligges
f. If it was not some out-of-memory kill process of your OS, then you may have seen some segfault. We need reproducible code and all the details described in the posting guide. Uwe Ligges __ R-help@r-project.org mailing list https://stat.ethz.ch/ma

Re: [R] polygon kills X-server

2009-11-10 Thread Uwe Ligges
bug report. Can you file a bug report, please? Best wishes, Uwe Ligges sessionInfo() R version 2.10.0 (2009-10-26) x86_64-unknown-linux-gnu locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C [3] LC_TIME=en_US.UTF-8LC_COLLATE=en_US.UTF-8 [5] LC_MONETARY=C

Re: [R] Re moving levels of a factor

2009-11-11 Thread Uwe Ligges
els. Simply call factor again on the reduced set a = factor(c("a","b","b","b")) a[-1] factor(a[-1]) If a is in a data frame, replace a by by df$a. or a[-1, drop=TRUE] Uwe Ligges Dieter __ R-help@r-pr

Re: [R] gsub does not support \b?

2009-11-11 Thread Uwe Ligges
Tan, Richard wrote: Hello, can someone help? How come gsub("\bINDS\b","INDUSTRIES","ADVANCED ENERGY INDS") [1] "ADVANCED ENERGY INDS" It does, but you need to escape it: gsub("\\bINDS\\b","INDUSTRIES","ADVAN

Re: [R] What parts of 'Statistical Models in S' are not applicable to R?

2009-11-11 Thread Uwe Ligges
r these days, as some nuances differ for recent S-PLUS versions, 17 years later. It should still be fine to learn some relevant concepts. Best wishes, Uwe Ligges __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLE

Re: [R] What parts of 'Statistical Models in S' are not applicable to R?

2009-11-11 Thread Uwe Ligges
Emmanuel Charpentier wrote: Le mercredi 11 novembre 2009 à 10:22 +0100, Uwe Ligges a écrit : Peng Yu wrote: According to Amazon review, 'Statistical Models in S' is a key reference for understanding the methods implemented in several of S-PLUS' high-end statistical functions

Re: [R] Step Function Freezing R

2009-11-13 Thread Uwe Ligges
during the last years. It is hardly an R problem. Uwe Ligges so that there is more than when the process used to work. I agree that it is probably a change in software, but I can't figure out what has changed or what I can do about it. Thanks for your help, JGS On Nov 12, 7:05 pm, J D

Re: [R] Unsuccessful in reproducing README file in package build .zip and R library installed package folder

2009-11-13 Thread Uwe Ligges
[Going through some old and from what I see unanswered messages See Writing R Extensions: The contents of subdirectory ./inst will be copied to top level during package installation (i.e. also for making binary packages). Best wishes, Uwe Ligges morp...@comcast.net wrote: My OS is Windows

Re: [R] roc plot with zero length labels error

2009-11-13 Thread Uwe Ligges
ing-guide.html > and provide commented, minimal, self-contained, reproducible code. Best wishes, Uwe Ligges Chris Anderson wrote: I am trying to create the roc plot bootstrap method from library(verification), and when I set the plot =both or emp then I get the following error. The roc.plot

Re: [R] change in default behavior of ?functionname in R 2.10?

2009-11-13 Thread Uwe Ligges
easily in the regular regression tests. Best wishes, Uwe Ligges Jenny Drnevich wrote: Hi everyone, I just installed R 2.10 using the Windows binary. At some point in the past using the Windows binary installation, the default behavior of ?functionname changed from plain text to a nice html

Re: [R] 'R CMD check' fails with "evaluation nested too deeply: infinite recursion"

2009-11-13 Thread Uwe Ligges
You can try to declare "Depends" in one and to use "Suggests" in the one with less strong dependencies. If the dependency is too strong: Why not merge these essential parts of the functionality that depend on each other into one package? Best wishes, Uwe Ligges Joerg

Re: [R] How to quit unwanted execution immediately?

2009-11-13 Thread Uwe Ligges
contributed package, it may be an issue in this package's source code. Best wishes, Uwe Ligges Peng Yu wrote: Occasionally, I start a command (taking long time to finish) that I did not really want to start. I type 'ctrl+C' to try to quit the execution. However, R does not quit t

Re: [R] Best advice for connect R and Octave

2009-11-14 Thread Uwe Ligges
- It has never been on CRAN. - A quick Google search suggests it is on Omegahat. Uwe Ligges Jason Rupert wrote: I see at one time there was a package called ROctave. I tried to install that package: install.packages("ROctave") --- Please select a CRAN mirror for use in th

Re: [R] Best advice for connect R and Octave

2009-11-14 Thread Uwe Ligges
See http://www.omegahat.org/ROctave/ which offers the source package for download and some documentation that is not too promising. Good luck, Uwe Ligges Jason Rupert wrote: Uwe, Thank you for the quick response, but I think I'm missing what is being suggested about the Omegahat

Re: [R] Locate 'repeated' package?

2009-11-16 Thread Uwe Ligges
h seems to be: http://www.commanster.eu/rcode.html Best wishes, Uwe Ligges Thanks, Daniel [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] HOw to delete a row in the data matrix and change the order of the row ???

2009-11-18 Thread Uwe Ligges
Assign new row names? Uwe Ligges ychu066 wrote: hi, i delete row 65,70,75 in my data data<- data[-c(65,70,75),] But i also want the order of the row to match up eg: 67 11111111111111 1 68 111111

Re: [R] question about function heatmap

2009-11-18 Thread Uwe Ligges
Copied form the R-help messages' footer: PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Uwe Ligges Waverley @ Palo Alto wrote: Hi, I am using the function heatmap(stats) to draw a micro

Re: [R] Perform operations on dataframes called with paste in loops

2009-11-18 Thread Uwe Ligges
d of the string representing its name? 1. consider to read the csv files into a *list* of dataframes and loop over that list. 2. if you do not want to follow 1., see ?get Uwe Ligges __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/l

Re: [R] Error "system is computationally singular" by using function dmvnorm

2009-11-19 Thread Uwe Ligges
(cov, ...) : system is computationally singular: reciprocal condition number = 1.81093e-19 Probably your sigma is almost singular and can't be inverted in the calculation of the Mahalanobis distance. Uwe Ligges What could be the reason of it? Thank you in Advance,

Re: [R] converting a vector of bytes to a PNG/JPEG image

2009-11-19 Thread Uwe Ligges
Can't be too hard to convert it in pixmap representation, but you need to tell us hoe the representation looks like, probbaly with a short code that makes it reproducible (e.g. generate some data that we can use in R). Uwe Ligges Rajarshi Guha wrote: Hi, I have some code that uses

Re: [R] EBImage do not read an Image: requested image not found or could not be loaded

2009-11-21 Thread Uwe Ligges
quested image not found or could not be loaded > x NULL Is there a way of to solve the problem? Or make a workaround? (but with no source code compilation) Works for me with the same setup. Are yiu sure the file exists on your machine and is uncorrupted. Do you have access and read per

Re: [R] Fw: Re: title problem

2009-11-21 Thread Uwe Ligges
not know that you have to look at the bottom of the graphics to find the subtitle, do you? Uwe Ligges subtitle doesn't get displayed --- On Sat, 11/21/09, David Winsemius wrote: From: David Winsemius Subject: Re: [R] title problem To: "Gabor Grothendieck" Cc: &q

Re: [R] MASS loading error

2009-11-22 Thread Uwe Ligges
the MASS you have installed in one of your current libraries needs R <= 2.9.2 (perhaps in /usr/local/lib/R/site-library ?) Please run update.packages(checkBuilt=TRUE) and packages in your library will be updated. If the one in /usr/local/lib/R/site-library can't be upda

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