[R] SOLVED: How to change size of xlab inplot?

2011-02-01 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/01/2011 12:12 PM, Henrique Dallazuanna wrote: Try cex.lab: plot(1,1, xlab=Label, cex.lab = 2) Thanks - that is what I was looking for. Cheers, Rainer On Tue, Feb 1, 2011 at 7:31 AM, Rainer M Krug r.m.k...@gmail.com mailto:r.m.k

Re: [R] Unexpected behaviour of write.csv - read.csv

2011-01-14 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/13/2011 07:06 PM, Prof Brian Ripley wrote: On Thu, 13 Jan 2011, Duncan Murdoch wrote: On 11-01-13 6:26 AM, Rainer M Krug wrote: Hi Assuming the following: x- data.frame(a=1:10, b=runif(10)) str(x) 'data.frame':10 obs. of 2

[R] Unexpected behaviour of write.csv - read.csv

2011-01-13 Thread Rainer M Krug
? And if this is not compliant with csv files, shouldn't the function read.csv convert the first column into the row names? Cheers, Rainer - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office

Re: [R] Unexpected behaviour of write.csv - read.csv

2011-01-13 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/13/2011 02:56 PM, Duncan Murdoch wrote: On 11-01-13 6:26 AM, Rainer M Krug wrote: Hi Assuming the following: x- data.frame(a=1:10, b=runif(10)) str(x) 'data.frame':10 obs. of 2 variables: $ a: int 1 2 3 4 5 6 7 8 9 10 $ b

[R] Add line to plot from stl decomposed time series?

2011-01-11 Thread Rainer M Krug
), but it is not working. Any help appreciated, Rainer - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman

[R] write.table equivalent for lists?

2011-01-10 Thread Rainer M Krug
could then use as: x - list(x=1:10, y=letters(1:10)) save.list(x, test.rdata) rm(x) y - load.list(test.rdata) but: why is there not such a function? Am I missing something here? Cheers, Rainer - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys

Re: [R] write.table equivalent for lists?

2011-01-10 Thread Rainer M Krug
? library(R.utils) saveObject(x, x.Rbin) rm(x) y - loadObject(x.Rbin) HTH, Ivan Le 1/10/2011 15:24, Rainer M Krug a écrit : Hi I am writing simulations in R, and quite regularly, I have to save lists and objects to HDD and load it later again. So I am wondering: why

Re: [R] write.table equivalent for lists?

2011-01-10 Thread Rainer M Krug
15:42, Rainer M Krug a écrit : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/10/2011 03:35 PM, Ivan Calandra wrote: Hi, If I understood you correctly, you can use saveObject()/loadObject() from package R.utils, like this: Correct - thanks - that is what I was looking for. But why

Re: [R] algorithm help

2011-01-07 Thread Rainer M Krug
, reproducible code. - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Tel

Re: [R] LaTeX, MiKTeX, LyX: A Guide for the Perplexed

2010-12-17 Thread Rainer M Krug
commented, minimal, self-contained, reproducible code. - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman

Re: [R] 300 dpi and eps:

2010-12-15 Thread Rainer M Krug
? Or in Adobe illustrator? It strikes me, that 72dpi is usually the screen resolution. Cheers, Rainer cu Philipp - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building

[R] X11 -- Wayland under Ubuntu WAS: Re: RGL crashes

2010-12-09 Thread Rainer M Krug
names mean something to Rainer, because they mean nothing to me. Duncan Murdoch Duncan Murdochmurdoch.dun...@gmail.com wrote in message news:4cff7177.7030...@gmail.com... On 08/12/2010 6:07 AM, Rainer M Krug wrote: On 12/08/2010 12:05 PM, Duncan Murdoch wrote: Rainer M Krug wrote: Hi

Re: [R] LaTeX, MiKTeX, LyX: A Guide for the Perplexed

2010-12-08 Thread Rainer M Krug
]] __ 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. - -- Rainer M. Krug, PhD (Conservation Ecology, SUN

[R] Lists and functions in data.frame?

2010-12-08 Thread Rainer M Krug
? Cheers, Rainer - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Tel

[R] RGL crashes

2010-12-08 Thread Rainer M Krug
! - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Tel:+33 - (0)9 53

Re: [R] Lists and functions in data.frame?

2010-12-08 Thread Rainer M Krug
) .Primitive(sin) [[2]] [[2]]$fun function (x) .Primitive(cos) [[2]]$val [1] 42 Sure - that would work, but I would prefer to have it in a data.frame. Cheers, Rainer On Wed, Dec 8, 2010 at 5:08 AM, Rainer M Krug r.m.k...@gmail.com wrote: Hi I would like to have a data.frame, where

Re: [R] RGL crashes

2010-12-08 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/08/2010 12:05 PM, Duncan Murdoch wrote: Rainer M Krug wrote: Hi rgl crashes my R session, when resizing the rgl graphic window. I am using Ubuntu Maversick, with dual monitor setup. If I disconnect one monitor, I can resize it a little

Re: [R] Loading .RData from Internet

2010-12-06 Thread Rainer M Krug
', probable reason 'Invalid argument' - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue

Re: [R] using foreach (parallel processing)

2010-12-02 Thread Rainer M Krug
://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. - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany

Re: [R] How to catch warnings

2010-11-18 Thread Rainer M Krug
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. - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys

Re: [R] How to catch warnings

2010-11-18 Thread Rainer M Krug
while the prompt is shown. Cheers, Rainer Regards Alex --- On *Thu, 11/18/10, Rainer M Krug /r.m.k...@gmail.com/* wrote: From: Rainer M Krug r.m.k...@gmail.com Subject: Re: [R] How to catch warnings To: Alaios ala...@yahoo.com Cc: Michael Bedward michael.bedw

Re: [R] Debugging segfault in foreach

2010-11-16 Thread Rainer M Krug
] BSgenome_1.18.0 hwriter_1.2 RCurl_1.4-3 [7] rtracklayer_1.10.2 stringr_0.4 XML_3.2-0 [10] xtable_1.5-6 -steve - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology

[R] Optimizing compilation of R

2010-11-12 Thread Rainer M Krug
, Rainer - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Tel

Re: [R] Optimizing compilation of R

2010-11-12 Thread Rainer M Krug
, Patrick -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Rainer M Krug Sent: Friday, November 12, 2010 9:51 AM To: R-help Subject: [R] Optimizing compilation of R Hi I know this has been asked before, but I can not find

Re: [R] Checking existance of a directory

2010-10-29 Thread Rainer M Krug
/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch

Re: [R] 0.3 is not 0.3, bug in seq() function?

2010-10-28 Thread Rainer M Krug
-contained, reproducible code. - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South

[R] Implementing R's recycling rule

2010-10-19 Thread Rainer M Krug
here - is there more straightforward way of doing this? Cheers, Rainer -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039

Re: [R] Implementing R's recycling rule

2010-10-19 Thread Rainer M Krug
at www.marshal.com -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite

Re: [R] compare histograms

2010-10-15 Thread Rainer M Krug
can see if it is an OSX or general problem? Now that it's installed I look forward to trying it out shortly. Great - please give us some feedback on what you think about it. Cheers, Rainer Thanks again. Michael On 15 October 2010 03:17, Rainer M Krug r.m.k...@gmail.com wrote

Re: [R] compare histograms

2010-10-14 Thread Rainer M Krug
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. -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc

Re: [R] OT: What distribution is this?

2010-09-26 Thread Rainer M Krug
. But what about the range in between? Thanks again, Cheers, Rainer On Sat, Sep 25, 2010 at 5:19 PM, Peter Dalgaard pda...@gmail.com wrote: On 09/25/2010 04:24 PM, Rainer M Krug wrote: Hi This is OT, but I need it for my simulation in R. I have a special case for sampling with replacement

Re: [R] Measure Difference Between Two Distributions

2010-09-25 Thread Rainer M Krug
On Sat, Sep 25, 2010 at 3:53 PM, Lorenzo Isella lorenzo.ise...@gmail.comwrote: On 09/25/2010 03:23 PM, Rainer M Krug wrote: Evaluate, for me, does not necessary mean test if they are significantly different, but rather to quantify the difference. If that is what you are looking for, you

[R] OT: What distribution is this?

2010-09-25 Thread Rainer M Krug
WITHOUT replacement, which are all replaced before the next sample is drawn My question is: which distribution can I use to describe how often each entity of the N has been sampled? Thanks for your help, Rainer -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc

Re: [R] Measure Difference Between Two Distributions

2010-09-25 Thread Rainer M Krug
distributions - I'll think about it. Hope this helps, Cheers, Rainer Lorenzo -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039

Re: [R] Measure Difference Between Two Distributions

2010-09-25 Thread Rainer M Krug
and provide commented, minimal, self-contained, reproducible code. -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch

Re: [R] R Founding

2010-09-17 Thread Rainer M Krug
participants, organise courses, etc. Cheers, Rainer - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman

Re: [R] count frequency

2010-09-17 Thread Rainer M Krug
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. - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl

Re: [R] Enumerating unit cell traversals Re: Interpolate? a line

2010-09-15 Thread Rainer M Krug
. __ 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. - -- Rainer M. Krug, PhD

Re: [R] Enumerating unit cell traversals Re: Interpolate? a line

2010-09-15 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 15/09/10 15:23, David Winsemius wrote: On Sep 15, 2010, at 8:58 AM, Rainer M Krug wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 15/09/10 14:46, Michael Bedward wrote: Nice posts David. I like the way that 'simple' problems

Re: [R] Object oriented programming in R.

2010-09-14 Thread Rainer M Krug
://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. look at ?rep: x - rep(list(createTheObject(), 10) x will be a list containing 10 times the object created by createTheObject() Cheers, Rainer - -- Rainer M. Krug, PhD (Conservation

Re: [R] Reproducible research

2010-09-09 Thread Rainer M Krug
of Statistics __ 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. - -- Rainer M

Re: [R] Which language is faster for numerical computation?

2010-09-09 Thread Rainer M Krug
-contained, reproducible code. - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South

[R] Replace last element in a vector - elegant solution?

2010-07-29 Thread Rainer M Krug
, 1) - 0 , which does not work)? Thanks, Rainer - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue

Re: [R] Syntax Highlightning and Editor for Linux

2010-07-23 Thread Rainer M Krug
, reproducible code. - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Tel

Re: [R] Syntax Highlightning and Editor for Linux

2010-07-23 Thread Rainer M Krug
, Rainer Best Regards Alex *From:* Federico Andreis federico.andr...@gmail.com *To:* Rainer M Krug r.m.k...@gmail.com *Cc:* Alaios ala...@yahoo.com; r-help@r-project.org *Sent:* Fri, July 23, 2010 3:46:08 PM *Subject

Re: [R] how to process this in R

2010-07-08 Thread Rainer M Krug
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. -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation

[R] x-axis labels for barplot of zoo object

2010-07-08 Thread Rainer M Krug
(1000), start=c(2000, 150), frequency=365) barplot(zoo(x)) Cheers, Rainer -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039

Re: [R] x-axis labels for barplot of zoo object

2010-07-08 Thread Rainer M Krug
On Thu, Jul 8, 2010 at 12:42 PM, Gabor Grothendieck ggrothendi...@gmail.com wrote: On Thu, Jul 8, 2010 at 4:17 AM, Rainer M Krug r.m.k...@gmail.com wrote: Hi Let's assume, I have a dataset of 1000 datapoints, which represent daily recordings of a measurement. They are stored as a ts

Re: [R] sharing experience - installing R Spatial Views

2010-06-14 Thread Rainer M Krug
. Cheers, Rainer -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue

Re: [R] R Output and ArcGIS

2010-01-26 Thread Rainer M Krug
://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural

Re: [R] superimpose histogram and fitted gamma pdf

2010-01-20 Thread Rainer M Krug
-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre

Re: [R] OT: Software for specific visualisation of data...ideas?

2010-01-19 Thread Rainer M Krug
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. -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology

Re: [R] Can I save R graphs as a R objects

2010-01-15 Thread Rainer M Krug
-guide.html and provide commented, minimal, self-contained, reproducible code. -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite

Re: [R] Playing with rgl: a Youtube video

2009-12-23 Thread Rainer M Krug
. -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South

Re: [R] Creating bibtex file of all installed packages?

2009-12-11 Thread Rainer M Krug
On Fri, Dec 11, 2009 at 9:41 AM, Achim Zeileis achim.zeil...@wu-wien.ac.atwrote: On Fri, 11 Dec 2009, Rainer M Krug wrote: Hi is there an easy and fast way, to generate a BibTeX file of all installed / loaded packages and R? I know about toBibtex(citation()) to extract the BibTeX

[R] Creating bibtex file of all installed packages?

2009-12-10 Thread Rainer M Krug
GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Cell

Re: [R] Histogram and Density on the the same graph

2009-11-30 Thread Rainer M Krug
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence

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

2009-10-26 Thread Rainer M Krug
2009/10/25 Uwe Ligges lig...@statistik.tu-dortmund.de Rainer M Krug wrote: Hi I am using Ubuntu Hardy, and I installing many packages from source. I am keeping my R packages fairly up to date. My question is: is there a way, of keeping the source packages, so that when I am installing

[R] sunflowerplot - digits parameter separate for x and y values?

2009-10-22 Thread Rainer M Krug
Hi I have a sunflowerplot, in which the x and y axis cover different ranges (different orders of magnitude). Is it possible to specify different digits for the x and y axis? Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany

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

2009-10-21 Thread Rainer M Krug
in which to save the source files of the packages, but how can I use this directory as a first choice, and only download if a newer version exists? Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion

Re: [R] Pausing R

2009-10-19 Thread Rainer M Krug
__ 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. -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc

Re: [R] Pausing R

2009-10-19 Thread Rainer M Krug
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology

Re: [R] Pausing R

2009-10-19 Thread Rainer M Krug
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology

Re: [R] intersection of 2 density curves

2009-10-08 Thread Rainer M Krug
/posting-guide.h= tml and provide commented=2C minimal=2C self-contained=2C reproducible code. -- Rainer M. Krug=2C PhD (Conservation Ecology=2C SUN)=2C MSc (Conservation = Biology=2C UCT)=2C Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building

[R] Question about mirroring CRAN

2009-10-07 Thread Rainer M Krug
Hi this might be the wrong mailing list, but it also does not fit the dev list. As we are planning to setup a mirror of CRAN, we would like to know the approximate size of the mirror and the necessary bandwidth requirements to keep it updated. Thanks a lot in advance, Rainer -- Rainer M

[R] Second y-axis --- alternative to par(new=

2009-10-07 Thread Rainer M Krug
, xlim=xlim) axis(4) Cheers, Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch

Re: [R] Second y-axis --- alternative to par(new=

2009-10-07 Thread Rainer M Krug
=xlim) axis(4) Cheers, Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman

Re: [R] Second y-axis --- alternative to par(new=

2009-10-07 Thread Rainer M Krug
(new=TRUE) plot(x2, y2, type=p) axis(4) ## (2) Does plot points where (x-axis) they should be xlim - range(x1) plot(x1, y1, type=l, xlim=xlim) par(new=TRUE) plot(x2, y2, type=p, xlim=xlim) axis(4) Cheers, Rainer -- Rainer M. Krug, PhD

Re: [R] Second y-axis --- alternative to par(new=

2009-10-07 Thread Rainer M Krug
On Wed, Oct 7, 2009 at 12:26 PM, Petr PIKAL petr.pi...@precheza.cz wrote: Hi Rainer M Krug r.m.k...@gmail.com napsal dne 07.10.2009 12:09:21: On Wed, Oct 7, 2009 at 11:53 AM, Petr PIKAL petr.pi...@precheza.cz wrote: r-help-boun...@r-project.org napsal dne 07.10.2009 11:37:22

Re: [R] Second y-axis --- alternative to par(new=

2009-10-07 Thread Rainer M Krug
On Wed, Oct 7, 2009 at 1:48 PM, Petr PIKAL petr.pi...@precheza.cz wrote: Hi Rainer M Krug r.m.k...@gmail.com napsal dne 07.10.2009 12:40:39: On Wed, Oct 7, 2009 at 12:26 PM, Petr PIKAL petr.pi...@precheza.cz wrote: Hi Rainer M Krug r.m.k...@gmail.com napsal dne 07.10.2009 12:09:21

Re: [R] nls not accepting control parameter?

2009-10-05 Thread Rainer M Krug
and it does not change to whichever value I try to set minFactor. So either I am misunderstanding what the control argument for nls is doing, or there is a bug in nls or in the error message. Rainer -Peter Ehlers Rainer M Krug wrote: Hi I want to change a control parameter for an nls

Re: [R] Compress (gzip) a pdf device

2009-10-02 Thread Rainer M Krug
- tempfile() system (paste (mv, pdfname, x)) system (paste (pdftk, x, output, pdfname, compress)) unlink (x) } } pdf (test.pdf) plot (1:10) dev.off() pdfComp (test.pdf) On 30 Sep 2009, at 00:25 , Rainer M Krug wrote: 2009/9/30 Daniele Amberti daniele.ambe...@ors.it I

Re: [R] Compress (gzip) a pdf device

2009-10-02 Thread Rainer M Krug
work I could use it for R 2.9.2 and works fine. Thanks - I will look into it and give feedback as soon as I have done. Cheers, Rainer Best, Gabor On Fri, Oct 2, 2009 at 8:54 AM, Rainer M Krug r.m.k...@gmail.com wrote: On Thu, Oct 1, 2009 at 7:26 PM, Martin Renner martin.ren

[R] nls not accepting control parameter?

2009-10-02 Thread Rainer M Krug
=newMinFactor), trace=TRUE) -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South

Re: [R] Compress (gzip) a pdf device

2009-09-30 Thread Rainer M Krug
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. -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys

[R] fitting logistic model with constant harvesting

2009-09-30 Thread Rainer M Krug
is the population size, N the carrying capacity, k the growth rate and a the constant harvest. My question is, how can I fit this logistic growth with constant harvesting to my data? Thanks, Raine -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany

Re: [R] Four concurrent Markov chains

2009-09-21 Thread Rainer M Krug
://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. -- Rainer M. Krug, Centre of Excellence for Invasion Biology, Stellenbosch University, South Africa

[R] extracting one element from all list elements

2009-09-16 Thread Rainer M Krug
) f - sapply(theList, function(l){l$A} ) But I am sure ther is a more elegant way? Rainer -- Rainer M. Krug, Centre of Excellence for Invasion Biology, Stellenbosch University, South Africa [[alternative HTML version deleted]] __ R-help@r

Re: [R] extracting one element from all list elements

2009-09-16 Thread Rainer M Krug
On Wed, Sep 16, 2009 at 1:35 PM, Henrique Dallazuanna www...@gmail.comwrote: Try this: sapply(theList, '[[', 'A') Thanks Henrique - that is much more elegant. Rainer On Wed, Sep 16, 2009 at 8:34 AM, Rainer M Krug r.m.k...@gmail.com wrote: Hi I have a list which cosists out

Re: [R] List of tags in roxygen and use for S4 classes?

2009-09-07 Thread Rainer M Krug
a paper based on our DSC talks; that should fill in some of the details w.r.t. S4. That sounds exciting. I am really looking forward to it - because roxygen is the way to go for documenting. Rainer -- Rainer M. Krug, Centre of Excellence for Invasion Biology, Stellenbosch University, South

Re: [R] List of tags in roxygen and use for S4 classes?

2009-09-07 Thread Rainer M Krug
On Fri, Sep 4, 2009 at 4:47 PM, Bernd Bischlbernd_bis...@gmx.net wrote: Rainer M Krug wrote: Hi is there a list of all roxygen tags which are available? I couldn't find them. I am asking specifically towards the use of roxygen in documenting S4 classes - is that implemented yet (i am

[R] getting name from function?

2009-09-07 Thread Rainer M Krug
Hi I have the following function which should return the name of FUN: myFUN - function(FUN) { return( THE_NAME_OF_FUN(FUN)) } Is it possible? What do I have tio use here instead of THE_NAME_OF_FUN? Thanks, Rainer -- Rainer M. Krug, Centre of Excellence for Invasion Biology, Stellenbosch

Re: [R] getting name from function?

2009-09-07 Thread Rainer M Krug
On Mon, Sep 7, 2009 at 11:26 AM, baptiste auguie baptiste.aug...@googlemail.com wrote: Hi, Try this, myFUN - function(FUN) { return(deparse(substitute(FUN))) } Thanks - that's it Rainer HTH, baptiste 2009/9/7 Rainer M Krug r.m.k...@gmail.com Hi I have the following function

[R] List of tags in roxygen and use for S4 classes?

2009-09-01 Thread Rainer M Krug
Hi is there a list of all roxygen tags which are available? I couldn't find them. I am asking specifically towards the use of roxygen in documenting S4 classes - is that implemented yet (i am using roxygen 0.1 from CRAN at the moment)? Thanks Rainer -- Rainer M. Krug, Centre of Excellence

[R] Getting file name from pdf device?

2009-07-31 Thread Rainer M Krug
call of pdftk. My question: how can I get the filename of the pdf from the device before it is closed? Thanks Rainer -- Rainer M. Krug, Centre of Excellence for Invasion Biology, Stellenbosch University, South Africa __ R-help@r-project.org mailing

Re: [R] Adding picture to graph?

2009-07-30 Thread Rainer M Krug
in the TeachingDemos package. Hope this helps, -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.s...@imail.org 801.408.8111 -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- project.org] On Behalf Of Rainer M Krug Sent

[R] Adding picture to graph?

2009-07-29 Thread Rainer M Krug
: is it possibe to define own symbols so that they can be used in the plot function with pch=? Rainer -- Rainer M. Krug, Centre of Excellence for Invasion Biology, Stellenbosch University, South Africa __ R-help@r-project.org mailing list https

[R] SweaveOpts(eval=false) not working

2009-07-23 Thread Rainer M Krug
that it is not axcepting eval=FALSE as a global option? Thanks a lot, Rainer -- Rainer M. Krug, Centre of Excellence for Invasion Biology, Stellenbosch University, South Africa __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] SweaveOpts(eval=false) not working - CORRECTION

2009-07-23 Thread Rainer M Krug
On Thu, Jul 23, 2009 at 3:04 PM, Duncan Murdochmurd...@stats.uwo.ca wrote: On 23/07/2009 8:58 AM, Rainer M Krug wrote: Hi I hope this is the right mailing list - if not, could you please refer me to a mora appropriate? My question: I am using sweave (in LyX with beamer) for a lecture

[R] sweave output

2009-07-20 Thread Rainer M Krug
Hi I am using sweave and have read somewhere a way of adding ... when printing vectors / dataframes which are longer then a given length, but I can't find this anymore. Could somebody point me into the right direction, where I could find it? Thanks Rainer -- Rainer M. Krug, Centre

Re: [R] How to get best performance from R on Linux?

2009-07-01 Thread Rainer M Krug
On Wed, Jul 1, 2009 at 2:47 AM, Dirk Eddelbuettel e...@debian.org wrote: Rainer, On 30 June 2009 at 14:30, Rainer M Krug wrote: | following a discussion on difference in speed of R between R and Linux, I am | wondering: is there a howto to get the most (concerning speed) out of R? I | am

[R] How to get best performance from R on Linux?

2009-06-30 Thread Rainer M Krug
computer - compiling myself? specific switches? compile libraries?, ... Thanks Rainer -- Rainer M. Krug, Centre of Excellence for Invasion Biology, Stellenbosch University, South Africa [[alternative HTML version deleted]] __ R-help@r-project.org

[R] Indexing matrix

2009-06-30 Thread Rainer M Krug
. This is not of practical use at the moment - the question came up when preparing a lecture. Rainer -- Rainer M. Krug, Centre of Excellence for Invasion Biology, Stellenbosch University, South Africa [[alternative HTML version deleted

Re: [R] Indexing matrix

2009-06-30 Thread Rainer M Krug
to go. -- Rainer M. Krug, Centre of Excellence for Invasion Biology, Stellenbosch University, South Africa [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

[R] stringsAsFactors has no impact in expand.grid()?

2009-06-25 Thread Rainer M Krug
9.0 year 2009 month 04 day17 svn rev48333 language R version.string R version 2.9.0 (2009-04-17) Cheers, Rainer -- Rainer M. Krug, Centre of Excellence for Invasion Biology, Stellenbosch University, South Africa [[alternative HTML version

Re: [R] stringsAsFactors has no impact in expand.grid()?

2009-06-25 Thread Rainer M Krug
) - list(dim = d, dimnames = dn) rn - .set_row_names(as.integer(prod(d))) structure(cargs, class = data.frame, row.names = rn) } On Thu, Jun 25, 2009 at 8:21 AM, Rainer M Krug r.m.k...@gmail.com wrote: Hi I have the feeling, that the argument stringsAsFactors has no impact

Re: [R] stringsAsFactors has no impact in expand.grid()?

2009-06-25 Thread Rainer M Krug
system i486, linux-gnu status major 2 minor 9.0 year 2009 month 04 day17 svn rev48333 language R version.string R version 2.9.0 (2009-04-17) Cheers, Rainer -- Rainer M. Krug, Centre of Excellence

Re: [R] Problem with generic methods

2009-06-08 Thread Rainer M Krug
On Sat, Jun 6, 2009 at 12:14 AM, Martin Morganmtmor...@fhcrc.org wrote: Rainer M Krug r.m.k...@gmail.com writes: Hi I want to create a new generic method, but I end up with an error (evaluation nested too deeply). see the transcript below. The function beginYear.Fun() works

[R] Problem with generic methods

2009-06-05 Thread Rainer M Krug
: evaluation nested too deeply: infinite recursion / options(expressions=)? -- Rainer M. Krug, Centre of Excellence for Invasion Biology, Stellenbosch University, South Africa __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] order() with randomised order in ties?

2009-06-04 Thread Rainer M Krug
for the Unwilling S User) Rainer M Krug wrote: Sorry for replying to my own post, but I found a solution. Still, a more elegant solution would be preferred. On Thu, Jun 4, 2009 at 12:02 PM, Rainer M Krug r.m.k...@gmail.com wrote: Hi I want to use order() to get the order of a vector. But I would

<    1   2   3   4   >