Re: 答复: 答复: [R] fail in adding librar y in new version.

2005-07-07 Thread Uwe Ligges
Gabor Grothendieck wrote: On 7/7/05, Uwe Ligges [EMAIL PROTECTED] wrote: Ivy_Li wrote: Dear all, I have done every step as the previous mail. 1. unpack tools.zip into c:\cygwin 2. install Active perl in c:\Perl 3. install the mingw32 in c:\mingwin 4. add c:\cygwin; c:\mingwin\bin

Re: [R] Kernlab: problem with small datasets

2005-07-07 Thread Uwe Ligges
. in: .local(x, ...) So time to report it to the package mainteiner (CCing), if you think it is an insufficiency or bug. Uwe Ligges HTH, Pablo __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] Making Package, Chm error, Html Help Workshop

2005-07-07 Thread Uwe Ligges
, please sent me the source package and I will take a look. Uwe Ligges Thank you very much, Matthias __ 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] Segmentation fault on exit

2005-07-07 Thread Uwe Ligges
and has no C or FORTRAN code under the src/ directory. You are talking about a *package*, not a library. We do not know, and cannot reproduce anything, obviously... The posting guide asks you to specify reproducible examples. Which version of R is this, and which OS? Uwe Ligges

Re: [R] xmat[1, 2:3] - NULL

2005-07-07 Thread Uwe Ligges
with a missing value in the given cell. It's a real show stopper and I haven't found a way round it. See ?try Uwe Ligges Best wishes, Mikkel PS. I'm using dbGetQuery to query an SQLite database. __ R-help@stat.math.ethz.ch mailing list https

Re: [R] Question

2005-07-07 Thread Uwe Ligges
() plot(1:55) or maybe you are looking for argumet mfrow in ?par Please read the posting guide. 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] manupulating a data frame column

2005-07-07 Thread Uwe Ligges
: x1-LETTERS[1:8]; x2-letters[1:8]; x1[2]-NA; x1[4]-NA df-data.frame(x1=x1, x2=x2) levels(df$x1) - c(levels(df$x1), levels(df$x2)) idx-which(is.na(df$x1)) df[idx,1]-df[idx,2] Uwe Ligges x1-LETTERS[1:8]; x2-letters[1:8]; x1[2]-NA; x1[4]-NA; df-data.frame(x1=x1, x2=x2) idx-which(is.na(df$x1

Re: [R] Tempfile error

2005-07-07 Thread Uwe Ligges
Which version of R is this? I think during one of the latest releases tempfile() name generation has been imporved, because R did not tried hard enough to find new (random) filenames for tempfiles in older releases of R. Uwe Ligges At which point Sweave halts. There isn't a logical pattern

Re: [R] Discriminant Function Analysis

2005-07-07 Thread Uwe Ligges
then? Are there alternatives? No, obviously not an ideal method, if used as is on the whole data. Alternatives are certainly described in the literature - I am not specialised in this field (I mean, this gene stuff), hence do not want to specify misleading references here. Uwe Ligges 1) First problem, I

Re: [R] timezone problems

2005-07-07 Thread Uwe Ligges
from as.POSIXlt). Don't have the time to look at it more closely, perhaps Brian knows it at once? If this is not already in the bug repository (please check at first), can you submit a report, please? Thanks! Uwe Ligges best regards, Martin Keller-Ressel On Wed, 06 Jul 2005 14:45

Re: [R] r: LOOPING

2005-07-07 Thread Uwe Ligges
at each details of the code below). One case seems to be described below, where you probably already get memory problems and hence cannot (at least not without memory penalty) vectorize any more. Compromise is the keyword. Best, Uwe Ligges a brief overview of what is done in the code

Re: 答复: 答复: [R] fail in adding librar y in new version.

2005-07-07 Thread Uwe Ligges
, nor executable operation or batch file *** installation of example failed *** Well, make.exe is not find in your path. Please check whether the file exists and the path has been added. Uwe Ligges Removing 'D:/PROGRA~1/R/rw2011/library/example' I think I have closed to success. heehee

Re: [R] build R source package in place from CVS?

2005-07-06 Thread Uwe Ligges
from the copy. 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] Interactive Graphics

2005-07-06 Thread Uwe Ligges
on Windows XP). RGL and iplots both seem to have potential, but currently limited functionality. Is this the state of the art in interactive graphical data analysis in R Yes, given a certain definition of interactive. Uwe Ligges or are there other places to look? A search of this list revealed

Re: [R] Graphics: calling par(mar) after frame()

2005-07-06 Thread Uwe Ligges
) has already been called in the first iteration. Why do you want to use it inside the loop? Uwe Ligges I'm using R-2.1.0 on Linux with X11; I see the same behavior in Windows. -- David Brahm ([EMAIL PROTECTED]) __ R-help@stat.math.ethz.ch

Re: [R] how to set the position and size of the select.list window

2005-07-05 Thread Uwe Ligges
can do for windows() devices using windows() and brintToTop(), for example. Uwe Ligges Thank you! shengzhe __ 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] Getting runtime error in stepclass

2005-07-05 Thread Uwe Ligges
rather than knn(). For randomForest, we will enhance stepclass() to support it in future. 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

Re: [R] Derivative of a function

2005-07-05 Thread Uwe Ligges
. I think you cannot easily handle expressions like this. Perhaps you better look for some algebra system such as Mathematica and friends. Uwe Ligges __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] Windows compile

2005-07-05 Thread Uwe Ligges
]: *** [pkg-base] Error 2 make[1]: *** [rpackage] Error 2 make: *** [all] Error 2 Any advise? hhc.exe is Microsoft's html help compiler. Have you configured MkRules correctly (you have to chnage the path therein, as the manual suggests), and hhc.exe in your path? Uwe Ligges Philip Bermingham

Re: [R] To Predict for a vector

2005-07-05 Thread Uwe Ligges
n is [5,4,3,7,8,9,3] I want to estimate the vector at time n+1, with some package in R. Well, which *method* do you want to use? Do you want to model cross correlation, for example? Uwe Ligges Thanks in advance. MT [[alternative HTML version deleted

Re: [R] compare two lists with differents levels

2005-07-05 Thread Uwe Ligges
Navarre Sabine wrote: Make all factor objects to include *all* levels, I guess (since the huge exmple stuff below is not reproducible). Uwe Ligges Hi, I would like to compare 2 lists resulted from a sql query! bu there are different levels, so when I want to do: release1-sqlQuery

Re: [R] Getting runtime error in stepclass

2005-07-05 Thread Uwe Ligges
Uwe Ligges wrote: Soma Saha wrote: Hi! I got the following runtime error when I tried to use svm method with stepclass. Error in colnames-(`*tmp*`, value = c(0, 1)) : attempt to set colnames on object with less than two dimensions I repeated the same sequence of statements

Re: [R] Discriminant Function Analysis

2005-07-05 Thread Uwe Ligges
for the posterior? Uwe LIgges Many thanks in advance for your help Mick __ 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] loop over large dataset

2005-07-04 Thread Uwe Ligges
some time, hence you get the expected increase in runtime. This answers you other question as well. Uwe Ligges My suggestion is that you try to vectorize the computation as much as you can. From what you've shown, `new' and `ped' need to have the same number of rows, right? Your `off

Re: [R] FW: plot legend outside the grid

2005-07-01 Thread Uwe Ligges
In principle you are there, just after opening the device set par(mar) appropriate (large margin to place the legend in) before starting with plotting. In the legend, specify points which virtually are in the margin you have already expanded... Uwe Ligges Ghosh, Sandeep wrote

Re: 答复: [R] fail in adding library in new version.

2005-06-30 Thread Uwe Ligges
still need your and others help. Thank you very much! I think you need to read the manuals before, and additionally seek advice by a local Windows expert who can tell you relationships between paths, environment variables, executable files etc. Uwe Ligges -原始邮件- 发件人: Gabor

Re: [R] deal package

2005-06-30 Thread Uwe Ligges
. Questions like this should better be sent to the package mainatiner or author of the corresponding function, who probably has more experiences and background knowledge on the code than (almost?) all other readers of this list. Uwe Ligges thanks

Re: [R] plot (log scale on y-axis)

2005-06-30 Thread Uwe Ligges
, and the axis annotation shows the true values. Hence there would be absolutely NO difference in the plot, and we do not need to add redundancy here! Uwe Ligges Thanks __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] Running SVM {e1071}

2005-06-29 Thread Uwe Ligges
results each time you run it ... Uwe Ligges Best Regards, Amir __ [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

Re: [R] R-postgresql

2005-06-28 Thread Uwe Ligges
/ Uwe Ligges regards Ahmet Temiz __ XamimeLT - installed on mailserver for domain @deprem.gov.tr Queries to: [EMAIL PROTECTED] __ The views and opinions expressed in this e-mail message are ...{{dropped

Re: [R] Programming Books

2005-06-28 Thread Uwe Ligges
books that might be dedicated to R. Yes, this is a ggod book, quite a lot of other books, online material and paper are mentioned on CRAN, e.g. CRAN/other-docs.html the latter points to, e.g., http://www.r-project.org/other-docs.html and http://www.r-project.org/doc/bib/R-publications.html Uwe

Re: [R] Producing character given i.e. | with plotmath

2005-06-28 Thread Uwe Ligges
with the braces?` What you really want is: legend(legend = c(expression(L(group(, y, |) * mu))), x = center) Uwe Ligges Thanks! Lep pozdrav / With regards, Gregor Gorjanc -- University of Ljubljana Biotechnical Faculty

Re: [R] svm and scaling input

2005-06-28 Thread Uwe Ligges
do not have to rescale, but a transformation of variables might make sense in order to get better results, though. Uwe Ligges thanks a lot for help, +kind regards, Arne __ R-help@stat.math.ethz.ch mailing list https

Re: [R] is.all.equal

2005-06-27 Thread Uwe Ligges
in the comments that is.all.equal - function(x,y) isTRUE(all.equal(x,y))). Where is this documented (including version of the source)? My recent versions of ?all.equal do not mentio it (at least, I cannot find it). Uwe Ligges Could the documentation be corrected? (or even better, how about

Re: [R] optimization problem in R ... can this be done?

2005-06-26 Thread Uwe Ligges
, is equivalent for numerous succesive Why do you think so? It is much more accurate! See ?.Machine Uwe Ligges values. How can I get around this? Spencer Graves [EMAIL PROTECTED] wrote: Part of the R culture is a statement by Simon Blomberg immortalized in library(fortunes) as, This is R

Re: [R] r-help

2005-06-25 Thread Uwe Ligges
into a list by replicate(1000, YourCall) If you really want objects X1, ..., Xn, you should read the FAQ and ?assign. Uwe Ligges Any suggestions would be appreciated Sitdikov Mansor __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

Re: [R] definition of variogram

2005-06-24 Thread Uwe Ligges
orkun wrote: hello I need basic explanation of variogram and how to use in R. Why do you want to use something (variogram) you do not even know? Please read the posting guide, in particular the sections on homework and cross posting. Uwe Ligges I will appreciate if you supply

Re: [R] mypredict.

2005-06-24 Thread Uwe Ligges
use boot and 632plus. They all share one mypredict.lda. Will it cause any problem? No. mypredict.lda() is a wrapper for errorest() which expects to get the class from predict(), but not all the other stuff predict.lda() provides. Uwe Ligges Regards, justin

Re: [R] Two axes y in same plot

2005-06-24 Thread Uwe Ligges
Fernando Espíndola wrote: Hi user, I try to make plot with two axes y, it is posibility?. Can anyboby help me Please: - read the posting guide - search the R-help archives (this questions has been asked several times) - see ?axis Uwe Ligges thank for all fernando

Re: [R] text file output

2005-06-24 Thread Uwe Ligges
. Probably you really want something like object - split(...) for(i in seq(along=object)) write.table(SplitObject[[i]], file = names(SplitObject)[i]) Uwe Ligges I am very new to R so please be kind. Thank you Steve __ R-help

Re: [R] A polar.plot BUG in plotrix 1.3.3 ?

2005-06-22 Thread Uwe Ligges
for the author and maintainer of the package (in CC). 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] Is it possible to get the first letter of a word?

2005-06-22 Thread Uwe Ligges
Navarre Sabine wrote: Hi, I would to get the first letter of a word like: title_cat TitleCat 1 Training I would like T from Training! Thnaks a lot for your help substr(title_cat,1,1) Uwe Ligges Sabine

Re: [R] Contour Plots

2005-06-22 Thread Uwe Ligges
above, the x and y vectors are the column and row numbers. 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

Re: [R] legend

2005-06-22 Thread Uwe Ligges
to suggest to write your own little function that generates the legend. Starting at the upper left, calculating the stringheight, painting the (party very special) symbols, and adding the text line by line seems to be the most easiest solution here (which is not that nice, though. Uwe Ligges

Re: [R] Howto crosstable-ing......

2005-06-22 Thread Uwe Ligges
See ?reshape Uwe Ligges [EMAIL PROTECTED] wrote: I receive the following meteo dataset regularly, containing the average daily temperatures (tMedia) of a certain month for 24 selected meteo-stations (COD_WMO) whose human-readable names are in (NOME). str(tabella) `data.frame': 1038 obs

Re: [R] how to do the test for a significant difference across group mean vectors

2005-06-21 Thread Uwe Ligges
. Uwe Ligges Thank you, Shengzhe __ 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] Syntax error with .First.lib

2005-06-21 Thread Uwe Ligges
arguments do not have names, and they have to in function declarations Uwe Ligges ### Intentionally empty body. To be replaced by dyn.load function } R CMD check MyConvolve gives an R syntax error. libname is the directory where the package is saved. The package is being

Re: [R] how 'stepAIC' selects?

2005-06-20 Thread Uwe Ligges
value is small enough... ... but then you are mixing different concepts. Uwe Ligges Wuming On 6/18/05, Bókony Veronika [EMAIL PROTECTED] wrote: Dear all, Could anyone please tell me how 'step' or 'stepAIC' works? Does it simply select the model with the smallest AIC from all

Re: [R] how to get the mean of each group?

2005-06-19 Thread Uwe Ligges
ronggui wrote: i have the data x.1 x.1 - data.frame(income=runif(100)*1, + edu=sample(c('hs','col','none'),100,T),y=rnorm(100)*100) and i want to get : income y col 5526.726 -11.00956 hs 4196.036 -10.03861 none 4308.111 -28.69549 5526.726 is the mean

Re: [R] what does this syntax mean?

2005-06-19 Thread Uwe Ligges
} my question is : what does split(x, g) - lapply(split(x, g), FUN) mean? See ?split and ?lapply. x is grouped by g, FUNis applied on each group and assigned back to the original values. Uwe Ligges thank you! __ R-help@stat.math.ethz.ch

Re: [R] cannot coerce class matchit into a data.frame

2005-06-18 Thread Uwe Ligges
() it afterwards, if this is sufficient.] Uwe Ligges Cheers, Jason E. Piccone, Ph.D. Research and Evaluation Specialist Department of Correctional Education __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] k-fold cross validation with neural networks

2005-06-18 Thread Uwe Ligges
. and how can I load matlab data files into R? Dunno, maybe the R.matlab package is of any help. Uwe Ligges thx in advance! __ 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] Trying to build R sources on Windows

2005-06-18 Thread Uwe Ligges
tools installed and in your path. Uwe Ligges Bill Northcott __ 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] How to get the values of a vector having the indices?

2005-06-18 Thread Uwe Ligges
to the values? By indexing the original object with these indices. See, e.g., help([) If you mean something different, please provide a short reproducible example. and explain what you like to get exactly. Uwe Ligges Thanks a lot and have a fun. Amir

Re: [R] how 'stepAIC' selects?

2005-06-18 Thread Uwe Ligges
models. in information content between a model with a given predictor and another without it is significant? Well, if you believe AIC is the right criteria, an improvement of the AIC is enough to choose another model - no further test will be applied. Uwe Ligges Thanks for help! VB

Re: [R] Potential minor GUI bug

2005-06-17 Thread Uwe Ligges
Liaw, Andy wrote: Now I understand. I get the same thing in SDI mode (R-2.1.0 on WinXPPro). No idea why... I guess this is a Windows bug, because I have seen it in other applications as well. Hence I don't think we should waste our time here ... Uwe Ligges Andy From: Francisco J

Re: [R] CORRELATION MATRIX CONVERSION

2005-06-17 Thread Uwe Ligges
., ?reshape Uwe Ligges Thanks! Omer __ 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] axis labels vertically

2005-06-17 Thread Uwe Ligges
that they are vertical) See ?par and its argument las. 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] mlbench xor

2005-06-17 Thread Uwe Ligges
when I apply svm on the xor object with th replaced data it finds just one class. someone any idea No, almost impossible without having a reproducible example Uwe Ligges thx __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch

Re: [R] Error message from pamr

2005-06-17 Thread Uwe Ligges
error, if the first, you want to contact the package maintainer rather than R help. Uwe Ligges - Rekindle the Rivalries. Sign up for Fantasy Football [[alternative HTML version deleted

Re: [R] Reading Excel files...Error

2005-06-15 Thread Uwe Ligges
odbcConnectExcel() in this case ... Uwe Ligges Warning messages: 1: [RODBC] ERROR: state IM002, code 0, message [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified 2: ODBC connection failed in: odbcDriverConnect(st, case = case, believeNRows = believeNRows

Re: [R] Finding local minima and maxima

2005-06-15 Thread Uwe Ligges
your problem well enough. You could look whether y[i-1] y[i] and y[i+1]y[i] if y is ordered according to x, if this most trivial and very non-robust method fits to your definition... Uwe Ligges Thanks, Sean __ R-help@stat.math.ethz.ch mailing

Re: [R] plots

2005-06-15 Thread Uwe Ligges
using the argument sort. or the levels size? Do you mean t he font size for annotation? This is descibed in ?mosaicplot - see its argument cex.axis. Or the number of levels? This again is a matter of the data, not the plot function. I'm completely lost what you are going to do... Uwe Ligges

Re: [R] Perl installation under SuSe

2005-06-13 Thread Uwe Ligges
ERROR: failed to lock directory '/usr/lib/R/library' for modifing I doubt one directory starts with user and the other one with usr. Do you have write permission to that directory? If yes, is 00LOCK already there? Then remove it. If no, install to a private library. Uwe Ligges I would really

Re: [R] R-help Digest, Vol 28, Issue 11

2005-06-11 Thread Uwe Ligges
subject line. - Basic statistics and classroom homework: R-help is not intended for these. - Provide small reproducible examples. Uwe Ligges Best Wishes, Emre Duran __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] Calculating moments of a distribution

2005-06-11 Thread Uwe Ligges
Mohammad Ehsanul Karim wrote: Dear All, Is there any existing package or direct function in R / S-plus that calculates moments (raw or central); the usual measures of skewness and kurtosis, and/or pearsonian k criterion? See package e1071. Uwe Ligges Thank you for your time

Re: [R] R installation

2005-06-10 Thread Uwe Ligges
Make the readline headers/libs available by installing them ... Uwe Ligges So I try ./configure --with-readline=no, and it works (I have not try make, but I will), but I think that now I won't have any historic file for R, is that true ? How can I manage to install R without this option

Re: [R] dir() and RegEx and gsub()

2005-06-10 Thread Uwe Ligges
Hans-Peter wrote: 2005/6/9, Sarah Goslee [EMAIL PROTECTED]: Under R, for reasons I've never quite understood, \\. evaluates to . Thanks to the answers of B. Ripley and Gabor I think, I understand now: 1) the patter-string \\.csv$ gives the regular expression \.csv$ 2) now the

Re: [R] plot3d

2005-06-09 Thread Uwe Ligges
Navarre Sabine wrote: hello, to use the function plot3d, i should use the package R.basic! plot3d {R.basic} I have just googled for plot3d R.basic and the first hit pointed me to the correct URL Uwe Ligges If people know exactly a site to load this package, please give me

Re: [R] position of a legend-object

2005-06-09 Thread Uwe Ligges
the limits and scaling of the axis. See ?par, in particular par(usr) Uwe Ligges Thanks for your help. Carsten [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] getting more than the coefficients

2005-06-09 Thread Uwe Ligges
xtable.summary.lm()... Uwe Ligges Thanks, Dimitri Szerman [[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/posting

Re: [R] How to change the value of a class slot

2005-06-08 Thread Uwe Ligges
Ross Boylan wrote: On Tue, 2005-06-07 at 08:36 +0200, Uwe Ligges wrote: Ross Boylan wrote: On Sat, Jun 04, 2005 at 07:08:56PM +0200, Martin Maechler wrote: Ross nextPath - function(pm){ #pm is a CompletePathMaker Ross[EMAIL PROTECTED] - [EMAIL PROTECTED](1) Ross [etc] If your

Re: [R] matrix

2005-06-08 Thread Uwe Ligges
afterwards. Uwe Ligges On the web site of CRAN, the package basic is impossible to be load! can you tell me where i can found it! You already asked this question yesterday (and received no reply because it doesn't make sense). There is no package with the name basic. There is only the base

Re: [R] How to change the value of a class slot

2005-06-07 Thread Uwe Ligges
rules and it will be clear that the approach you are expecting is not a clean one in S. Uwe Ligges Ross __ 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] Building a R package under Windows XP

2005-06-07 Thread Uwe Ligges
=verbose): none of the packages were found Does R CMD INSTALL package work for you? If not, R CMD check makes no sense so far. Uwe Ligges Execution halted. ... ... Any help will be greatly appreciated. Thanks in advance. Choudary Jagarlamudi Instructor Southwestern Oklahoma State

Re: [R] Re: how to define functions in such a situation

2005-06-07 Thread Uwe Ligges
temp directory for R to store temp files? See ?tempfile and ?tempdir Uwe Ligges On 6/7/05, Hu Chen [EMAIL PROTECTED] wrote: hi R folks, I need read a file from hardisk or www web. Then I need to define some new functions according to the contents of the read file. For example, i need write

Re: [R] factor2real strange!?

2005-06-07 Thread Uwe Ligges
. Uwe Ligges vsub - subset(dm,select=c(DEBITS_POST3)) (vsub$DEBITS_POST3[1:4]) [1] 9,93 0 23,82 32,72 7936 Levels: 0 0,53 0,65 0,73 0,76 1,02 1,03 1,16 1,25 1,28 1,31 1,38 1,45 1,47 1,49 1,52 1,53 1,62 1,68 1,69 1,71 1,72 1,9 10,03 ... 99,98 vsub$DEBITS_POST3 - as.numeric

Re: [R] Task View for ecology/environmental science

2005-06-06 Thread 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 It's not hard, just read the corresponding article in the latest R News. Uwe Ligges

Re: [R] barplot and missing values?

2005-06-04 Thread Uwe Ligges
for me (R-2.1.0, WinNT, but you have not told us your details!). BTW: In the meantime package gregmisc has been superseded by the gregmisc bundle, and later on by a number of packages (such as gtools, gdata, ...). Your setup seems to be rather outdated. Uwe Ligges Am I missing something

Re: [R] barplot and missing values?

2005-06-04 Thread Uwe Ligges
Dan Bolser wrote: On Sat, 4 Jun 2005, Uwe Ligges wrote: Dan Bolser wrote: I want to include missing values in my barplot to get the correct x-axis, for example, x - c(1,2,3,4, 9) y - c(2,4,6,8,18) barplot(y) The above looks wrong because the last height in y should be a long way over

Re: [R] barplot and missing values?

2005-06-04 Thread Uwe Ligges
the package maintainer as well) ... - Please provide *reproducible* examples (yours was not, because log='y' was missing). Hence the relevant example we were obviously talking about is: y - c(2,4,6,8,NA,NA,NA,NA,18) barplot(y, log=y) library(gplots) barplot2(y, log=y) Uwe Ligges

Re: [R] using user-supplied derivatives in rgenoud

2005-06-02 Thread Uwe Ligges
allow for passing a function evaluating the derivatives. Thank you, Thoralf Mildenberger Looking at the code suggests that you cannot supply derivates. Anyway, this question is very special and should perhaps be addressed to the maintainer of the package rather than R-help. Uwe Ligges

Re: [R] repeated vector in matrix

2005-06-02 Thread Uwe Ligges
h3333222 but I need n rows which must be variable. Can anyone help me? x - matrix(h, nrow = n, ncol = length(h), byrow = TRUE) Uwe Ligges thanks Andreas [[alternative HTML version deleted]] __ R-help

Re: [R] question regarding new class

2005-06-01 Thread Uwe Ligges
? This is by design, x is not a list but of class Insetad, you can use slot(), of course or define special exttractor functions fo your particular class. Uwe Ligges Thanks. Laura Holt __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch

Re: [R] How to do the coding for simulation in R?

2005-06-01 Thread Uwe Ligges
* of them, and followed the advices given therein, you are welcome to ask some questions. 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

Re: [R] Different versions, different results ?

2005-06-01 Thread Uwe Ligges
... Yes, yes: Yes there is a fix: R has been fixed more than once in the last 3 year. More precisely, there have been 12 *releases* in the meantime. So please upgrade! Uwe Ligges Best regards, __ R-help@stat.math.ethz.ch mailing list https

Re: [R] font size in the trellis plot

2005-06-01 Thread Uwe Ligges
= year, key = simpleKey(levels(barley$year), space = right), xlab = Barley Yield (bushels/acre) , aspect=0.5, layout = c(1,6), ylab=NULL, scales=list(cex=0.5)) Uwe Ligges __ R-help@stat.math.ethz.ch mailing list https

Re: [R] help

2005-06-01 Thread Uwe Ligges
It is really hard to read your message. Anyway, I guess you are looking for ?reshape Uwe Ligges jose silva wrote: Dear all: I have this: A1 B1 C1 D1 E1 A2 B2 C2 D2 E2 A3 B3 C3 D3 E3 And I want this A1 E1

Re: [R] \n in legend using substitute and as.expression

2005-06-01 Thread Uwe Ligges
are not really supported in the mathematical annotation environment. Uwe Ligges (Windows XP + R2.10 user) Thanks, Vumani __ 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] Unique arrangements of a vector

2005-05-31 Thread Uwe Ligges
() in package gtools (formerly in bundle gregmisc, since yesterday a single package). Uwe Ligges Any help is appreciated and I will gladly SUM afterwards. Thank you, Tarmo __ Tarmo Remmel Ph.D. GUESS Lab, Department of Geography University of Toronto

Re: [R] Pairs plot

2005-05-31 Thread Uwe Ligges
I guess you (well, in fact do not) want something like pairs(X, gap=0, pch=.) Uwe Ligges Frédéric Ooms wrote: Hello, I would like to draw a pair plot with a lot of descriptors (see the attached file) and due to the number of descriptors contained in the file I am not able to view

Re: [R] FYI: Problems while loading package class (VR)

2005-05-31 Thread Uwe Ligges
? Operating Sytstem? PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Uwe Ligges Jarek =\ Jarek Tuszynski, PhD. o / \ Science Applications International Corporation \__,| (703

Re: [R] Scaling data

2005-05-31 Thread Uwe Ligges
also read help pages, already the question related to pairs() could have been avoided by reading the help pages 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

Re: [R] jpeg function problem with rterm.exe

2005-05-31 Thread Uwe Ligges
?Devices Please read ?jpeg and see its examples! jpeg() is not intended to save a plot, but to open a jpeg device you can plot into and close it afterwards: jpeg(file=test.jpeg, quality=90) plot(1:10) dev.off() Please try it interaktively at first. Uwe Ligges Thanks to help me

Re: [R] FYI: Problems while loading package class (VR)

2005-05-31 Thread Uwe Ligges
in Windows ... This is a bug. I will followup on R-bugs or R-devel later this day. BTW: install.packages(class) works for me as expected. Uwe Ligges Jarek \=== Jarek Tuszynski, PhD. o / \ Science Applications

Re: [R] Incompatibility with VGAM

2005-05-30 Thread Uwe Ligges
also want to read the R News article on Namespaces by Luke Tierney. Moreover, glm is in stats which *has* got a namespace. Uwe Ligges FYI, I released VGAM 0.6-3 last Friday which has binomial(), poisson() etc. removed so that it should no longer conflict with glm(). The families that work

Re: [R] joining files after canonical correlation

2005-05-30 Thread Uwe Ligges
location.U and weather.V to become a new data set from which I could undertake a scatterplot matrix of the canonical variates? Not sure about your question, but I guess you are simply looking for ?rbind. Uwe Ligges brett Brett Stansfield Environmental Scientist - Water Quality Hawke's Bay Regional

Re: [R] Menu Language

2005-05-30 Thread Uwe Ligges
by Brian Ripley. Uwe Ligges Reinhold [[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/posting-guide.html

Re: [R] Incompatibility with VGAM

2005-05-29 Thread Uwe Ligges
(., family=poisson()). Now the first instance of poisson() in the search path is used. You are passing a call to poisson(), and this is not bound to any namespace. Of course you can specify tha namespace such as glm(., family=stats::poisson()). Uwe Ligges Kjetil

Re: [R] text-function: adding text in an x,y-plot

2005-05-29 Thread Uwe Ligges
is wrong, because it does not even work to generate the empty plot the way ... Please read the posting guide and rethink at least one time whether the code you are giving us is reproducible. Your code was not. Uwe Ligges greetings from the sunny tirol with thanks in advance helli platform

<    5   6   7   8   9   10   11   12   13   14   >