Re: [R] image.plot side effects

2012-08-10 Thread Uwe Ligges
. Hard to help without the reproducible code the posting guide asks you to provide. Best, Uwe Ligges Hope, you can help, thanks. Best regards -- View this message in context: http://r.789695.n4.nabble.com/image-plot-side-effects-tp4639881.html Sent from the R help mailing list archive

Re: [R] Add interpunct (dot) symbol to axis label?

2012-08-09 Thread Uwe Ligges
yesterday in another mail with that question (so apparently it is a homework problem we should not answer at all), one could use the UTF-8 encoded version by options(OutDec=\xB7) and just start the plotting ... Uwe Ligges Duncan Murdoch __ R-help

Re: [R] Installing HDF5 package

2012-08-09 Thread Uwe Ligges
On 09.08.2012 10:18, sihemsaad wrote: As Uwe Ligges-3 guessed, i am working on a Windows Station. I also tried the link Uwe Ligges-3 posted and I think it worked Actually, my surname is Ligges rather than Ligges-3. And you failed to cite the contents of the former part of the thread

Re: [R] Add interpunct (dot) symbol to axis label?

2012-08-09 Thread Uwe Ligges
On 09.08.2012 18:05, Duncan Murdoch wrote: On 09/08/2012 11:52 AM, Uwe Ligges wrote: On 09.08.2012 13:56, Duncan Murdoch wrote: On 12-08-08 9:21 PM, Hillary Ward wrote: I'm having problems creating an axis label for a plot. y_label = expression(paste(plain('CPUE '),plain('(fish'),plain

Re: [R] Problem with global variable building a package

2012-08-08 Thread Uwe Ligges
appears (a parse error). The content of the glo-internal.R file is the following: .glo.env - environment To avoid parser errors, replace environment by something that is syntactically valid, in this case: new.env(). Best, Uwe Ligges where .glo.env is the name of the new environment I

Re: [R] Installing HDF5 package

2012-08-08 Thread Uwe Ligges
. Binaries are not yet available - but will be during the next couple of days. Uwe Ligges John Kane Kingston ON Canada -Original Message- From: saadsihe...@gmail.com Sent: Wed, 8 Aug 2012 09:25:06 -0700 (PDT) To: r-help@r-project.org Subject: [R] Installing HDF5 package Dear all I am

Re: [R] decimal points midline

2012-08-08 Thread Uwe Ligges
On 08.08.2012 21:22, John Kane wrote: Can you point to an example? It sounds like the journal is still using typewriters. Anyway, setting options(OutDec=ALT0183) and replace ALT0183 by the keystrokes your described below or by options(OutDec=\xB7) Best, Uwe Ligges John Kane

Re: [R] Parallel runs of an external executable with snow in local

2012-08-07 Thread Uwe Ligges
to use another working directory for each instance. Best, Uwe Ligges I hope I#8217;ve explained that clearly, Xavier Portell Canal, PhD candidate. Department of Agri-food Engineering, Universitat Politècnica de Catalunya -Uwe Ligges lig...@statistik.tu-dortmund.de ha escrit: - Per

Re: [R] Memory limit for Windows 64bit build of R

2012-08-06 Thread Uwe Ligges
for half the difference in cost between 64GB abd 128 GB.) 10Gb objects should be fine, but note that a vector/array/matrix cannot exceed 2^31-1 elements, hence a 17Gb vector/matrix/array of doubles / reals. Best, Uwe Ligges __ R-help@r-project.org

Re: [R] Package to remove collinear variables

2012-08-05 Thread Uwe Ligges
On 05.08.2012 05:27, Roberto wrote: Hi, I need to remove collinear variables to my Near-Infrared table of spectra. What package can I use? Something simple, because I am a novice about statistic. Remove those where isTRUE(all.equal(cor(x, y), 1)) is TRUE? Uwe Ligges Thank you

Re: [R] ptproc package

2012-08-05 Thread Uwe Ligges
is sufficient, since you can try: install.packages(ptproc, repos=http://www.biostat.jhsph.edu/~rpeng/software;, type=source) should do the trick already. Best, Uwe Ligges Thanks. Amir Zadeh. -- View this message in context: http://r.789695.n4.nabble.com/ptproc-package-tp4639196.html

Re: [R] Parallel runs of an external executable with snow in local

2012-08-05 Thread Uwe Ligges
and Input.txt to tmp.id. However, while doing so, I realised that although running the correct filetorun.EXE copy (i.e., the one in tmp.id) R looks for input.txt in the work directory. Not sure about the real setup, but you can actually specify the path, not only filenames. Uwe Ligges I've been

Re: [R] Error message 'x' must be numeric

2012-08-04 Thread Uwe Ligges
. You diverse x are data.frames rather than numeric vectors, just the columns of your data.frames are numeric. Hence use, e.g., x1[,1] do access the first column of x1 etc. Uwe Ligges Thank you. -- View this message in context: http://r.789695.n4.nabble.com/Error-message-x-must-be-numeric

Re: [R] cannot load workspace

2012-08-02 Thread Uwe Ligges
of available memory, so go to a machne that has, open the workspace there, and save relevant objects into deparate RData files that you can read on machines with less RAM. Best, Uwe Ligges thank you ! Jiajie-Yu -- View this message in context: http://r.789695.n4.nabble.com/cannot-load

Re: [R] Cannot install the 'igraph' package

2012-08-02 Thread Uwe Ligges
-protector -funwind-tables -fasynchronous-unwind-tables -g -c rinterface.c -o rinterface.o rinterface.c:30:15: fatal error: R.h: File or directory does not exist! compilation terminated. R.h should be part if your R installation, given the output above probably in /usr/lib64/R/include ? Uwe Ligges

Re: [R] Polygon shaded area

2012-08-02 Thread Uwe Ligges
what the problem is to construct a polygon() Just insert x and y values of both series in an appropriate order and connect them at the end. If you fail, provide fully reproducible code (we do not have efinal nor efinal 2 for now). Best, Uwe Ligges

Re: [R] Eleaps in package subselect crashes when using include arguement

2012-08-02 Thread Uwe Ligges
a reproducible example (i.e. including your object x) to the package maintainer rather than to this list.. Uwe Ligges --Nathan [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] drawing a specific plane with scatterplot3d

2012-08-01 Thread Uwe Ligges
,col.grid=lightblue, main=scatterplot3d - 1, pch=20) s3d$plane3d(6, 0, 0) s3d$points3d(x[z=6], y[z=6], z[z=6], pch=20) Best, Uwe ligges You could do it using the rgl package; the commands there would be something like this (without the coloring you did in scatterplot3d): plot3d(x,y,z

Re: [R] drawing a specific plane with scatterplot3d

2012-08-01 Thread Uwe Ligges
On 01.08.2012 15:28, Duncan Murdoch wrote: On 12-08-01 8:42 AM, Uwe Ligges wrote: On 31.07.2012 21:14, Duncan Murdoch wrote: On 12-07-31 2:54 PM, Andras Farkas wrote: Dear All, using the example from the package scatterplot3d I created a 3d plot as follows: x -rnorm(500,50,2) y -rnorm

Re: [R] cannot install RSTAR, MSVAR, and MSVECM packages

2012-07-30 Thread Uwe Ligges
language, though. Such packages, however, do not readily convert themselves for use with R. ... or they have different names or have been removed from CRAN, see e.g.: http://cran.r-project.org/web/packages/STAR/index.html http://cran.r-project.org/web/packages/MSVAR/index.html Best, Uwe Ligges

Re: [R] Turning off continuation prompt?

2012-07-30 Thread Uwe Ligges
long you have been around this list, you probably can name more than I. Or just see ?options and its argument continue. Uwe Ligges Rob __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] Boxplot graphic

2012-07-25 Thread Uwe Ligges
On 25.07.2012 13:26, phillen wrote: Dear R-users! I boxplotted some data. the class of the data is numeric. There are some outliers and I would like to see their names in the graphic. So, instead that the data points of the outliers are plotted as points, I would like to have their names

Re: [R] Plotting LDA results

2012-07-25 Thread Uwe Ligges
? If you have two classes, there will only be one component. No chance two invent a second dimension. Uwe Ligges Thank you very much in advance! Greetings, Matthias -- View this message in context: http://r.789695.n4.nabble.com/Plotting-LDA-results-tp4637766.html Sent from the R help

Re: [R] Trouble with Installing R Package gsl

2012-07-25 Thread Uwe Ligges
Looking at the gsl code suggest you can set environmant variables that are used by configure, hence setting GSL_CFLAGS = -I/data1/zhucai/local/gsl/include GSL_LIBS = -L/data1/zhucai/local/gsl/lib -lgsl -lgslcblas before R CMD INSTALL should do the trick (untested). Uwe Ligges

Re: [R] Linear Model Prediction

2012-07-24 Thread Uwe Ligges
. Yes, use predict(). Is this homework? Uwe Ligges Thank you! -- View this message in context: http://r.789695.n4.nabble.com/Linear-Model-Prediction-tp4637644.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org

Re: [R] Problem building dll in R-2-15-1

2012-07-24 Thread Uwe Ligges
matm.f -o matm.o f951.exe: out of memory allocating 312 bytes make: *** [matm.o] Error 1 Can someone please help No, we do not have matm.f, so nobody here can debug your code. Best, Uwe Ligges NJ E-pos vrywaringsklousule Hierdie e-pos mag

Re: [R] Help from DOS Command Prompt

2012-07-24 Thread Uwe Ligges
after you set the PATH? b) What does echo %PATH% return? So please read *and follow* the posting guide. Best, Uwe Ligges Thanks w -- View this message in context: http://r.789695.n4.nabble.com/Help-from-DOS-Command-Prompt-tp4637557p4637598.html Sent from the R help mailing list

Re: [R] generic functions question in building a new package

2012-07-20 Thread Uwe Ligges
in documentation object 'Benefit' but not in code: print You need \S3method{print}{Benefit}(...) in the usage line rather than print(...) Best, Uwe Ligges --- Do I need to write a new print Rd document into R file in that Package? If so, how can I write it? I read the section 7

Re: [R] functions of vectors : loop or vectorization

2012-07-18 Thread Uwe Ligges
that calls mapply() which is some kind of a loop. This may be a case where the transition of inner loops to C may be benefitial. Best, Uwe Ligges -- View this message in context: http://r.789695.n4.nabble.com/functions-of-vectors-loop-or-vectorization-tp4636494.html Sent from the R help

Re: [R] Installing packages from RProfile.site file

2012-07-18 Thread Uwe Ligges
a separate R instances to install the package which reads the Rprofile.site file and starts a separate R instances to install the package which reads the Rprofile.site file Best, Uwe Ligges I noticed that a lock file for the package is created along with the package in the library folder

Re: [R] keep parameter in step function

2012-07-18 Thread Uwe Ligges
(, scope = list(lower = ~ XtoKeep, upper = ~ X1 + X2 + etc)) Best, Uwe Ligges Thank you all Mati Bielawski [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] R2WinBUGS

2012-07-17 Thread Uwe Ligges
. best, Uwe Ligges Michael On Jul 17, 2012, at 11:06 AM, PRAGYA SUR pragya1...@gmail.com wrote: Dear R users, Can anyone tell me why I might get the error message the array index is greater than the upper bound for t in WinBUGS ? t is a vector I have defined. I have checked

Re: [R] Warning message with read.csv.sql

2012-07-17 Thread Uwe Ligges
:/BharatWarule/big_data_July/cypress_modeldev_account_info.csv) You had open connections before that you forgot to close. R detected that some are unused and closed them for you. That's it. It is also a warning, not an error. Uwe Ligges Thanks, Bharat - Bharat Warule Cypress Analytica

Re: [R] problem with installing R pacakges

2012-07-17 Thread Uwe Ligges
not correctly? Please see what the R for Windows FAQs say about using proxies. If that does not help, ask your local sysadmin. We cannot help. Uwe Ligges The error I get is as below install.packages(MASS) Warning: unable to access index for repository http://ftp.iitm.ac.in/cran/bin/windows

Re: [R] duplicate couples (time-id) Problem

2012-07-17 Thread Uwe Ligges
into it, but reading the message suggests that you have at least one id appearing at least twice at the same time? Uwe Ligges / Saint -- View this message in context: http://r.789695.n4.nabble.com/duplicate-couples-time-id-Problem-tp4636316.html Sent from the R help mailing list archive at Nabble.com

Re: [R] aligning image with bar plot in the same plot

2012-07-17 Thread Uwe Ligges
Insert par(yaxs=i) after you are finsihed with the image. See ?par for details what is does. Uwe Ligges On 17.07.2012 13:13, Tiago R M wrote: Dear Mailing list, I want to plot a matrix using image() and on its side I want to give information to every line of the matrix using colors. I

Re: [R] Help with R2 OpenBUGs

2012-07-13 Thread Uwe Ligges
the model file in OpenBUGS directly until you are sure it is correct, then go back to R and automate things Uwe Ligges TP -- View this message in context: http://r.789695.n4.nabble.com/Help-with-R2-OpenBUGs-tp4636412p4636424.html Sent from the R help mailing list archive at Nabble.com

Re: [R] Help with R2 OpenBUGs

2012-07-13 Thread Uwe Ligges
purposes, it is advisable to open the model file in OpenBUGS directly until you are sure it is correct, then go back to R and automate things Uwe Ligges TP -- View this message in context: http://r.789695.n4.nabble.com/Help-with-R2-OpenBUGs-tp4636412p4636424.html Sent from the R help

Re: [R] R2OpenBUGS quesion

2012-07-13 Thread Uwe Ligges
is 2.15.1 in win7 and 2.15.0 in Ubuntu. Many thanks ! 1. Please always send reproducible examples. 2. Which version of OpenBUGS and which version of R2OpenBUGS (for both there are recent updates) Uwe Ligges Best, Yilong schools.sim - bugs(data, inits, parameters, model.file

Re: [R] Skipping lines and incomplete rows

2012-07-11 Thread Uwe Ligges
You actually jsut need to say what the comment char and what the na.strings are: read.table(filename, sep=;, skip=3, header=TRUE, na.string=#N/A, comment.char=) Uwe Ligges On 10.07.2012 19:30, arun wrote: Hello Ravi, I was not aware that your dataset have special character # before NA

Re: [R] identify.hclust() doesn't cut tree at the vertical position of the mouse pointer

2012-07-11 Thread Uwe Ligges
. So time to read the help page: ?identify.hclust tells you about an argument MAXCLUSTER and hence identify(hc, MAXCLUSTER=500) will probably due the trick. Best, Uwe Ligges Any help is much appreciated. sessionInfo() R version 2.15.1 (2012-06-22) Platform: x86_64-pc-mingw32/x64 (64-bit

Re: [R] How to add marker in Stacked bar plot?

2012-07-11 Thread Uwe Ligges
], xlim=c(0,9), width=2) http://r.789695.n4.nabble.com/file/n4635946/Screenshot.png . Image with marker: http://r.789695.n4.nabble.com/file/n4635946/marker.png How can i add marker or arrow for particular stack in graph. See ?arrow Uwe Ligges Regards -- View this message in context

Re: [R] Why 95% quantile empty in R or why 95% quantile = 1 with data values between 0 and 1?

2012-07-11 Thread Uwe Ligges
. See ?quantile and choose a definition that fits your expectation. Best, Uwe Ligges Thanks. makeQuantiles - function(x) { t(apply(x, 1, function(row) { quantile(row, probs = c(0.50,0.75, 0.90, 0.91,0.92,0.93,0.94,0.95,0.96,0.97,0.98) ) })) } colsGTQuantile - function(x, qs, q) { sapply

Re: [R] R to winbugs interface

2012-07-10 Thread Uwe Ligges
in some data.frame that was attached to the search path. Best, Uwe Ligges i was shown this notification after the results were printed. On Mon, Jul 9, 2012 at 1:15 PM, Uwe Ligges lig...@statistik.tu-dortmund.de mailto:lig...@statistik.tu-dortmund.de wrote: On 09.07.2012 18:19, PRAGYA SUR

Re: [R] R to winbugs interface

2012-07-09 Thread Uwe Ligges
/LOCALS~1/Temp/RtmpU3u46p/log.txt) and did not proceed any further. Can anyone tell me what migh tbe the possible error here? Although unstated, I guess it was finished and did not close because you used bugs(., debug=TRUE)? Uwe Ligges On Mon, Jul 9, 2012 at 7:04 AM, S Ellison s.elli

Re: [R] list.files() find files beginning with a .

2012-07-08 Thread Uwe Ligges
, pattern=^\\.) Best, Uwe Ligges Any ideas on how to solve that issue? Cheers syrvn -- View this message in context: http://r.789695.n4.nabble.com/list-files-find-files-beginning-with-a-tp4635773.html Sent from the R help mailing list archive at Nabble.com

Re: [R] Upgrade to 2.14

2012-07-08 Thread Uwe Ligges
natty (as far as I understand). Is there a way to upgrade to 2.14 (and not more) within R or Ubuntu synaptic. If you consider an upgrade, you should reall go to a recent version of R: R-2.15.1 is the recent release version. Uwe Ligges Thank you Hanan -- View this message in context

Re: [R] Error during working with wgcna and R

2012-07-08 Thread Uwe Ligges
cannot help you to reduce the problem size without knowing anything about it. Uwe Ligges -- View this message in context: http://r.789695.n4.nabble.com/Error-during-working-with-wgcna-and-R-tp4635768.html Sent from the R help mailing list archive at Nabble.com

Re: [R] problem with library()

2012-07-08 Thread Uwe Ligges
Hmmm, this is not a clean R-2.15.1: .readRDS is defunct nowadays. Hence I assume you got packages or even whole libraries and R versions mixed up on your machine. Best, Uwe Ligges a very old R-2.4.0 sitting in a corner and not used for a long time with a very reduced Cran subdirectory, OK

Re: [R] Problem with Apriori

2012-07-07 Thread Uwe Ligges
under R-devel recently. It is always a good idea to write to the package maintainer (hence CCing Holger Schwedner) - including reproducible code in the message, of course. Best, Uwe Ligges 3. Without providing any reproducible code, it will probably be complicated to answer you. Best

Re: [R] colored nodes in dendrogram

2012-07-07 Thread Uwe Ligges
$height[1], col=red) 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.html and provide commented, minimal, self-contained

Re: [R] Adding Text to a persp plot using specific coordinates

2012-07-05 Thread Uwe Ligges
, theta=-30,nticks=8,ticktype=detailed) text(trans3d(0,0,0,pmat), Hello World!) Best, Uwe Ligges Any ideas on how adding some text or labels to an existing persp plot using the coordinates I've entered? Thanking you in anticipation. Dubreuil Benjamin Research Assistant in Bioinformatics

Re: [R] Printing from R Console in colour

2012-07-04 Thread Uwe Ligges
, not in colour. Similarly, if I Edit - Select All, Edit - Copy --- and paste into Word, the commands and results are only in monochrome, not in colour. How do I enable R to print commands and results in colour? Thanks You are talking about RGui in Windows? Then the answer is you cannot. Uwe Ligges

Re: [R] 'init.win' error when installing from source

2012-07-04 Thread Uwe Ligges
, it is available from: your-CRAN-mirror/src/base/R-2/R-2.15.1-w.tar.gz Best, Uwe Ligges Duncan Murdoch Thanks, Erin Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation. All rights reserved. c:\R\R-2.15.1\src\gnuwin32make all recommended make all recommended

Re: [R] MS-DOS script R

2012-07-04 Thread Uwe Ligges
filename.R from the folder where filename.R is located. For more details and the differences of those approaches, see the manuals. Best, Uwe Ligges -- View this message in context: http://r.789695.n4.nabble.com/MS-DOS-script-R-tp4635398.html Sent from the R help mailing list archive

Re: [R] How to get prediction for a variable in WinBUGS?

2012-07-04 Thread Uwe Ligges
This came through unformatted. Please fix. I won't look into it this way. And please send plain text only. Best, Uwe Ligges On 02.07.2012 22:28, bo yu wrote: Dear all,I am a new user of WinBUGS and need your help. After running the following code, I got parameters of beta0 through beta4

Re: [R] problem with quilt.plot

2012-07-04 Thread Uwe Ligges
=FALSE,nlevel=number_colors - 1,legend.args=list(quote(delta^18*O~(‰)),col=black,cex=0.8,side=3,line=1)) Strange, I get: Error: could not find function quilt.plot Or in other words: This is not reproducible at all. Please read the posting guide. Best, Uwe Ligges title(xlab=quote

Re: [R] VIM package - how to get the underlying code

2012-07-03 Thread Uwe Ligges
version and your source code (incluing a seed for random numbers), I do not see what else is required. Best, Uwe Ligges Thanks, Mathias On Mon, Jul 2, 2012 at 11:06 AM, Uwe Ligges lig...@statistik.tu-dortmund.de mailto:lig...@statistik.tu-dortmund.de wrote: On 01.07.2012 21:19

Re: [R] VIM package - how to get the underlying code

2012-07-02 Thread Uwe Ligges
also with the GUI, I wonder if anybody knows how to get the code for the diagrams you can create using the GUI. Just download the source version of the VIM package and take a look into the code? Best, Uwe Ligges Thanks, Mathias [[alternative HTML version deleted

Re: [R] package ‘rggobi’ is not available (for R version 2.15.0)

2012-06-30 Thread Uwe Ligges
the package maintainer. Best, Uwe Ligges let alone anyone in particular not associated with the one package relevant to my post. -- View this message in context: http://r.789695.n4.nabble.com/package-rggobi-is-not-available-for-R-version-2-15-0-tp4634763p4634925.html Sent from the R help mailing

Re: [R] lm without intercept, false R-squared

2012-06-27 Thread Uwe Ligges
version of false. Best, Uwe Ligges Greetings Chrsitof __ 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, minimal, self

Re: [R] lm without intercept, false R-squared

2012-06-27 Thread Uwe Ligges
Ligges Am 27-06-2012 10:25, schrieb Uwe Ligges: On 27.06.2012 09:33, Christof Kluß wrote: Hi is there a command that calculates the correct adjusted R-squared, when I work without intercept? (The R-squared from lm without intercept is false.) Then we need your definition of your version

Re: [R] rrdf package for mac not working

2012-06-26 Thread Uwe Ligges
Please contact the package maintainer. Best, Uwe Ligges On 26.06.2012 00:41, Ricardo Pietrobon wrote: rrdf is incredibly helpful, but I've notice that the rrdf package for mac hasn't been working for some time: http://goo.gl/5Ukpn . wondering if there is still a plan to maintain

Re: [R] rrdf package for mac not working

2012-06-26 Thread Uwe Ligges
On 26.06.2012 00:41, Ricardo Pietrobon wrote: rrdf is incredibly helpful, but I've notice that the rrdf package for mac hasn't been working for some time: http://goo.gl/5Ukpn . wondering if there is still a plan to maintain that in the long run, or if there is some other alternative to read

Re: [R] MuMIn - assessing variable importance following model averaging, z-stats/p-values or CI?

2012-06-26 Thread Uwe Ligges
Please contact the package maintainer. Best, Uwe Ligges On 26.06.2012 12:46, Robertson, Andrew wrote: Dear R users, Recent changes to the MuMIn package now means that the model averaging command (model.avg) no longer returns confidence intervals, but instead returns zvalues

Re: [R] Packaging Error

2012-06-26 Thread Uwe Ligges
to try it out. Best, Uwe Ligges Thanks, Mayank This email message may contain proprietary, private and confidential information. The information transmitted is intended only for the person(s) or entities to which it is addressed. Any review, retransmission

Re: [R] Obtaining saving cluster membership via hclust

2012-06-24 Thread Uwe Ligges
on whether this is possible within hclust and if so, how do I do this? The syntax I have employed so far, follows. FS4 - read.csv(E://Arsont2.csv,header=T) dmat - dist(FS4, method=binary) dmat ctest - hclust (dist(FS4, method=binary), ave) plot(ctest) See ?cutree Uwe Ligges Bob Green

Re: [R] Fwd: Rgraphviz installation problem

2012-06-24 Thread Uwe Ligges
via install.packages() and if you really want to remove before, use remove.packages(). Uwe Ligges Thanks in advance Anton Gerostathos -- View this message in context: http://r.789695.n4.nabble.com/Rgraphviz-installation-problem-tp3692733p4634332.html Sent from the R help mailing list archive

Re: [R] Power calculation using pwr.t.test()

2012-06-24 Thread Uwe Ligges
=two.sample,alternative=two.sided) Good luck this is an open source software where you can easily review the code and check if it is right. If it is not, I'd propose to send a patch to the package maintainer. Best, Uwe Ligges Many thanks for you help! Jokel [[alternative HTML version

Re: [R] p-value for the fitted parameters in linear models

2012-06-24 Thread Uwe Ligges
be able to help. Also, what is the p-value of the parameters? Obviously a hypothesis is missing in this sentence. Best, Uwe Ligges Thanks in advance! Li Sun __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

Re: [R] p-value for the fitted parameters in linear models

2012-06-24 Thread Uwe Ligges
Is there any mechanism to pass x, y and Δy to lm() so that I can find k, b as well as their uncertainties Δk, Δb? Again, no: this is not a linear model. Assumption in a linear model is that the errors are identically distributed. Uwe Ligges Li Sun 2012/6/24 Prof Brian Ripley rip

Re: [R] install package mixdist

2012-06-22 Thread Uwe Ligges
= package, lib.loc = lib.loc, envir = dataEnv) : data set 'poispar.txt' not found * DONE (mixdist) I'm on an Ubuntu 10.04 LTS (Lucid Lynx) 64 with R 2.10.1 Upgrade to an R that is not that ancient? Uwe Ligges How can I fix this? Thanks in advance!!! Yakir Gagnon cell+1 919 886 3877 office

Re: [R] Stepwise Discriminant Analysis - greedy.wilks

2012-06-20 Thread Uwe Ligges
, niveau = 0.1) works for me. Best, Uwe Ligges On 20.06.2012 01:15, martanair wrote: I don't understand which is the problem Could you help me please? Thanks in advance Marta str(data_indiciN2) 'data.frame': 200 obs. of 36 variables: $ gruppo: Factor w/ 2 levels 0,1: 2 2 2 2 2 2

Re: [R] Websocket example out of the box failing if running at startup from Rprofile.site

2012-06-20 Thread Uwe Ligges
: eval.with.vis(ei, envir) 2: source(C:\\R\\orig-websockets.R) 1: .First() I would appreciate any suggestions on a subject. tail is in the utils package that is not available at that time. You can try utils::tail to access it. Uwe Ligges Ilya [[alternative HTML version deleted

Re: [R] Multi-threads in R

2012-06-17 Thread Uwe Ligges
. Uwe Ligges Michael On Jun 17, 2012, at 11:39 AM, Gary Dongpdxgary...@gmail.com wrote: Dear R users, I'm wonder if there is a easy way to make R use multi-CPUs on my computer. My computer has four CPUs but R uses only one. Thanks. Gary [[alternative HTML version deleted

Re: [R] Trouble with .bat files upon installation of 15.0

2012-06-14 Thread Uwe Ligges
perfectly smoothly this morning Probably the scheduler runs under another user account / security level? Please ask the vendor of that software. Uwe Ligges I confess that I am baffled. As far as I am aware the System Scheduler should simply act as a double-click on the .bat file at a specific time

Re: [R] Median line with stripchart

2012-06-13 Thread Uwe Ligges
to draw a mean or median line, neither I found this option in other packages. Could somebody help? ??? What about: x - rnorm(100) stripchart(x) abline(v=median(x)) Uwe Ligges Best regards, Luigi Marongiu, MSc [[alternative HTML version deleted

Re: [R] Error in if (rank) { : argument is not interpretable as logical

2012-06-12 Thread Uwe Ligges
() of the error message. Uwe Ligges Thanks, Duarte __ 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, minimal, self

Re: [R] How to build a large identity matrix faster?

2012-06-12 Thread Uwe Ligges
(assuming O(n) for the numbers of elements in the matrix) a ratio of round(23000^2/5000^2)=21 and actually you reported round(15/0.7)=21 Best, Uwe Ligges On 11 June 2012 17:43, Ceci Tamyeeching...@gmail.com wrote: diag(n) is alright when n = 5e3, it took 0.7 sec on my machine for diag(5e3

Re: [R] load coda in BRugs to perfor diagnostics

2012-06-09 Thread Uwe Ligges
to read coda files with BRugs ? You cannot. BRugs runs OpenBUGS in the background and is just an interface plus some sugar for OpenBUGS. Functions such as samplesBgr() get the data of the current sampling state from OpenBUGS. Best, Uwe Ligges Thanking you in advance Guillaume -- View

Re: [R] preserving date formats in functions

2012-06-09 Thread Uwe Ligges
]; tmp), possibly extended to handle missing values in test. === Best, Uwe Ligges Many thanks Jon -- View this message in context: http://r.789695.n4.nabble.com/preserving-date-formats-in-functions-tp4632435.html Sent from the R help mailing list archive at Nabble.com

Re: [R] Help with permutation function from Turner et al. 2010 (Ecology)

2012-06-09 Thread Uwe Ligges
guide asks you), why not ask the authors of the code? They hopefully know better what they aimed to get than readers of this list. Best, Uwe Ligges Thanks, Ashley Ashley Stasko M.Sc. Candidate Cooperative Freshwater Ecology Unit Living

Re: [R] Proxy Setting

2012-06-08 Thread Uwe Ligges
://username:password@proxy server:port') Uwe Ligges I used the following code to download the data GAS-read.table(http://www.eia.gov/petroleum/gasdiesel/xls/pswrgvwall.csv; , sep=, , header=T) Error in file(file, rt) : cannot open the connection In addition: Warning message: In file(file, rt

Re: [R] Process XML files

2012-06-08 Thread Uwe Ligges
? Most of us do not have S-PLUS available to check (actually, we do have a 13 year old copy S-PLUS 4.5 at our department). You do, obviously, hence why not check it yourself? And if you can't, why not ask the vendor of your statistics software? Best, Uwe Ligges Thanks so much! Santosh

Re: [R] How to build a large identity matrix faster?

2012-06-08 Thread Uwe Ligges
I quickly looked at it, and the difference comes from: n - 5e3 system.time(x - array(0, c(n, n))) # from diag() system.time(x - matrix(0, n, n)) # from Rdiag() Replaced in R-devel. Best, Uwe Ligges On 07.06.2012 12:11, Spencer Graves wrote: On 6/7/2012 2:27 AM, Rui Barradas wrote: Hello

Re: [R] Error in installing packages

2012-06-07 Thread Uwe Ligges
, Uwe Ligges lig...@statistik.tu-dortmund.dewrote: On 06.06.2012 17:14, Andreia Leite wrote: Dear list, I'm trying to install a package but every time I select the option form the menu this error message appears: utils:::menuInstallPkgs() Error in read.dcf(file = tmpf) : Line starting

Re: [R] Error in installing packages

2012-06-06 Thread Uwe Ligges
any clue of the reason why is it happening? I'm using a older version (2.9.2) but it always worked perfectly! Have you checked proxy settings? Is this Windows? Have you checked if the (also unstated) CRAN mirror you are using works correctly and delivers that part of the repository? Uwe

Re: [R] error calling Winbugs using R2WinBugs to run a multi-level model

2012-06-06 Thread Uwe Ligges
the model file and the data. My suspicion is that the matrices have to be transposed. Best, Uwe Ligges HTH On Wed, Jun 6, 2012 at 4:12 AM, Saana Isojunno saana.isoju...@googlemail.com wrote: Dear all, I'm calling Winbugs (1.4.3) through R2WinBugs (2.1-18 coda_0.14-7) to fit a switching

Re: [R] get index of current element in vector

2012-06-05 Thread Uwe Ligges
On 05.06.2012 00:36, Erdal Karaca wrote: Thanks all, that worked! Yes, it should be for (i in 1:length(a)) a[i]- scalar * a[i] * i And now is... a- a * scalar * seq_along(a) That is almost as cool as the PERL programming language :-) Almost? Uwe Ligges 2012/6/4 Rui

Re: [R] get index of current element in vector

2012-06-05 Thread Uwe Ligges
On 05.06.2012 14:46, jim holtman wrote: Do we need an Obfuscated R contest? I already know potential winners Uwe On Tue, Jun 5, 2012 at 8:17 AM, Uwe Ligges lig...@statistik.tu-dortmund.de wrote: On 05.06.2012 00:36, Erdal Karaca wrote: Thanks all, that worked! Yes

Re: [R] About Plot.new

2012-06-03 Thread Uwe Ligges
Perhaps not at all, since you are posting to the R-help list rather than to the original poster of the question. You also forgot to quote the original question as the posting guide asks you to do. Uwe Ligges On 03.06.2012 08:12, czar wrote: @mr.parashar4 - If this not resolved yet, here

Re: [R] Modify pdf file with Illustrator.

2012-06-03 Thread Uwe Ligges
, not pdf? Or when I produced the pdf, I should set some other parameters? Questions are: 1. Why do you need to modify it, perhaps you don't. 2. What dio you want to do with the file in later steps? Perhaps a format with a representation in a more human readable form helps... Best, Uwe Ligges

Re: [R] Partial R-square in multiple linear regression

2012-06-03 Thread Uwe Ligges
the individual % contributions of several indepenent variables. I tried searching for this function in many R packages, but it has proven elusive to me. I am an R beginner, and I am hoping that I will find a solution! summary(lm(...)) calculates the R^2. See ?summary.lm Uwe Ligges Thank you very much

Re: [R] Compare data between two groups/countries on 5-point Likert scale questionnare?

2012-06-03 Thread Uwe Ligges
the dissertation is due (actually, at the time when you planned the questionnaire). Otherwise I'm interested to hear which university accepts theses where the analysis chapters can be written within a week and the evaluation and analysis of questionnaires is not planned in advance. Uwe Ligges I'm

Re: [R] Modify pdf file with Illustrator.

2012-06-03 Thread Uwe Ligges
On 03.06.2012 17:03, Jinyan Huang wrote: Thank you. 1, I want to put some text and title. Then put several figures into one. So just do it within R and use title() within R and use par() and its argument mfrow to arrange several figures in rows and columns. Uwe Ligges On Sun, Jun 3

Re: [R] Memory-random forest

2012-06-03 Thread Uwe Ligges
methods that can deal with such huge amounts of data. Uwe Ligges Thanks, Myriam [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

Re: [R] How to make a transaction class data?

2012-06-03 Thread Uwe Ligges
reproducible examples so that people can help. Uwe Ligges -- View this message in context: http://r.789695.n4.nabble.com/How-to-make-a-transaction-class-data-tp4632114.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r

Re: [R] Silencing the output of install.packages()

2012-06-01 Thread Uwe Ligges
a workaround that could be used to get rid of the output? You could try to sink() into some null device, if that does not interact with the GUI you are using. Best, Uwe Ligges Thanks Tejas On Thursday 31 May 2012 08:00 PM, Uwe Ligges wrote: On 31.05.2012 16:18, Tejas Kale wrote: Hello

Re: [R] odfWeave fails to load

2012-05-31 Thread Uwe Ligges
sytem that allows users to review packages, so the few bad apples are properly labelled and can be avoided by the community. Kind regards We know, that's why the package is scheduled for archival already (alongside with currently 30 others). Best, Uwe Ligges Stephen B -Original

Re: [R] Silencing the output of install.packages()

2012-05-31 Thread Uwe Ligges
installed. Uwe ligges Thanks for your help Tejas Kale IUCAA, Pune __ 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

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