Re: [R] R newbie example code question

2006-01-09 Thread Uwe Ligges
was just checking whether there was a quicker way. Thanks. See (you won't believe it): ?example Uwe Ligges Mark ** This email and any files transmitted with it are confidentia...{{dropped

Re: [R] How to plot legend to the margin area of the graph?

2006-01-09 Thread Uwe Ligges
Vincent Deng wrote: Dear R-helpers, When plotting a graph, what command should I use to mark legend to the margin area of that graph? Example: plot(1:10) par(xpd=TRUE) legend(8,11.5,Hello World) Uwe Ligges __ R-help@stat.math.ethz.ch

Re: [R] packages and tex files

2006-01-08 Thread Uwe Ligges
LaTeX binaries must be in the path (but probably they already are ...). Also, where would I get Rd.sty, please? The supported LaTeX distributions are told to look into the right place by the R CMD tools. And this is: path-to-R/share/texmf/Rd.sty Uwe Ligges Thanks, R Version 2.2.1 Windows

Re: [R] exporting methods/classes

2006-01-08 Thread Uwe Ligges
(graphics,plot) exportClasses(dog) exportMethods(plot,show) You don't export any other functions? Uwe Ligges thanks yet again, Sincerely, Erin mailto: [EMAIL PROTECTED] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

Re: [R] R-help Digest, Vol 35, Issue 7

2006-01-08 Thread Uwe Ligges
Evgeniy Kachalin wrote: Uwe Ligges пишет: Evgeniy Kachalin wrote: Hello, dear participants! Could you tip me, is there any simple and nice way to build scatter-plot for three different types of data (, and o and * - signs, for example) with legend. Now i can guess only that way

Re: [R] R-help Digest, Vol 35, Issue 7

2006-01-07 Thread Uwe Ligges
, 4.4, legend = unique(as.character(Species)), pch = unique(as.integer(Species 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

Re: [R] Wikis etc.

2006-01-07 Thread Uwe Ligges
Jonathan Baron wrote: On 01/07/06 10:51, John Sorkin wrote: The situation would be greatly helped if the mailing list would automatically add a header or footer to all Email messages giving the URL of the archived Email threads. Don't expect people to know that what are not told! Those

Re: [R] Generating raster simulations

2006-01-07 Thread Uwe Ligges
an array, if there are not too many classes. Uwe Ligges Thanks in advance Steve Steve Friedman, Assistant Professor Center for Global Change and Earth Observations Michigan State University East Lansing, Michigan 48824 Phone - 517 - 648 - 6290

Re: [R] Installing Task Views

2006-01-07 Thread Uwe Ligges
Does all work for me with the latest release of R (2.2.1) and ctv (0.3-1) on Windows NT 4.0 SP6. Hence: Which version of R, which version of ctv, and which OS do you use? Uwe Ligges Mark Andersen wrote: Hello, I am just beginning to use R, after several years of using S-Plus

Re: [R] problem with command line arguments

2006-01-05 Thread Uwe Ligges
script. Its like the argv concept of perl. Do I pass the arguments through my $cmd in the perl script? If yes, then how to access that in the R script? Any help will really be appreciated. See ?commandArgs Uwe Ligges Thanks and Regards, Madhurima

Re: [R] comparision and removal

2006-01-05 Thread Uwe Ligges
) explains how to compare and how to use index operations. Please don't ask on R-help for your homework questions, but please read the posting guide. Uwe Ligges Thanks GS __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

Re: [R] A comment about R:

2006-01-05 Thread Uwe Ligges
at the end. Have a look at help.start() -- Search Engine Keywords -- Section Keywords by Topic. Uwe Ligges For those who happen to know it, I find the Emacs Lisp Reference Manual to be a good example for organising, in a very usable way, a comprehensive reference to a flurry of library

Re: [R] problem in install kidpack package

2006-01-05 Thread Uwe Ligges
version of kidpack? b) Which version of kidpack? c) Which OS? d) Which version of R? Uwe Ligges Best, Yufen Huang [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] Plotting the mean of data

2006-01-02 Thread Uwe Ligges
7 I'd like to plot the mean of 'value' against week. Is there a direct way of doing this or do I have to make a new structure with the calculated values and then plot it? For your data.frame X, you want, e.g.: A - aggregate(X, list(X$week), mean) plot(A$week, A$value) Uwe Ligges

Re: [R] Omegahat sjava

2005-12-28 Thread Uwe Ligges
in the R Installation and Administration manual. Perhaps you can live with the CRAN package rJava (there is a binary Windows version available). Uwe Ligges Neil Eastep. __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo

Re: [R] How to plot curves with more than 8 colors

2005-12-27 Thread Uwe Ligges
colors this is 256^3. Uwe Ligges Best Regards... __ 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] is R a programming language?; was: (no subject)

2005-12-27 Thread Uwe Ligges
/posting-guide.html Yes, please do! 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

Re: [R] Seg fault with trace

2005-12-27 Thread Uwe Ligges
problems. Uwe Ligges Hadley __ 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 __ R

Re: [R] reference

2005-12-27 Thread Uwe Ligges
Παναγιωτα Γεωργουλια wrote: I have recently used R in a statistical analysis and I need to use a reference... If you would be kind enough to help me I would be grateful! Please read either the message at the very beginning of your R session, the R FAQ, or ... and type: citation() Uwe

Re: [R] Create pdf and postscript files

2005-12-27 Thread Uwe Ligges
device say B. All your plotting will now go into device B until you close it by dev.off(), then all further plotting goes into device A - unless you start another device. Uwe Ligges But the pdf document created is empty. How do these functions work ? Thank you very much

Re: [R] How to plot curves with more than 8 colors

2005-12-27 Thread Uwe Ligges
=abc[i]) } R still used 8 colors of abc color codes repeatedly to draw the diagram Any helps? No, it does not (in fact, all appears to be more or less black on my screen ;-)). Another example: plot(1:255, col=rgb(1:255,0,0,maxColorValue = 255)) Uwe Ligges Best Regards... On 12/27/05

Re: [R] copy contributed packages from R 2.2.0 to 2.2.1

2005-12-23 Thread Uwe Ligges
the contributed packages from the C:\Programme\R221 to the C:\Programme\R2.2.1- location in the files system? It is safe to copy. Uwe Ligges or have i to download and install the packages new? greetings from the snowy austria merry christmas helli system R.2.2.0 win xp

Re: [R] Constant error messages with new R version

2005-12-23 Thread Uwe Ligges
prior to base that have the same names as some objects in base). Uwe Ligges Simon Pickett Centre for Ecology and Conservation Biology University of Exeter in Cornwall Tremough Campus Penryn Cornwall TR10 9EZ UK Tel: 01326371852 __ R

Re: [R] copy contributed packages from R 2.2.0 to 2.2.1

2005-12-23 Thread Uwe Ligges
P Ehlers wrote: This might not be the preferred way, but can one not also do this by appropriately assigning .libPaths? But then better use a clean library of contributed packages and not another R version's standard library. Uwe Ligges Peter Ehlers Uwe Ligges wrote: Helmut

Re: [R] probs in maps package

2005-12-21 Thread Uwe Ligges
are using, and your OS. Uwe Ligges Cheers, Marco [[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] transpose a matrix?

2005-12-21 Thread Uwe Ligges
to have a list of vectors? You certainly do not want to transpose a data frame with both factors (or character) and numeric values in it. Uwe Ligges __ [[alternative HTML version deleted

Re: [R] Why lmer() is not working, altough lme4 is installed?

2005-12-21 Thread Uwe Ligges
message of lmer()? Please read the posting guide and send information that is helpful for the helpers to help. Uwe Ligges I am using: $platform: i386-pc-linux-gnu $arch: i386 $os: linux-gnu $system: i386, linux-gnu $major: 2 $minor: 0.1 $year: 2004 $month: 11 $day: 15 Sincerely

Re: [R] Outputing dataframe or vector from within a user defined function

2005-12-20 Thread Uwe Ligges
- rnorm(10) y - x*5 return(list(x=x, y=y)) } result - foo() result Uwe Ligges Many Thanks Andy Cox __ 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] object length

2005-12-20 Thread Uwe Ligges
linda.s wrote: Why I got warning from the following code? assign(x, c(10, 5, 4, 2, 2)) y - c(x, 0, x) y [1] 10 5 4 2 2 0 10 5 4 2 2 v - 2*x + y + 1 Read the Warning message and try to interpret it If you still do not get the point: (length(x)*2+1) == length(y) Uwe

Re: [R] Installing packages into updated R

2005-12-20 Thread Uwe Ligges
] install.packages(x) 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

Re: [R] CRAN version branch for Windows packages

2005-12-18 Thread Uwe Ligges
(Ted Harding) wrote: Hi Folks, This query arises out of a call for help from a friend who has been running R version 1.9 unbder Windows XP, and wanted advice on using install.packages() in order to install the Windows binary of the package Epi. Since this environment is outside my

Re: [R] tapply question

2005-12-16 Thread Uwe Ligges
error message: Error in [.data.frame(data, tapply(LRT, tp, function(x) which(LRT == : invalid subscript type Works for me. Look at your data structures and check whether your data frame is OK. Or much better easier: tapply(LRT, tp, max) Uwe Ligges I don't know what to do

Re: [R] Need help for a statistical problem

2005-12-14 Thread Uwe Ligges
/posting-guide.html Please ask a local statistical consultant for help. 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

Re: [R] Question

2005-12-13 Thread Uwe Ligges
between 4 and 6? If that's the case, how do I do that? Is this a homework question? Uwe Ligges Davia S. Cox 517-575-8031 cell [EMAIL PROTECTED] Human potential, though not always apparent, is there waiting to be discovered and invited forth. -William W. Purkey

Re: [R] interruption when pasting code into R under linux

2005-12-13 Thread Uwe Ligges
arbitrarily. It does not happen when smaller bits are pasted subsequently. I use linux suse 9.3 with the latest version of R ... because of the limited buffersize of your clipboard. I'd suggest source()-ing a file rather than pasting those many lines of code. Uwe Ligges

Re: [R] creating a subset of a dataset using ifelse statement?

2005-12-13 Thread Uwe Ligges
- if(h1) mp1b else subset(mp1b,cluster_q==h) Uwe Ligges Assistance is appreciated. - [[alternative HTML version deleted

Re: [R] batch mode problem

2005-12-13 Thread Uwe Ligges
mode? Put the data.frame in a seperate file and source that one. Uwe Ligges Thanks, joerg __ 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] how to extract the row names of a matrix using for loop or other looping

2005-12-10 Thread Uwe Ligges
, it is not very nice to use names twice ... Uwe Ligges thank you... with regards, eric. - [[alternative HTML version deleted

Re: [R] Problems with integrate

2005-12-10 Thread Uwe Ligges
on vectors? Uwe Ligges What's interesting is, if I use the area function from library(MASS), it works: lossdistribution-function(p,Beta,R=0.4){ + area(function(x){lossdensity(x,Beta,R)},0.1,p)} lossdistribution(.02,Beta,.4) [1] 0.0002177284 I could just go ahead and use

Re: [R] help with simple 3d graph

2005-12-08 Thread Uwe Ligges
). Whenever I try commands like persp it wants ordered values. The only command that approximates what I want is scatterplot3d (see below) library(scatterplot3d) scatterplot3d(a,b,c) For a surface, see ?persp or ?wireframe in package lattice. Uwe Ligges Can anybody help

Re: [R] figure with inset

2005-12-06 Thread Uwe Ligges
[EMAIL PROTECTED] wrote: I am trying to plot a figure within a figure (an inset that shows a closeup of part of the data set). I have searched R-help and other sources but not found a solution. See the examples on the grid package by Paul Murrel in R News. Uwe Ligges What I would like

Re: [R] how to draw continent boundry

2005-12-06 Thread Uwe Ligges
Yogesh K. Tiwari wrote: Hi, If I am ploting a world map like plot (lon,lat) then how to draw a continent boundry in that plot. What is the command... See, e.g., the packages maps, mapdata, and mapproj as well as the task view Spatial on CRAN. Uwe Ligges Many thanks Regards

Re: [R] R newbie...

2005-12-06 Thread Uwe Ligges
(calculate(3,4)) Please read An Introduction to R as well as the posting guide! Uwe Ligges But R says that z does not exist... How can I use z in an another function ? Thank you for your answer... -- David [[alternative HTML version deleted

Re: [R] Matrix of dummy variables from a factor

2005-12-06 Thread Uwe Ligges
Charles H. Franklin wrote: What is a simple way to convert a factor into a matrix of dummy variables? fm-lm(y~f) model.matrix(y~f) Uwe Ligges where f is a factor takes care of this in the estimation. I'd like to save the result of expanding f into a matrix for later use. Thanks

Re: [R] computing the variance

2005-12-05 Thread Uwe Ligges
#which should be 2/3. var(c(1,2,3,4,5)) [1] 2.5 #which should be 10/5=2 it seems to me that the program uses (sample size -1) instead of sample size at the denominator. how can i rectify this? Simply change it by: x - c(1,2,3,4,5) n - length(x) var(x)*(n-1)/n if you really want it. Uwe

Re: [R] Broken links on CRAN

2005-12-05 Thread Uwe Ligges
Doran, Harold wrote: Sorry, didn't think about that. The mirror I used was http://lib.stat.cmu.edu/R/CRAN/ Please check the R-help archives. It is well known that the StatLib mirror has serious problems these days. Uwe Ligges I checked other mirrors and they did work fine

Re: [R] correlate vector report p-value

2005-12-05 Thread Uwe Ligges
to do this for vector c of matrix A. To get all correlation coefficients: cor(A, B) Which p-value do you mean, those from cor.test? You can get all by: apply(A, 2, function(x) apply(B, 2, function(y) cor.test(x,y)$p.value)) Uwe Ligges Vivien W. Chen

Re: [R] fSeries: garchOxFit - is really the example provided not runnig?

2005-12-04 Thread Uwe Ligges
that the package meintainer decided not to run this part of the examples by R CMD check, hence it is unchecked (and nobody traced the bug before). Uwe Ligges Has anybody experienced the same problem? Or may you easly see where am I wrong? Thanks in advance and regards, Julio

Re: [R] fSeries package: ?aparchFit

2005-12-04 Thread Uwe Ligges
the package maintainer about documented but unavailable functions ... Uwe Ligges Many thanks in advance and regards. Julio - [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list

Re: [R] Curve fitting

2005-12-02 Thread Uwe Ligges
of functions or algorithm to estimate this closed form transformation? It could involve any trug, algebraic functions etc... Without having a model, it seems to be unsensible to look for such a function, since there may be an infinte number of functions fullfilling your criterion. Uwe Ligges

Re: [R] Minimizing a Function with three Parameters

2005-12-02 Thread Uwe Ligges
behaves well, you can be lucky, if it does behave really ill, you will get grey hair during your further research on this topic ... Please read some textbook on numerical optimization. Uwe Ligges regards andreas __ R-help@stat.math.ethz.ch

Re: [R] masked from package:base?

2005-12-02 Thread Uwe Ligges
does [checked by R CMD check] mean? The source of an R package can be checked by the command R CMD check package_name (on a Unix/Linux machines; on Windows machines this is slightly different). In fact, it is exactly the same command on Windows. Uwe Ligges Further information

Re: [R] masked from package:base?

2005-12-02 Thread Uwe Ligges
August Berg wrote: The source of an R package can be checked by the command R CMD check package_name (on a Unix/Linux machines; on Windows machines this is slightly different). In fact, it is exactly the same command on Windows. Uwe Ligges Why it did not work for me? library

Re: [R] about sorting table

2005-12-01 Thread Uwe Ligges
Martin Maechler wrote: UweL == Uwe Ligges [EMAIL PROTECTED] on Thu, 01 Dec 2005 08:37:37 +0100 writes: UweL [EMAIL PROTECTED] wrote: hi all, I load a table with headers that enable me to acces it by the column names: tab-read.table(blob/data.dat,h=T

Re: [R] contrib pkg install problem on Windows with R2.2.0

2005-12-01 Thread Uwe Ligges
. I call R CMD INSTALL --docs=normal depmix and I get the following error: make[3]: *** No rule to make target 'C:/rw2011/include/R.h', needed by derdist.o. Stop. You probably did build from a poluted directory containing an old .../src/Makedeps file. Remove it and try again. Uwe

Re: [R] about kidpack package

2005-11-30 Thread Uwe Ligges
manual) and call R CMD INSTALL from the commandline. For questions on the availability of BioC Windows binary packages please contact the Bioconductor folks and use their mailing list (after looking for documentation why kidpack is not available for Windows, of course). Uwe Ligges

Re: [R] cant get colAUC to plot

2005-11-30 Thread Uwe Ligges
tom wright wrote: Can someone please explain why this wont plot. The cats example given for the colAUC function will plot. Please report bugs in packages to the package maintainer rather than to R-help. Uwe Ligges Many thanks again tom # library(caTools

Re: [R] about sorting table

2005-11-30 Thread Uwe Ligges
for your answers see ?colnames Uwe Ligges guillaume. __ 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] What are the possible Probabilstic models in R

2005-11-30 Thread Uwe Ligges
nobody answered is that the answer on your question is something like: R and its 600 packages. Please be more specific which class of models you are going to use. You have to be MUCH MORE specific to get a sensibe answer. Uwe Ligges ANIL KUMAR( METEOROLOGIST GR -II) LRF SECTION

Re: [R] values in between

2005-11-30 Thread Uwe Ligges
do I get to ssomewhere in between -0.6 and 0.2? Please give an example which value somewhere in between -0.6 and 0.2 you want to get. Do you want to sample from some distribution, do you want the mean, do you want all values in steps of 1/1000 Uwe Ligges Thanks Eric Jennings

Re: [R] package kinship - %*%

2005-11-29 Thread Uwe Ligges
%*% The Message in English: Error in a %*% a: no applicable message for %*%. What can I do? 1. Ask the package maintainer of kinship for a bugfix (CCing). 2. you can still use the %*% operator from the base namespace: base::%*%(a,a) Uwe Ligges Thank you. Sven Knüppel (Germany - Berlin

Re: [R] Indexing variables within lapply?

2005-11-29 Thread Uwe Ligges
of data1b) within each list element. I tried to do it with lapply(data, myfunction,...), but I dont know if Without having tested: myfunction - function(x, var){ cor(x[[1]][[var]], x[[2]][[var]]) } lapply(data, myfunction, var=var1) Uwe Ligges theres a way to index the two vars

Re: [R] str and structable error

2005-11-28 Thread Uwe Ligges
to get a structure of an object but: sss-structable(Titanic) str(sss) Error in [.structable(x, args[[1]], ) : subscript out of bounds Looks like package vcd needs a separate structable method for the str() generic. Uwe Ligges Finally I learned, that I need to change attributes

Re: [R] mathematical expressions ...

2005-11-28 Thread Uwe Ligges
) Yes, use points() to add dots, and the invisibly returned value of barplot() contains information on the postition of the bars. Uwe Ligges sorry if the questions are too simple __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch

Re: [R] How define global Variable?

2005-11-28 Thread Uwe Ligges
[EMAIL PROTECTED] wrote: Hello, I try to define a global variable. You should not do that unless you really know why you want it this way. You probably want to read the R Language Definition manual. Anyway, read ?assign if you want to proceed doing dangerous things. Uwe Ligges My

Re: [R] qcc

2005-11-28 Thread Uwe Ligges
somewhere ? No, looking 10 seconds into the code, but why do you not read it yourself? It is easily understandable and you will also see at once that you can will get a performance boost by optimizing that code Uwe Ligges Yours sincerelly, Tommi Viitanen

Re: [R] Using an editor with R

2005-11-27 Thread Uwe Ligges
for a different way to integrate winedit with R. Well, at least to integrate WinEdt. ;-) Best, 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

Re: [R] r question

2005-11-27 Thread Uwe Ligges
Please, 1. read the posting guide 2. use a sensible subject line 3. this is NOT an r question 4. ask your teacher to explain your homeworks, but not this list Uwe Ligges yuying shi wrote: If there are two random variable X1 and X2 which have a bivariate normal distribution with mean vector

Re: [R] coherency-Time Series

2005-11-27 Thread Uwe Ligges
[EMAIL PROTECTED] wrote: hello! My name is Stefanos, from Athens. I'm a new user of R and I'm studying multivariate time series. I can't find in the help menu how to calculate the cross spectrum and the coherency of 2 Time Series. Would you like to help me? See ?spectrum and ?cor Uwe

Re: [R] Newton iteration questions

2005-11-27 Thread Uwe Ligges
Yet another time we shall solve your homeworks? Please stop sending your homework questions to R-help! Uwe Ligges yuying shi wrote: Dear Sir/Madam, If I have a sample of observations that come from an extreme value distribution, the density function for the extreme value distribution

Re: [R] rescale x-axis

2005-11-27 Thread Uwe Ligges
to the intial period. (i.e the length of the interval betwen 0-1 days is longer then the interval between 1-2 days and so on) .Hope what i say above make sense. any advise? What about applying a logarithm such as in plot(1:10, log=x) Uwe Ligges thanks! sing yee

Re: [R] font size in legend

2005-11-24 Thread Uwe Ligges
to stamp the x axis. anyone knows the right way? i've tryed par(cin) and barplot(cin=3) but it says i cannot do it at this level... So are we talking about a legend or the axis annotation of a barplot or what? For the latter, use the argument cex.axis. Uwe Ligges thks you all

Re: [R] How to plot two different lines with different color with the same plot function?

2005-11-23 Thread Uwe Ligges
? Please read the psoting guide. It points you to the mailing list archives where this question has been answered hundreds of times. Uwe Ligges Thank you in advance! 广星 [EMAIL PROTECTED]   2005-11-23

Re: [R] How to open a text file in my screen (not in the R session)?

2005-11-23 Thread Uwe Ligges
running my code). Is there an easy way to do that? Thank you If the pager is set up appropriately use file.show() or start another program by a system() call. Uwe Ligges The information contained herein

Re: [R] More than one hidden layer with Neural package

2005-11-23 Thread Uwe Ligges
on CRAN. Please tell us which package you are referring to. Uwe Ligges Thanx. __ 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] Customizing the package build process

2005-11-23 Thread Uwe Ligges
that facility been removed? No, you can use: R CMD INSTALL --build Uwe Ligges Second question: my reading is that .Rbuildignore is only read in the package root directory, and will have no effect below that. Is that correct? Per directory .Rbuildignore's would be convenient

Re: [R] Kolmogorov-Smirnov test help

2005-11-22 Thread Uwe Ligges
... Uwe Ligges Any help would be greatly appreciated Thanks Lisa [[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

Re: [R] modifying code in contributed libraries - changes from versions 1.* to 2.*

2005-11-22 Thread Uwe Ligges
to modify/fix something, download the source version of a package, change the code, and INSTALL the source package. Uwe Ligges Brian Brian S. Cade U. S. Geological Survey Fort Collins Science Center 2150 Centre Ave., Bldg. C Fort Collins, CO 80526-8818 email: [EMAIL PROTECTED] tel

Re: [R] Largest allowable matrix

2005-11-20 Thread Uwe Ligges
? The number of columns and rows is not a problem here, but you will need 21682998 * 17 * 4 bytes to store the latter matrix (assuming floats) in memory, that is 1406.139 Mb. In order to do something sensible with the data, you need *at least* twice the amount of RAM, hence at least 3Gb. Uwe Ligges

Re: [R] Autoloading R Commander

2005-11-19 Thread Uwe Ligges
Stephen P. Molnar, Ph.D. wrote: How do I go about autoloading R Commander when I start R? See ?Startup Uwe Ligges Thanks in advance. __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] help on ks.test and shapiro.test

2005-11-18 Thread Uwe Ligges
? Please start reading the posting guide and the help files of those functions. Without you giving a reproducible example, we cannot help that much. Uwe Ligges --- --- Life is a foreign language; all man mispronouce it. ---Christopher Morley 终于,那野兽倒下了,异教徒们为此而欢庆。 但是 一切并未结束,因为

Re: [R] unprecise question on read.table() and the nortest package; was: (no subject)

2005-11-18 Thread Uwe Ligges
a subject line on a high traffic mailing list should be mandatory. Without you giving a reproducible example, we cannot help that much. Uwe Ligges Thank you Wendy Peng BC Cancer Agency Cancer Genetics Department Co-p Programmer [[alternative HTML version deleted

Re: [R] Method for $

2005-11-18 Thread Uwe Ligges
, what about (untested!): slot(x, slotname) Best wishes from Dortmund and Lena, Uwe Ligges This produced the error message: In method for function $: expanding the signature to include omitted arguments in definition: name = missing Error in rematchDefinition(definition, fdef, mnames, fnames

Re: [R] R questions

2005-11-17 Thread Uwe Ligges
, what about asking your lecturer rather than thousands of others? Uwe Ligges [[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

Re: [R] How to generate the random numbers with the lognormal distribution?

2005-11-17 Thread Uwe Ligges
not that far away: ?rlnorm Uwe Ligges Thank you in advance! [EMAIL PROTECTED]   2005-11-18 __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

Re: [R] invert y-axis in barplot

2005-11-16 Thread Uwe Ligges
Jörg Schlingemann wrote: Hi! This is probably a very trivial question. Is there an easy way to invert the y-axis (low values on top) when using the function barplot()? barplot(1:10, ylim=c(10, 0)) works for me ... Uwe Ligges Thanks, Jörg [[alternative HTML

Re: [R] Warning message: package '...' was built under R version 2.3.0

2005-11-16 Thread Uwe Ligges
-2.2.0? Well, those in the corresponding 2.2 repository on CRAN should all be build with R-2.2.0. If not, please tell me which one is wrong. Where did you get the packages for R-devel from? Uwe Ligges What are potential problems that can result from that version mismatch? My system: winXP R

Re: [R] Warning message: package '...' was built under R version 2.3.0

2005-11-16 Thread Uwe Ligges
to changes in environment handling. Uwe Ligges 2: package 'modeltools' was built under R version 2.3.0 Error: unable to load R code in package 'modeltools' Error: package 'modeltools' could not be loaded Jarek Tuszynski -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [R] setting LANGUAGE of messages (no subject)

2005-11-15 Thread Uwe Ligges
(now done for you, see below) The R Installation and Administration manual has a section on localization od messages which suggests to use the environment variable LANGUAGE in order to use another than the default language of your OS for R messages. Uwe Ligges Thanks Haiyan

Re: [R] How to show numerical values on boxplots

2005-11-13 Thread Uwe Ligges
=1.2) medpch issimilar as pch for a plotting character, but not a string. Hence I'd add the median values by a call to text() as in: bpo - boxplot(c(x1, x2) ~ label, medcex=1.2) text(1:2, bpo$stats[3,], median, pos=3) Uwe Ligges It only shows the integers at the median position in the boxplots

Re: [R] About: Error in FUN(X[[1]], ...) : symbol print-name too long

2005-11-13 Thread Uwe Ligges
to CRAN within next week. Applying your model with fixed versions of your code and R2WinBUGS also shows that you get some errors in WinBUGS and you have to change your model file, but that's another issue... Uwe Ligges The objective of the program is to compare means of two independent

Re: [R] no package 'Matrix' at the repositories

2005-11-12 Thread Uwe Ligges
of Matrix (which is in the Windows repository again, as mentioned yesterday) rather than the most recent one. Exactly the same applies for R-2.1.1, hence no reason to switch back! Uwe Ligges Best Wishes, spencer graves Duncan Murdoch wrote: On 11/11/2005 9:13 AM, Liaw, Andy

[R] [Fwd: Re: no package 'Matrix' at the repositories]

2005-11-11 Thread Uwe Ligges
[Resend the stuff below since initial one has been blocked from R-help.] I have moved the old Matrix_0.98-7.zip to the main repository for the meantime. Best, Uwe Ligges Original Message Subject: Re: [R] no package 'Matrix' at the repositories Date: Fri, 11 Nov 2005 15:45

Re: [R] help with legacy R code

2005-11-10 Thread Uwe Ligges
. Uwe Ligges PS: Let me quote PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Thanks very much in advance! David library(MASS) jpeg(filename = diswrong.jpg, width = 800, height = 600, pointsize = 12, quality = 75, bg = white) myfunc - function(x

Re: [R] Low level algorithm conrol in Fisher's exact test

2005-11-10 Thread Uwe Ligges
? And honestly, I know the answer before calculating anything Uwe Ligges Many thanks in advance. Kihwang __ 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] About: Error in FUN(X[[1]], ...) : symbol print-name too long

2005-11-10 Thread Uwe Ligges
(50,49,57,52,47,52,58,45,55,54,51,54,56,53,52,47,51,54,50,47,46,44,54,55,52,57,52,48,48,51)) dat - format4Bugs(dat, digits = 0) What happens if you omit the line above? Anyway, I can take closer look, but not within the next 24 hours ... Uwe Ligges parm - c(lbda) bugs(dat, inits=list

Re: [R] Remove levels

2005-11-10 Thread Uwe Ligges
table(X[,drop=TRUE]) Uwe Ligges Thank a lot, Bernard - [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

Re: [R] paste argument of a function as a file name

2005-11-10 Thread Uwe Ligges
) { ... ... write.table(df,argument.xls) } MY.function(argument) Has been asked hundreds of times on this list. Please check the archives as the posting guide asks to do ... Hint: paste() Uwe Ligges Thank you __ R-help@stat.math.ethz.ch

Re: [R] The problem with rcom pakage

2005-11-08 Thread Uwe Ligges
is relevant to get appropriate help. Without giving any examples, we do not know what does not work for you. If you found a bug in the package, please report it to the package maintainer. Uwe Ligges Thanks for your help. Yulia __ R-help

Re: [R] Error message: The following object(s) are masked

2005-11-04 Thread Uwe Ligges
detaching. I'd suggest not to use attach() at all unless you know what you are doing and it really improved convenience in interactive analyses. Uwe Ligges I searched on masked and read the manual about conflicts but I don't really understand what the issue is. I didn't get this error message

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