Re: [R] Problem using BRugs

2010-10-17 Thread Uwe Ligges
and I may find some time to take a look. But please try yourself at first. Best wishes, Uwe Ligges variable ww is not defined in model or in data set [1] C:\\DOCUME~1\\maomao\\LOCALS~1\\Temp\\RtmpqJk9R3/inits1.txt Initializing chain 1: model must be compiled before initial values loaded

Re: [R] R 2.12.0 - malware detect by antivirus software

2010-10-17 Thread Uwe Ligges
sense to report the false positive to Avira in order to protect ourselves from dozens of messages on this list tomorrow. Additionally, you may want to add a note on the CRAN download page. Best wishes, Uwe Ligges On 17.10.2010 20:18, Paulo Barata wrote: Dear R-list members, I have just downloaded

Re: [R] R 2.12.0 for Windows: error when loading (some) packages

2010-10-18 Thread Uwe Ligges
but forgot to update RWinEdt Please run update.packages(checkBuilt=TRUE) and try again. Uwe Ligges Best, Dimitris On 10/18/2010 8:49 AM, Renaud Lancelot wrote: Thank you. I have read the CHANGES file as well as the FAQ, indeed. I have uninstalled R, removed the remaining directories

Re: [R] is there a way to update both packages if they occur in 2 libraries?

2010-10-20 Thread Uwe Ligges
update.packages() updates all packages in all libraries listed in .libPaths() unless you specify an explicit library. It may happen that the version number has not changed and you just want to reinstall for your upgraded R. In that case use: update.packages(checkBuilt=TRUE) Best, Uwe Ligges

Re: [R] is there a way to update both packages if they occur in 2 libraries?

2010-10-20 Thread Uwe Ligges
) (+618) 8952 7878 ch...@trickysolutions.com.au -Original Message- From: Uwe Ligges [mailto:lig...@statistik.tu-dortmund.de] Sent: Wednesday, 20 October 2010 9:15 PM To: Chris Howden Cc: r-help Subject: Re: [R] is there a way to update both packages if they occur in 2 libraries

Re: [R] Change column of numbers in data frame to days

2010-10-23 Thread Uwe Ligges
- factor((foo %% 7) + 1, levels = 1:7, labels=c('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat')) will fix it. Best, Uwe Ligges Will __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] Odp: Cbind query

2010-10-23 Thread Uwe Ligges
was 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, reproducible code.

Re: [R] Biplot: plot group name instead of row number

2010-10-23 Thread Uwe Ligges
to plot iris[,5], which is a factor. I can do this: plot(PCA$x[,1], PCA$x[,2], type=n) text(PCA$x[,1], PCA$x[,2], labels=iris[,5], col=palette()[iris[,5]]) Here I have a nice colored plot, but without the variable vectors. Any tip? See ?biplot biplot(PCA, xlabs=iris[,5]) Uwe Ligges

Re: [R] Different time between date() and Sys.date()

2010-10-23 Thread Uwe Ligges
On 21.10.2010 19:53, David Winsemius wrote: On Oct 21, 2010, at 11:59 AM, omerle wrote: Thanks for you answer. It s sufficient but I d like to know why my system think I am CEST and yours think your are EDT. It probably acquired it from your OS at the time of R's installation. No, the

Re: [R] Limitations and scale of R, and performance issues if and when limit reached

2010-10-23 Thread Uwe Ligges
performance problems or issues? In other words what scale can R handle? Depends on the available memory, the kind of data and the methods you are going to apply. Uwe Ligges Thanks ever so much once again. Kind regards Stratos On Tue, Oct 12, 2010 at 11:31 AM, Dennis Murphydjmu

Re: [R] cv.lm() broken; cross validation vs. predict(interval=prediction)

2010-10-23 Thread Uwe Ligges
or anything. Please report to the package maintainer. Best, Uwe Ligges There was a thread about this here about 3 years ago but the person got no response. Does anyone know of a working alternative? Thanks, Dan __ R-help@r-project.org mailing list https

Re: [R] add diagonal line to covariance matrix

2010-10-23 Thread Uwe Ligges
, see ?diag Uwe Ligges Thanks __ 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] Problem with Aggregate - Sum, limit on number of criteria

2010-10-23 Thread Uwe Ligges
This is fixed in recent versions of R: r52862 | hornik | 2010-09-01 18:21:49 -0400 (Wed, 01 Sep 2010) | 1 line Changed paths: M /trunk/src/library/stats/R/aggregate.R Avoid integer overflows. Uwe Ligges

Re: [R] Contour Plot on a non Rectangular Grid

2010-10-24 Thread Uwe Ligges
the facilities in package rgl then? Uwe Ligges Lorenzo __ 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] re-vertical conversion of data entries

2010-10-25 Thread Uwe Ligges
It is just that the vertical (column) vector is represented that way in R. If you want to dsiplay it in a column, just generate a matrix, for simplicity: matrix(x, ncol=1) Uwe Ligges On 25.10.2010 05:45, Penny Adversario wrote: Dear R user, Can you please help me. How do I convert

Re: [R] Unable to allocate arrays of size 2GB in 64 bit Windows 7 R

2010-10-25 Thread Uwe Ligges
Do you use a 64-bit version of R? I suspect you are using a 32-bit build. The R-2.12.0 installer comes with binaries for both architectures. Uwe Ligges On 25.10.2010 04:25, Bhattacharyya, Siddhartha wrote: I seem Unable to allocate arrays of size around 2GB in 64 bit Windows 7 R

Re: [R] plot does not work

2010-10-25 Thread Uwe Ligges
You are probably plotting into a pdf device (the default if no X11 available). Uwe Ligges On 25.10.2010 11:44, Alaios wrote: Hello everyone The following two commands plot.default(seq(1,5),seq(2,6)) plot(seq(1,5),seq(2,6)) plot nothing. One day ago this would create a simple plot diagram

Re: [R] plot does not work

2010-10-25 Thread Uwe Ligges
See ?x11 ?pdf Uwe Ligges On 25.10.2010 12:16, Alaios wrote: What is a pdf device? How to change this? *From:* Uwe Ligges lig...@statistik.tu-dortmund.de *To:* Alaios ala...@yahoo.com *Cc:* Rhelp r-help@r-project.org

Re: [R] difftime error

2010-10-25 Thread Uwe Ligges
:00 and 1981-03-29 02:00:00 Note that 1981-03-29 02:00:00 is exactly the time of a daylight saving time change and needs declaration of a time zone. You may want to force tz=GMT if you think the time difference was really 20 minutes (rather than 1:20 or -0:40 or whatever that is). Best, Uwe

Re: [R] R on 32-bit ubuntu with PAE enabled

2010-10-27 Thread Uwe Ligges
On 26.10.2010 16:41, Wensui Liu wrote: morning, all right now, I have R installed on a 32-bit ubuntu with PAE enabled. And I can see more than 4-g memory available in system monitor. my question is: might this 32-bit R take advantage of the extra memory and handle large data? No. Uwe

Re: [R] How to find out the trend during a time period?

2010-10-28 Thread Uwe Ligges
,but not date. What is date? WHere is the reproducible example? Uwe Ligges So maybe lm isn't appropriate. Then,which function could be used? Thanks a lot for your help. My best [[alternative HTML version deleted]] __ R-help@r-project.org

Re: [R] updating a local package

2010-10-28 Thread Uwe Ligges
Installation and Administartion. Uwe Ligges On 28.10.2010 11:23, Robert Kinley wrote: Hi folks I have inherited a package which was created before release 2.10 and I need to have it working in release 2.12 There is a folder containing the Man, Data and R subfolders, and the description file

Re: [R] replace text at certain positions in a file

2010-10-28 Thread Uwe Ligges
I'd just import the positions I like using read.fwf() or otherwise you can replace strings at certain positions, see ?substr Uwe Ligges On 28.10.2010 11:26, RINNER Heinrich wrote: Hello, I am working with R version 2.10.1 under windows. In a text file, I need to replace all characters

Re: [R] updating a local package

2010-10-28 Thread Uwe Ligges
to reinstall the package and hence you need to start with a source package. Details for installing from source are given in the manual R Installation and Administartion. Uwe Ligges On 28.10.2010 11:23, Robert Kinley wrote: Hi folks I have inherited a package which was created before release 2.10

Re: [R] scatterplot3d; scaling point symbols to depth of graph

2010-10-28 Thread Uwe Ligges
It's a bug (since I did not expect people to change the size of the symbols vectorized). Will provide a fix tomorrow. Uwe On 28.10.2010 11:28, John Coulthard wrote: Hi I'm trying to scale the point symbols on a 3d plot so that the ones at the front are larger than the ones at the back.

Re: [R] How do I install (download) a package with my own package?

2010-10-28 Thread Uwe Ligges
See Writing R Extensions: You can declare dependencies and install.packages(...) and its argument dependencies can handle automatical installation of dependencies. Uwe Ligges On 28.10.2010 21:13, Ian Schiller wrote: I want to create my own package in which some of my functions depend

Re: [R] scatterplot3d; scaling point symbols to depth of graph

2010-10-29 Thread Uwe Ligges
I had a look: I fixed it 5 months ago and forgot to make a new release. The version on R-forge contains the fix already. New release on its way to CRAN. Best wishes; Uwe On 28.10.2010 11:28, John Coulthard wrote: Hi I'm trying to scale the point symbols on a 3d plot so that the ones at

Re: [R] plot pdf

2010-10-30 Thread Uwe Ligges
=c(emf), device = dev.cur(),restoreConsole = TRUE) Probably you do not have administrator permissions when running R and hence you cannot write to c:\ directly. Uwe Ligges Warning messages: 1: In savePlot(filename = c:\\lower.emf, type = c(emf), device = dev.cur(), : Unable to open

Re: [R] R-help Digest, Vol 92, Issue 31

2010-10-31 Thread Uwe Ligges
On 31.10.2010 05:22, Neyra Peña wrote: Hi, I'd like to unsubscribe from the list. Thanks Neyra Have you ever read the first lines (those I still cite below) of the message you got that already tells you how to unsubscribe? Uwe Ligges De: r-help

Re: [R] Downloading Package Sources

2010-10-31 Thread Uwe Ligges
) - ask R to download.packages(available.packages(type=source)[,1], type=source, destdir=.) Maybe you want to redefine the filters. for available.packages. See its help page for details. Uwe Ligges __ R-help@r-project.org mailing list https

Re: [R] using dimnames as main when plotting with lapply

2010-11-01 Thread Uwe Ligges
of tmp. Hence go with a loop or use lapply(seq_along(tmp), function(x) plot(tmp[[x]], main = names(tmp[x]))) Uwe Ligges Apparently not the right way to extract dimnames to main. Any suggestion of how to proceed? Thanks in advance for any comments. Henrik

Re: [R] Plots inside a Plot

2010-11-01 Thread Uwe Ligges
Not in R base graphics, but you can do easily with the grid package. Best, Uwe Ligges On 01.11.2010 11:59, Knut Krueger wrote: hi, is it possible to draw a plot inside another plot f.e in the upper right corner. I do not mean the possbility par(mfrow = c(2,2). Kind Regards Knut

Re: [R] Plots inside a Plot

2010-11-01 Thread Uwe Ligges
On 01.11.2010 12:20, Barry Rowlingson wrote: On Mon, Nov 1, 2010 at 11:10 AM, Uwe Ligges lig...@statistik.tu-dortmund.de wrote: Not in R base graphics, but you can do easily with the grid package. You can do anything in R base graphics! Sometimes it's been done for you, sometimes you

Re: [R] 32-bit packages on 64-bit Windows

2010-11-01 Thread Uwe Ligges
Yes, 32-bit precompiled packages work with 32-bit R binaries on 64-bit Windows. Best, Uwe Ligges On 01.11.2010 18:40, Lee Hachadoorian wrote: Are 32-bit precompiled packages supposed to work on 32-bit R installed on 64-bit Windows? I *think* the Windows R FAQ (2.28 Should I run 32-bit

Re: [R] Add more functions or dataset in my package

2010-11-02 Thread Uwe Ligges
See the manual Writing R Extensions. Uwe Ligges On 02.11.2010 17:13, Carla Moreira wrote: Hello, I have constructed an R package, however, now I need to add a dataset in the package. How can I do it? Thank you very much in advance. __ R-help@r

Re: [R] system() and system2() functions

2010-11-02 Thread Uwe Ligges
and windows? If it should work for R 2.12.0, then use system() and add, at least for Windows, a shell command (such as cmd) that allows the executable to run under the Windows command shell. Or better, use shell() right away, you need to special case for Windows anyway. Best, Uwe Ligges

Re: [R] install vegan

2010-11-03 Thread Uwe Ligges
(, filters = Filters[c(zip, : unable to install packages utils:::menuInstallLocal() does anybody know what is wrong? Yes: you do not have permission to write to C:/Programme/R/R-2.12.0/library where you are trying to install the package to. Uwe Ligges Thanks in advance, Carolin

Re: [R] can't load nlme on windoze 7

2010-11-07 Thread Uwe Ligges
I wonder why cygwin is mentioned here. If you are using the setup installer, it is a native Windows executable and does not run under cygwin. cygwin1.dll should not be required anywhere. The cygwin platform is not supported. Best, Uwe Ligges On 07.11.2010 14:37, Mike Marchywka wrote

Re: [R] Integrate and mapply

2010-11-07 Thread Uwe Ligges
So undint(u) is a 15 dimensional vector. What do the different dimensions mean? How would you define the integral of a 15 dimensional vector? It would help if you could provide some background on what your code is supposed to do. Uwe Ligges On 07.11.2010 17:01, Vaiva P wrote: Hi, I

Re: [R] can't load nlme on windoze 7

2010-11-07 Thread Uwe Ligges
in the binary distribution of R anyway. Uwe Ligges On 07.11.2010 20:29, Mike Marchywka wrote: Either hotmail or the list spam filter butchered my dll list but I would mention that the cygwin dll occurs when I tried to load the nlme library. I posted the build settings in first post and am now

Re: [R] Installing the latest version of BRugs

2010-11-09 Thread Uwe Ligges
subdirectory between different machines and expect the package to work correctly (assuming that all pre-requisites are present / the same version). Yes. Best, Uwe Ligges Cheers -Original Message- From: David Winsemius [mailto:dwinsem...@comcast.net] Sent: 09 November 2010 12:25 To: Martyn Byng

Re: [R] help to merge two data frame if name matches

2010-11-09 Thread Uwe Ligges
If in case the name in the main data frame does not there in the other data frame, simple I want to add zero to ip,bsent,breceived value. I hope this can be done with R. Any help will appricated. See ?merge including its argument all=TRUE. Uwe Ligges Thanks for you time. Thanks Rg

Re: [R] Creating a list to store output objects from a recursive loop

2010-11-09 Thread Uwe Ligges
list each containing one zoo object and 1 data.frame. Or use a list with dim attributes, so that it is like the matrix you gave below. Uwe Ligges or some structure ... that I can access or output to a file after the loop is done. For e.g. for (i in 1:20){ niceFunction(x[i],i

Re: [R] location of Tisean executables when using RTisean and jumping between linux and windows

2010-11-09 Thread Uwe Ligges
again. Then you will be asked. Otherwise, RTisean will look for the file .RTiseanSettings in the home directory, which is derived on Windows by: Sys.getenv(HOME) Best wishes, Uwe Ligges On 09.11.2010 16:03, Kari Ruohonen wrote: Hi, I wonder if someone could help. I needed to transfer (copy

Re: [R] code ok in unix R2.6 , fails in windows R 2.12

2010-11-09 Thread Uwe Ligges
+ cluster(id) with recent versions of R and drm. So time to update R and all your packages on all your platforms. Best, Uwe Ligges On 09.11.2010 17:26, Robert Kinley wrote: apologies for omitting the data conc response curve 1 50 0.7533954 1 2 50 0.7755960 2 3 50 0.8001151 3 4 89

Re: [R] code ok in unix R2.6 , fails in windows R 2.12

2010-11-09 Thread Uwe Ligges
We cannot help since we do not have the data. Uwe On 09.11.2010 16:40, Robert Kinley wrote: hello ... Can anyone help me with this : In R.exe 2.6 , Unix , :- plot.data-model[[i]]$data$conc newdata-seq(min(plot.data),max(plot.data),by=1)

Re: [R] Tinn-R_2.3.6.0

2010-11-11 Thread Uwe Ligges
Please tell the authors of Tinn-R. Uwe Ligges On 11.11.2010 12:12, Hannu Kahra wrote: Hi, I just found out that Tinn-R_2.3.6.0 is now available on http://sourceforge.net/projects/tinn-r/. When configuring Tinn-R: R Configure Permanent (Rprofile.site) I get error C:\Program Files\R\R

Re: [R] r-2.12.0 - Hmisc

2010-11-11 Thread Uwe Ligges
that is (in the search path) in front of the base library you cited above. Uwe Ligges Thanks Heberto Ghezzo __ 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

Re: [R] Updating R packages

2010-11-13 Thread Uwe Ligges
for both 32- and 64-bit operation. Best, Uwe Ligges Error in install.packages(update[instlib == l, Package], l, contriburl = contriburl, : unable to install packages __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo

Re: [R] Consistency of Logistic Regression

2010-11-13 Thread Uwe Ligges
On 12.11.2010 20:11, Marc Schwartz wrote: You are not creating your data set properly. Your 'mat' is: mat column1 column2 11 0 21 0 30 1 40 0 51 1 61 0 71 0 80 1 90

Re: [R] wind rose (oz.windrose) scale

2010-11-13 Thread Uwe Ligges
maintainer or contact the maintainer (CCing) of the package and ask him to fix it. Best, Uwe Ligges On 12.11.2010 11:55, Alejo C.S. wrote: Dear list, I trying to make a wind rose plot whit the command oz.windrose, from plotrix package. My data, a matrix of percentages with the rows representing

Re: [R] Vector

2010-11-13 Thread Uwe Ligges
Looks like we need to fix the spam checker, or maybe it is sufficient to train him with some other 1s examples ... ;-) Thanks for all your work that helps to keep the list clean of spam, Mark! Best wishes, Uwe On 12.11.2010 16:28, Mark Leeds wrote: that was my bad. I let it in because

Re: [R] (no subject)

2010-11-13 Thread Uwe Ligges
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html Uwe Ligges On 13.11.2010 17:18, sundar wrote: Gud evening sir ,I want do the cluster analysis algorithm in r software can u guide me sir My mail id is :sundars...@gmail.com And I want the brief explanation

Re: [R] R2WinBUGS: Error in bugs(program=openbugs) but not openbugs()

2010-11-13 Thread Uwe Ligges
I found the problem which is a scoping issue in BRugs::bugsData() and will fix it for the next release. For now, you can workaround by calling your parameters (in this case particularly beta) with a names that are different from R function names (e.g. call it beta1). Best wishes, Uwe

Re: [R] R2WinBUGS: Error in bugs(program=openbugs) but not openbugs()

2010-11-13 Thread Uwe Ligges
On 13.11.2010 18:05, Uwe Ligges wrote: I found the problem which is a scoping issue in BRugs::bugsData() and will fix it for the next release. For now, you can workaround by calling your parameters (in this case particularly beta) with a names that are different from R function names (e.g

Re: [R] Problem retrieving data from R2InBUGS

2010-11-13 Thread Uwe Ligges
and mcmc.list() from the coda package. Anyway, if the problem persists for you, you may want to send me an example that is reproducible, i.e. including data, model files and what you function calls in R were Best, Uwe Ligges On 12.11.2010 20:55, Barth B. Riley wrote: Dear list I am

Re: [R] RMySQL on Windows 2008 64 Bit -Help!

2010-11-13 Thread Uwe Ligges
file name convention in order to workaround. Best, Uwe Ligges On 13.11.2010 14:52, Spencer Graves wrote: Hello: I suggest try R-SIG-DB email list. They focus specifically on databases, and you might get a better response there. Sorry I can't help more. Spencer On 11/13/2010 1:12 AM

Re: [R] how to find names referring to parts of an R object. particlualry w.r.t capscale

2010-11-14 Thread Uwe Ligges
Use str(object) in order to inspect what elements object consists of. Uwe Ligges On 14.11.2010 12:28, Nevil Amos wrote: This is both a very general, and a specific question. either answer will help me a lot. I know the object$part syntax is used to retrieve parts of an object for instance

Re: [R] Problem on update

2010-11-14 Thread Uwe Ligges
supporting the 64-bit version of R-2.11.x since we can handle 64-bit much easier now. So please upgrade to R-2.12.x which will probably have the usual support again. Best wishes, Uwe Ligges It is this site in problem? I tried another mirror with same result. TIA B.R. Stephen L

Re: [R] About upgrade R

2010-11-14 Thread Uwe Ligges
Upgrading is mentioned in the FAQs / R for Windows FAQs. If you have your additionally installed packages in a separate library (not the R base library) you can simply run update.packages(checkBuilt=TRUE) If not ... Uwe Ligges On 14.11.2010 15:51, Stephen Liu wrote: Hi all, Win 7 64-bit

Re: [R] About upgrade R

2010-11-14 Thread Uwe Ligges
switch back to my last stable version. Uwe Ligges Websites- http://decisionstats.com http://dudeofdata.com Linkedin- www.linkedin.com/in/ajayohri 2010/11/14 Uwe Liggeslig...@statistik.tu-dortmund.de: Upgrading is mentioned in the FAQs / R for Windows FAQs. If you have your

Re: [R] [klaR package] [NaiveBayes] warning message numerical 0 probability

2010-11-15 Thread Uwe Ligges
if all these probabilities are numerical 0, i.e. that the observation has a numerical probability of 0 for *all* classes. Usually this is only the case when the obs. is an extreme outlier. I will change the warning to say all classes in further releases of klaR. Best wishes, Uwe Ligges

Re: [R] repository of earlier Windows versions of R packages

2010-11-15 Thread Uwe Ligges
that was built for/with a specific version of R, see your-CRAN-mirror/bin/windows/contrib/ Best, Uwe Ligges [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] merge two dataset and replace missing by 0

2010-11-15 Thread Uwe Ligges
See ?merge with argument all=TRUE and replace by 0 afterwards. Uwe Ligges On 15.11.2010 16:42, Kate Hsu wrote: Hi r users, I have two data sets (X1, X2). For example, time1-c( 0, 8, 15, 22, 43, 64, 85, 106, 127, 148, 169, 190 ,211 ) outpue1-c(171 ,164 ,150 ,141 ,109 , 73 , 47 ,26

Re: [R] plot.dendrogram() plot margins

2010-11-16 Thread Uwe Ligges
,leaflab=none) I guess you want par(xaxs=i) stats:::plot.dendrogram(ddr,horiz=F,axes=F,yaxs=i,leaflab=none) Uwe Ligges vs. stats:::plot.dendrogram(ddr,horiz=T,axes=F,yaxs=i,leaflab=none) What variable / line of code corresponds to this additional margin space? I would like to modify

Re: [R] general question on R setup/environment

2010-11-17 Thread Uwe Ligges
problem, or is there potential for problems? No, unless packages for different versions are mixed up or so, but if you install into clearly separated libraries, everything should be fine. Best, Uwe Ligges Thanks a lot for your kind support and help in this matter, Cheers, BJ

Re: [R] ?summaryRprof running at 100% cpu for one hour ...

2010-11-20 Thread Uwe Ligges
On 19.11.2010 21:43, Kjetil Halvorsen wrote: This is very strange. (Debian squeeze, R 2.12.0 compiled from source) I did some moderately large computation (including svd of a 560x50 matrix), running a few minutes, and R memory increasing to about 900MB on this 2 GB ram laptop. I had done

Re: [R] custom package not installed for 'arch=i386'

2010-11-20 Thread Uwe Ligges
getting in the end of processing: ** testing if installed package can be loaded Error : package 'imglib' is not installed for 'arch=i386' ERROR: loading failed Please use R CMD INSTALL --build imglib_version.tar.gz which is the recommended way of doing it. Best, Uwe Ligges Versions R-2.10.0, R

Re: [R] plot vs print ??

2010-11-20 Thread Uwe Ligges
object. I guess I can always use plot instead. ?? No, you really need to print() lattice objects. 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

Re: [R] installimg fBasics SuSe 11.3 64bit

2010-11-20 Thread Uwe Ligges
, the files are simply not there. Just check if they are missing from /usr/lib64/R/include or not. Uwe Ligges gcc -std=gnu99 -I/usr/lib64/R/include -I/usr/local/include-fpic -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -c

Re: [R] Accessing variables inside a namespace

2010-11-20 Thread Uwe Ligges
that is returned by addATR() can be saved temp - addATR() and you can look at it by str(temp) for example. All other objects are deleted once the function returns. Best, Uwe Ligges Just so that I don't need to recalculate the same stuff again. I believe the data hasn't expired already. Thanks

Re: [R] memory profiling

2010-11-20 Thread Uwe Ligges
much. Uwe Ligges When I examine the output, however, using either R CMD Rprof from the shell, or summaryRprof from within R, the output I see is identical to the output I got when I ran R BEFORE I recompiled with memory profiling enabled. Anyone see something that I'm missing? Thanks, Patrick

Re: [R] Cross Spectral Analysis

2010-11-20 Thread Uwe Ligges
See ?spec.pgram Uwe Ligges On 17.11.2010 16:43, Wonsang You wrote: Dear R helpers, I have two time series, and I want to perform the cross-spectral analysis for these time series. I would like to know whether there is any R function to generate cross-spectrum such as co-periodogram

Re: [R] ?summaryRprof running at 100% cpu for one hour ...

2010-11-21 Thread Uwe Ligges
On 21.11.2010 01:30, Kjetil Halvorsen wrote: see below. 2010/11/20 Uwe Liggeslig...@statistik.tu-dortmund.de: On 19.11.2010 21:43, Kjetil Halvorsen wrote: This is very strange. (Debian squeeze, R 2.12.0 compiled from source) I did some moderately large computation (including svd of a

Re: [R] ?summaryRprof running at 100% cpu for one hour ...

2010-11-21 Thread Uwe Ligges
OK, trying it on a 8Gb Windows machine with R-2.12.0 64-bit it runs within less than 2 minutes in 5Gb of RAM. That means your machine is probably swapping heavily and is therefore extremely slow. Nevertheless, this seems to be unrelated with summaryRprof(). The anacor() call is roughly

Re: [R] boxplot: reverse y-axis order

2010-11-21 Thread Uwe Ligges
(0.0,0.3,0.6,0.9,1.2,1.5,1.8,2.1,2.4,2.7,3)),data=df,horizontal=T,outline=F) So if you want to reverse, either specify the levels in reverse order or use rev() as in: boxplot(value ~ factor(depthM, levels = rev(c(0.0,0.3,0.6,0.9,1.2,1.5,1.8,2.1,2.4,2.7,3))), data = df, horizontal = TRUE, outline = FALSE) Uwe Ligges

Re: [R] plot start at origin

2010-11-22 Thread Uwe Ligges
On 22.11.2010 07:44, Roslina Zakaria wrote: Hi r-users, I would like my axes to intersect at (0,0). I tried xaxs=i,yaxs=i but it does not change anything. I hope anybody can help me with this problem. Here is my code. use par(xaxs=i, yaxs=i) and then the rest of your code. UWe

Re: [R] How to combine Date and time in one column

2010-11-22 Thread Uwe Ligges
1.3564 1.35535 1.3563 dat$DateTime - strptime(paste(dat$Date, dat$Time), %d/%m/%Y %H:%M) Uwe Ligges 2) It is not clear to me what is the best way to construct the .xts object? Should i use only the Datetime to index or should i also combine it with the rest of the variables? Thanks in advance

Re: [R] using rpart with a tree misclassification condition

2010-11-22 Thread Uwe Ligges
: no, otherwise I would be extremely rich. If you meant the apparent error rate: Just grow a full tree and then prune step by step until the error is too large for your condition. Then just take the tree model from one step before Uwe Ligges Thank you in advance Meytar

Re: [R] R2WinBUGS help

2010-11-22 Thread Uwe Ligges
it, R should respond again. If you like a more inetractive way of dealing with some BUGS incarnation, try the BRugs package that makes use of OpenBUGS by typing install.packages(BRugs) library(BRugs) ?BRugs ?BRugsFit Uwe Ligges However, I want to save the output in R so I can use

Re: [R] R package kernlab can not be properly loaded

2010-11-22 Thread Uwe Ligges
compiled for the latter won't work foer the former. hcen please run install.packages(kernlab) in order to get a version that fits to your R or even better upgrade your version of R. Uwe Ligges Xiaoqi __ R-help@r-project.org mailing list

Re: [R] Error: cannot allocate vector of size x Gb (64-bit ... yet again)

2010-11-23 Thread Uwe Ligges
On 23.11.2010 09:26, derek eder wrote: Hello, I am facing the dreaded Error: cannot allocate vector of size x Gb and don't understand enough about R (or operating system) memory management to diagnose and solve the problem -- despite studying previous posts and relevant R help -- e.g.: Error

Re: [R] Access web content from within R

2010-07-15 Thread Uwe Ligges
On 15.07.2010 13:46, Henrique Dallazuanna wrote: Perhaps library RCurl. See fortune(distinction between 'library' and 'package') Uwe Ligges On Thu, Jul 15, 2010 at 7:36 AM, Bart Joosenbartjoo...@hotmail.com wrote: Hi, I have to search in an online db for registered manufacturers

Re: [R] how to update a bugs-model from inside R using R2WinBUGS

2010-07-15 Thread Uwe Ligges
is on Windows. Best, Uwe Ligges Ben Bolker __ 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

[R] ERIM'10: Call for abstracts

2010-07-15 Thread Uwe Ligges
Dear useRs, we are organizing a track on Statistical Algorithms and Software at the 3rd International Conference of the ERCIM WG on COMPUTING STATISTICS (ERCIM'10) 10-12 December 2010, Senate House, University of London, UK http://www.cfe-csda.org/ercim10 Please consider giving a presentation

Re: [R] Send code to R from WinEdt55

2010-07-17 Thread Uwe Ligges
code to R. What did I miss? You need to reinstall RWinEdt in that case. Uwe Ligges sessionInfo() R version 2.11.0 (2010-04-22) i386-pc-mingw32 locale: [1] LC_COLLATE=English_Canada.1252 LC_CTYPE=English_Canada.1252 LC_MONETARY=English_Canada.1252 [4] LC_NUMERIC=C

Re: [R] RWinEdt and WinEdt 6.0

2010-07-17 Thread Uwe Ligges
for the help (especially Uwe Ligges for writing RWinEdt). Chris [[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-project.org/posting

Re: [R] multivariate graphs, averaging on some vars

2010-07-17 Thread Uwe Ligges
fourth variable 'y to the colour of the point. What package do you recommend to do it? Any interactive plotting package? As has been said before: cloud() in lattice, scatterplot3d() in scatterpülo3d or plot3d() in rgl, the latter also for interactive rotation of the whole picture Uwe Ligges

Re: [R] save plot

2010-07-17 Thread Uwe Ligges
) +x- rnorm(100) +plot(y ~ x) + } dev.off() null device 1 Which error??? Everyting went fine, as far as I can see. Uwe Ligges __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] Regarding accesing R- Repositories at servers

2010-07-17 Thread Uwe Ligges
did (the function call you entered), what your R version is as well as your OS, how you are connected. And the actual error message, not one you made up Best, Uwe Ligges Can you please help me Regarding this. i am anticipating for your reply, thanking you. wishes regards B.venkatesh

Re: [R] package plotrix

2010-07-18 Thread Uwe Ligges
), bg =snow) We do not have the data nor do we see the figure, hence this is not reproducible for us. Uwe Ligges e tutti i telefonini TIM! Vai su __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo

Re: [R] NA preserved in logical call - I don't understand this behavior because NA is not equal to 0

2010-07-18 Thread Uwe Ligges
, 16L, 17L, 18L), class = data.frame)) if(sum(left[,bankfull_depths_m]==0, na.rm=TRUE) == 1){ left_min- left[left[,bankfull_depths_m]==0, measurment_num] } NA == 0 is ??? -- NA! Use is.na() to check for missing values. Uwe Ligges left

Re: [R] Reading files with varying number of columns

2010-07-18 Thread Uwe Ligges
See argument fill in ?read.table Uwe Ligges On 18.07.2010 12:14, Tim Clark wrote: Dear R list, I am trying to read files with a varying number of columns and can't figure out how to get them in the proper format. Some rows have five value and some have seven. Is there a way to read them

Re: [R] Eliminating case numbers in a dendrogram

2010-07-18 Thread Uwe Ligges
, the dendrogram contains the case numbers and, as I have N = 300, looks not very nice. Can anybody tell me how to prevent the case numbers? You do not want any labels??? In that case, see argument leaflab in ?plot.dendrogram Uwe Ligges Thanks in advance Holger http://r.789695.n4.nabble.com/file/n2293207

Re: [R] Toggle between the various pages for multi-page figures

2010-07-18 Thread Uwe Ligges
in the file(s) in the end which is a bit device dependent. See you favorite device's help page for details. Uwe Ligges xpose.VPC (vpc.info=vpc1/vpc_results.csv, vpctab=vpc1/vpctab1, PI=NULL, by=STRT, PI.ci=area, PI.real=TRUE,type=n, PI.limits=c(0.05,0.95),*layout

Re: [R] Error using the mi package

2010-07-18 Thread Uwe Ligges
Since we do not have the data and cannot reproduce: What about sending a reproducible example to the mi maintainer in the first step? Best, Uwe Ligges On 15.07.2010 16:48, Andrew Miles wrote: I'm trying to impute data using the mi package, but after running through almost the entire first

Re: [R] latex table question

2010-07-18 Thread Uwe Ligges
Why do you think R-help is a mailing list about LaTeX? Best, Uwe Ligges On 13.07.2010 23:05, Felipe Carrillo wrote: Hi: My head is spinning with this latex doc so hopefully after I align my tables to the left of the page my headache are going to be over. I always use: \hspace*{-0.1in

Re: [R] Correct function name for text display of S4 object

2010-07-18 Thread Uwe Ligges
conventional name than display for the above output, or is display as good as any other name? Well, if show/print and summary are already dong different things, then go with a new name Uwe Ligges Thanks, Andrew __ R-help@r-project.org mailing list

Re: [R] R: package plotrix

2010-07-18 Thread Uwe Ligges
On 18.07.2010 19:57, David Winsemius wrote: On Jul 18, 2010, at 1:32 PM, mau...@alice.it wrote: -Messaggio originale- Da: Uwe Ligges [mailto:lig...@statistik.tu-dortmund.de] Inviato: dom 18/07/2010 18.58 A: mau...@alice.it Cc: j...@bitwrit.com.au; r-h...@stat.math.ethz.ch Oggetto

Re: [R] any one knowing how to install library (equate)?

2010-07-20 Thread Uwe Ligges
But perhaps not on outdated versions of R 2.10.0 . Uwe Ligges On 19.07.2010 00:55, Joshua Wiley wrote: Hi Grace, I'm using the UCLA mirror and this code installs equate fine for me. #install the package (note that the quoted name) install.packages(equate) #load the package library

  1   2   3   4   5   6   7   8   9   10   >