Dear R Help,
I work with the Sage project, and we are trying to improve the ability
to use R through Sage. Most things work, but make check seems to
cause problems on certain platforms, and now that we want to upgrade
to 2.10.1 I thought we should ask for help!
R builds just fine on both Mac
Hello
On Tue, Jan 19, 2010 at 7:51 PM, Christophe Genolini
cgeno...@u-paris10.fr wrote:
Is there a way to know how many times an R package (on CRAN) has been
download ?
Recently this page [1] was set up, but it doesn't seem updated for
some time now.
Liviu
[1]
Hi,
I just cannot remember the R function to divide a dataset into equal
parts. And i searched the divide dataset into equal parts in R site, but
cannot find it.
Anybody can tell me that function. I am just blocked by it.
Thanks a lot.
--
-
Jane Chang
Queen's
On Jan 19, 2010, at 2:51 PM, Christophe Genolini wrote:
Hi the list
Is there a way to know how many times an R package (on CRAN) has
been download ?
No, or at least not a comprehensive number. The question came up and
was discussed in March last year. Search term popular.:
On Tue, Jan 19, 2010 at 8:23 PM, David Winsemius dwinsem...@comcast.net wrote:
On Jan 19, 2010, at 2:51 PM, Christophe Genolini wrote:
Hi the list
Is there a way to know how many times an R package (on CRAN) has been
download ?
No, or at least not a comprehensive number. The question came
Thanks a lot for the answers!
Somehow I thought there will be a facility to modify the formula. But
setting unwanted variables to zero will of course work and maybe is simple
enough. Thanks again!
--
View this message in context:
Ted.Harding at manchester.ac.uk writes:
[...]
I suspect this is an invented computation -- the 3456 strikes
me as unlikely (it reminds me of my habitual illustrative use
of set.seed(54321)).
There is a definite problem with the development given by kayj.
When k=2000 and i=k, the
On Tue, Jan 19, 2010 at 9:26 AM, Martin Maechler
maech...@stat.math.ethz.ch wrote:
Scanning for 'Matrix' in old R-help e-mail, I found
GA == Gad Abraham gabra...@csse.unimelb.edu.au
on Fri, 27 Nov 2009 13:45:00 +1100 writes:
GA Hi,
GA I'd like to store large covariance matrices
On Mon, Jan 18, 2010 at 1:54 PM, Bert Gunter gunter.ber...@gene.com wrote:
One way to do it:
1. Convert your date column to the Date class using the as.Date() function.
This allows you to do the necessary arithmetic on the dates below.
dt - as.Date(a[,4],%d/%m/%Y)
2. Create a factor out of
Hi,
I'm sure this one is very easy
I am trying to write a function where one of its arguments has two posible
(strings) values,
defaulting to one of them if none is specified. My problem is that when
evaluating the function
the following warning is produced:
the condition has length 1
Using data frame, a, from the post below this is how it would be done
in SQL using sqldf. We join together the original table, a, with a
table of minimums (computed by the nested select) and then choose only
the rows where dt - mindt 7 (in the where clause).
library(sqldf)
sqldf(select var1,
On 1/19/10, Barry Rowlingson b.rowling...@lancaster.ac.uk wrote:
In a similar vein, has anyone ever put any 'phone home' code in a
package, so that authors can track usage? Something in the package
startup code that pings a logging server, for example?
Yes I know doing such a thing
Look at what happens when you don't pass in 'result':
c('simple', 'complete') %in% c(simple, s, complete, c)
[1] TRUE TRUE
result is a vector of length two and provides two results and the 'if'
was only expecting one. You might have to debug your code some more.
You probably want to use
?cut
?split
On Tue, Jan 19, 2010 at 3:18 PM, rusers.sh rusers...@gmail.com wrote:
Hi,
I just cannot remember the R function to divide a dataset into equal
parts. And i searched the divide dataset into equal parts in R site, but
cannot find it.
Anybody can tell me that function. I am just
Tena koe Hector
In addition to Jim's comment, you might like to define your function as:
fun - function(n, result = simple)
This will set the default to 'simple' but one can still call it as
fun(result='complete').
HTH ...
Peter Alspach
-Original Message-
From:
Hi,
On 1/19/10 12:05 PM, Karl-Dieter Crisman wrote:
I work with the Sage project, and we are trying to improve the ability
to use R through Sage. Most things work, but make check seems to
cause problems on certain platforms, and now that we want to upgrade
to 2.10.1 I thought we should ask for
Héctor Villalobos hvillalo at ipn.mx writes:
Hi,
I'm sure this one is very easy
I am trying to write a function where one of its arguments has two posible
(strings) values,
defaulting to one of them if none is specified. My problem is that when
evaluating the function
the
Hi,
I try to do statistics on small samples (32 and 16 data points) using the
bootstrap method. The results from the ordinary non-parametric bootstrap
show significant impact from bias, which suggests the use of a
bias-corrected bootstrap method. Is there any built in function for this in
R? If
Hi ,
Thanks for your help, I have been trying to use the bc package but I am
getting the following error
Error in system(cmd, input = input, intern = TRUE) : -l not found
any idea??
--
View this message in context:
Yes. I am looking for them. Thanks.
2010/1/19 jim holtman jholt...@gmail.com
?cut
?split
On Tue, Jan 19, 2010 at 3:18 PM, rusers.sh rusers...@gmail.com wrote:
Hi,
I just cannot remember the R function to divide a dataset into equal
parts. And i searched the divide dataset into equal
Maybe bc(..., args = ) or perhaps install a more standard version of
bc. See links at http://r-bc.googlecode.com
On Tue, Jan 19, 2010 at 5:43 PM, kayj kjaj...@yahoo.com wrote:
Hi ,
Thanks for your help, I have been trying to use the bc package but I am
getting the following error
Error in
On Jan 19, 2010, at 5:06 PM, Henrik wrote:
Hi,
I try to do statistics on small samples (32 and 16 data points)
using the
bootstrap method. The results from the ordinary non-parametric
bootstrap
show significant impact from bias, which suggests the use of a
bias-corrected bootstrap
On Tue, Jan 19, 2010 at 9:51 PM, Liviu Andronic landronim...@gmail.com wrote:
Why would this be evil? For R, for example? I've already read some
objections to this on r-help, but I'm not sure I understand the
reasons. As long as the 'ping' happens once, at first start,
anonymously, and
Hello,
I am creating plots of hourly precipitation and accumulated
precipitation (on different axis, see attached image). I was wondering
how can I have the plot frame (black border) start at zero, it looks
like it is plotted less than zero?
The code I use to create the png files is below:
Hello R users,
I think, I have an easy problem, but I can't solve it. I have defined home
range size of my study animal by using kernelbb, but I couldn't find how to
see the data of home range polygons like size and used smoothing parameter.
Could anybody help me?
Thank you,
Mustafa
Hi:
Per Baptiste's suggestion (not the iapply one, the plyr one :)
aaply(b, 1, function(x) sort(x, na.last = FALSE))
Var1 1 2 3 4 5 6
1 1 2 4 5 7 9
2 NA 2 3 3 3 5
HTH,
Dennis
On Tue, Jan 19, 2010 at 2:27 AM, marco salvini marco.salv...@gmail.comwrote:
Can you please help on the
On Wed, Jan 20, 2010 at 2:26 AM, Martin Maechler
maech...@stat.math.ethz.ch wrote:
Scanning for 'Matrix' in old R-help e-mail, I found
GA == Gad Abraham gabra...@csse.unimelb.edu.au
on Fri, 27 Nov 2009 13:45:00 +1100 writes:
GA Hi,
GA I'd like to store large covariance matrices
On Wed, Jan 20, 2010 at 8:18 AM, Douglas Bates ba...@stat.wisc.edu wrote:
On Tue, Jan 19, 2010 at 9:26 AM, Martin Maechler
maech...@stat.math.ethz.ch wrote:
Scanning for 'Matrix' in old R-help e-mail, I found
GA == Gad Abraham gabra...@csse.unimelb.edu.au
on Fri, 27 Nov 2009 13:45:00
Thanks. I got it right now.
The reason is that I am using a 2.8.1 version of R, which seems causing
trouble with the installation.
After I updated my R to 2.10.x, everything works great now.
best,
senlin
2010/1/19 Uwe Ligges lig...@statistik.tu-dortmund.de
On 19.01.2010 03:42, Rolf Turner
Dear Seth,
You might be able to reproduce this and get some more information like
this:
R -d gdb
run
source(src/tests/Examples/base-Ex.R)
Assuming you get a crash, type bt in the gdb console and send output.
I think it may have ended up being related to different Fortrans
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
project.org] On Behalf Of Douglas M. Hultstrand
Sent: Tuesday, January 19, 2010 4:42 PM
To: R mailing list
Subject: [R] Plot frame border to start at zero?
Hello,
I am creating plots of hourly
Hi everybody,
I would like to delete rows based on duplicate entries in column 3 in the
data matrix X (size 6 x 57). I have tried the unique(x) command as
data - X[unique(X[,3]),]
however, for some reason the command introduces a lot of NA's into the
dataset.
So, now I'm looking for a
Use duplicated indeed of unique.
On Wed, Jan 20, 2010 at 12:47 AM, Tuatara franziskabro...@gmail.com wrote:
Hi everybody,
I would like to delete rows based on duplicate entries in column 3 in the
data matrix X (size 6 x 57). I have tried the unique(x) command as
data -
See:
?duplicated
On Tue, Jan 19, 2010 at 9:47 PM, Tuatara franziskabro...@gmail.com wrote:
Hi everybody,
I would like to delete rows based on duplicate entries in column 3 in the
data matrix X (size 6 x 57). I have tried the unique(x) command as
data - X[unique(X[,3]),]
however, for
Thanks for the swift replies.
I have found this to work for my purpose:
data - subset(X, !duplicated(X[,3])
--
View this message in context:
http://n4.nabble.com/Deleting-rows-based-on-duplicate-entries-in-one-columns-in-a-data-matrix-tp1018110p1018126.html
Sent from the R help mailing list
I did not post this question to the ecology list, even though it is about an
analysis using Vegan, since my question is based more on basic data
manipulation in R. I think this is a fairly simple question but for the life
of me I cannot find a reference for in the archives.
I have an analysis
plot(..., xaxs='i', yaxs='i')
On Tue, Jan 19, 2010 at 7:42 PM, Douglas M. Hultstrand
dmhul...@metstat.com wrote:
Hello,
I am creating plots of hourly precipitation and accumulated precipitation
(on different axis, see attached image). I was wondering how can I have the
plot frame (black
Hi,
I know we can use 1:10 to represent the 1,2,3,...,10 numbers, but the
following conditions are except.
Anybody knows how to represent the following two cases with similar usage
of : or others? Usually, i will get several hundred names for them, such
as a1,a2,... or f[[1]],f[[2]],...
Hi all, I have a expression like that :
rep(2,4)
[1] 2 2 2 2
Now I want to write it as through some automated way. Is there is
function for doing that? I have tested with paste(), but count not get any
desired result.
Thanks,
--
View this message in context:
On Jan 19, 2010, at 10:57 PM, rusers.sh wrote:
Hi,
I know we can use 1:10 to represent the 1,2,3,...,10 numbers, but the
following conditions are except.
Anybody knows how to represent the following two cases with similar
usage
of : or others? Usually, i will get several hundred names for
Hi:
The : operator is meant for numeric sequences; see ?':'
On Tue, Jan 19, 2010 at 7:57 PM, rusers.sh rusers...@gmail.com wrote:
Hi,
I know we can use 1:10 to represent the 1,2,3,...,10 numbers, but the
following conditions are except.
Anybody knows how to represent the following two
On Jan 19, 2010, at 11:17 PM, Ron_M wrote:
Hi all, I have a expression like that :
rep(2,4)
[1] 2 2 2 2
paste(rep(2,4), sep=, collapse=)
[1]
Now I want to write it as through some automated way. Is
there is
function for doing that? I have tested with paste(), but count
I am having the exact same error, and the suggested work-around does not
help.
My env is:
64-bit SUSE Linux v 10.1 on Xeon processors. gcc and gfortran version is
4.1.2
64-bit R 2.10.1 compiled from soure using CC=gcc -m64 etc.
64-bit unixODBC driver manager 2.2.14 compiled from source
Dear R helpers
(I have already written the required R code which is giving me correct results
for a given single set of data. I just wish to wish to use it for multiple
data.)
I have defined a function (as given below) which helps me calculate Macaulay
Duration and Modified Duration and its
I am hoping to create a graph that will look like it is plotted on
arithmetic probability plot. Something similar to how this is done in Excel:
http://peltiertech.com/Excel/Charts/ProbabilityChart.html.
I can't quite find a code that will transform the linear axis into a
cumulative percent axis
Hi:
For a normal probability plot, use qqnorm().
Example:
x - rnorm(50)
qqnorm(x)
qqline(x)
See the help page ?qqnorm for customization options.
HTH,
Dennis
On Tue, Jan 19, 2010 at 11:09 PM, Natalia Slobodina nata...@uw.edu wrote:
I am hoping to create a graph that will look like it is
Hi
How does one tell R that one is using an augmented matrix as appose to an
non-augmented matrix?
For instance, when I want to solve two equations in two unknowns, I will
have to solve a 2 by 3 augmented matrix, however all I know to type into R
is something like this;
weights =
101 - 147 of 147 matches
Mail list logo