Displaying 20 results from an estimated 3000 matches similar to: "Where to find "nprq"?"
2007 Sep 20
2
referencing packages?
Hi
I know how to referenc R in a scientific paper - but is there a
standardised way to reference packages?
Thanks
Rainer
--
NEW EMAIL ADDRESS AND ADDRESS:
Rainer.Krug at uct.ac.za
RKrug at sun.ac.za WILL BE DISCONTINUED END OF MARCH
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)
Plant Conservation Unit
Department of Botany
University of Cape Town
Rondebosch 7701
2007 Oct 01
4
Concatenating one character vector into one string
Hi
I am sure this is simple - but how can I convert one charecter vector
into one string?
example:
x <- c("This ", "is ", "one ", "sentence.")
should become
"This is one entence"
Thanks
Rainer
--
NEW EMAIL ADDRESS AND ADDRESS:
Rainer.Krug at uct.ac.za
RKrug at sun.ac.za WILL BE DISCONTINUED END OF MARCH
Rainer M. Krug, Dipl. Phys.
2007 Aug 16
6
several plots on several pages
Hi
> version
_
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 2
minor 5.1
year 2007
month 06
day 27
svn rev 42083
language R
version.string R version 2.5.1 (2007-06-27)
I want to create a pdf withe three graphs on a page and with two pages:
2007 Mar 05
4
Identifying last record in individual growth data over different time intervalls
Hi
I have a plist t which contains size measurements of individual plants,
identified by the field "plate". It contains, among other, a field
"year" indicating the year in which the individual was measured and the
"height". The number of measurements range from 1 to 4 measurements in
different years.
My problem is that I would need the LAST measurement. I only
2008 Mar 14
2
Selecting elements in vector
Hi
Consider the following code
> x <- rep(1:13, 13)
> y <- 1:3
I want to select all elements in x which are equal to 1, 2 or 3.
I know that I could use
> sel <- x==y[1] | x==y[2] | x==y[3]
> x[sel]
to obtain the values, but in my analysis, the y-vector is thousands of
elements long.
Is there any way, that I can do that easily?
Thanks
Rainer
--
Rainer M. Krug, Dipl.
2007 May 23
1
Question concerning "pastecs" package
Hi
I just installed the pastecs package and I am wondering: is there an
english (or german) translation of the file pastecs.pdf? If not, is
there an explanation somewhere of the object of type 'turnpoints' as a
result of turnpoints(), especially the "info" field?
Thanks,
Rainer
--
NEW EMAIL ADDRESS AND ADDRESS:
Rainer.Krug at uct.ac.za
RKrug at sun.ac.za WILL BE
2007 Oct 16
3
R-2.6.0 - packages installation through a proxy - not working
Hello everyone,
I run R on Gentoo Linux and this week I upgraded R from 2.5.0 to
2.6.0. With the new build, I have stumbled upon an unpleasant problem:
I can no longer install packages from CRAN through a transparent
proxy. With the previous version, I simply added to
/usr/lib/R/etc/Renviron the following line and it functioned like a
charm:
## Proxy settings
http_proxy="SERVER:3128"
2007 Nov 19
0
Using density() and turnpoint to Identify maxima in data
Hi
I have a large dataset which follows a multimodal distribution. And I
would like to identify the maxima. As the data is obtained from a
stochastic simulation, not all maxima in the data are "real maxima of
the dirstribution" but rather small random fluctuations. Unfortunately,
it is not possible for me to run more simulations to smooth the obtained
distribution.
What I am doing
2006 Sep 06
4
problem with putting objects in list
Hi
I use the following code and it stores the results of density() in the
list dr:
dens <- function(run) { density( positions$X[positions$run==run], bw=3,
cut=-2 ) }
dr <- lapply(1:5, dens)
but the results are stored in dr[[i]] and not dr[i], i.e. plot(dr[[1]])
works, but plot([1]) doesn't.
Is there any way that I can store them in dr[i]?
Thanks a lot,
Rainer
--
Rainer M. Krug,
2008 Mar 07
1
How to navigate in layout() created graph?
Hi
I created a complex layout with using layout() and it looks exactly as
I need it. But I don't want to print in the order in which the
subfigure are numbered, but in a different order.
How can I navigate in the layout so that I can specify the subfigure
in which to plot?
At the moment I am using a function which is converting the number to
mfg parameter for par, but it does not seem to
2008 Jul 09
1
version problems of rkward in ubuntu hardy repository
Hi
I tried to install rkward under ubuntu hardy heron, but it tried to
use the one from the cran repository which was newer, but it did not
install. To be able to install rkward, I had to disable the cran
repository, install rkward, lock it's version and enable the
repository again.
I have the feeling, that the dependencies are not correct (it is
looking for libqt4GUI, but I have a
2006 Dec 01
2
specify point shape for ggplot (equivalent to pch)?
Hi
is it possible to specify the shape of the point to be used in ggplot
(as with pch in plot)? I couldn't find anything in the help.
Thanks
Rainer
--
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)
Department of Conservation Ecology and Entomology
University of Stellenbosch
Matieland 7602
South Africa
Tel: +27 - (0)72 808 2975 (w)
Fax: +27 - (0)86 516 2782
Fax:
2009 Oct 07
2
Second y-axis --- alternative to par(new=
Hi
is there an alternative to par(new), for ading data to a plot for a
different y-axis?
My problem with par(new=TRUE) is, that it re-defines all axis and labels (as
in example 1) and one has to use xlim=... to fix the x-axis.
I am looking for something, which simply resets the y-axis, so that a new
plot() (or points()/lines()) keeps the x-axis, but re-defines the y-axis.
Is there something
2009 Oct 30
2
Ubuntu packages compiled with 2.9
Hi
I upgraded to R 2.10.0, and I encounter a problem with some packages on R,
installed via apt-get..
They are still compiled by 2.9 and give me an warning when I load the
packages. Will these packages be recompiled with R 2.10, or should I rather
switch to self-compiling?
Cheers,
Rainer
--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys.
2009 Dec 11
1
Creating bibtex file of all installed packages?
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 for a single
package, but how can I generate a file containg citations for all installed
/ loaded packages?
Cheers,
Rainer
--
NEW GERMAN FAX NUMBER!!!
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT),
2008 Feb 27
2
Plan to build Package to use GRASS from R
Hi
Sorry for crossposting, but I think this can be of interest for GRASS and R
users.
I am planning to write a package to make the use of GRASS from R easier. The
idea is to wrap the system call to execute the GRASS command into an R
command of the same name.
e.g:
r.to.vect <- function(..., intern=TRUE, ignore.stderr=FALSE)
{
comm <- paste( "r.to.vect ", ...,
2008 Jan 27
1
Putting frame around single panels in ggplot 2 and facet_grid()
Hi
I want to highlight two panels in a grid created with facet_grid() by
putting a box around it or usiong another background colour. Is this
possible, and if yes, how?
Thanks
Rainer
--
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)
Plant Conservation Unit
Department of Botany
University of Cape Town
Rondebosch 7701
South Africa
Tel: +27 - (0)21 650 5776 (w)
Fax:
2006 Sep 22
1
Update to Dillo browser question
Hi
I asked about if there is any way of opening URLs from the help browser
in the same window of the same dillo browser - here is the answer.
Just to reiterate: dillo is for me the perfect browser for the help of R
when you use ?...
Rainer
-------- Original Message --------
Subject: Re: [Dillo-dev] Opening new URL in same instance and -s option
Date: Thu, 21 Sep 2006 21:31:57 -0400
From:
2006 Sep 20
4
Calculating mean together with split
Hi
I have a table called npl containing results of simulations.
It contains about 19000 entries and the structure looks like this:
NoPlants sim run year DensPlants
1 6 lng_cs99_renosterbos 1 4 0.00192
.
.
.
it has 43 different entries for sim and year goes from 1 to 100, and run
from 1 to 5.
I would like to calculate the mean of DensPlants for each
2005 Dec 20
1
Problems installing R 2.1.1. from rpm (R-base-2.2.0-1.i586.rpm) on SuSE 10
Hi
I have problems installing R 2.1.1. from rpm (R-base-2.2.0-1.i586.rpm)
on SuSE 10. It installs fine, all dependances are OK (at least Yast does
not complain) but when I try to run R, it gives the following error message:
symbol lookup error: /usr/lib/libblas.so.3: undefined symbol:
_gfortran_filename
and R quits.
blas version: 3.0-926
Any help appreciated,
Rainer
--
--
Rainer M.