Displaying 10 results from an estimated 10 matches similar to: "Package installation"
2004 Jun 22
2
function not in load table
Hi,
I apologize for this often/old question. I found some hints but couldn't
solve the problem so far.
I have C functions (incl. the header files) as well as the R wrapper
functions which I want to use for faster calculations. These functions
are included in a R package.
The installation process seems to be ok (no errors). I also can load the
package without errors. But when I call the
2002 Nov 14
1
evaluating density objects
An object of class `density' has `x' and `y' components, which are what you
need to do the plot. Just bind them into a matrix and use write() to write
to a file.
HTH,
Andy
-----Original Message-----
From: Hinnerk Boriss [mailto:boriss at izbi.uni-leipzig.de]
Sent: Thursday, November 14, 2002 7:12 AM
To: R-help at stat.math.ethz.ch
Subject: [R] evaluating density objects
Hi!
Is
2004 Nov 26
2
sorting a data.frame using a vector
Hi all,
I'm looking for an efficient solution (speed and memory) for the
following problem:
Given
- a data.frame x containing numbers of type double
with nrow(x)>ncol(x) and unique row lables and
- a character vector y containing a sorted order labels
Now, I'd like to sort the rows of the data.frame x w.r.t. the order of
labels in y.
example:
x <- data.frame(c(1:4),c(5:8))
2002 Nov 12
4
R: Error in plot.new() : axis style "d" not implemented
Hi there!
Both on windows and Solaris platforms I run into troubles when trying to
draw two plots on top of each other. Here a short code example:
> x1 <- c(2,3,4,5,6,7,8)
> y1 <- sin(x1)
> x2 <- c(1,2,3,4,5,6,7,8,9,10)
> y2 <- cos(x2)
> d1 <- cbind(x1,y1)
> d2 <- cbind(x2,y2)
> plot(d1)
> par(new=T, xaxs="d")
> plot(d2)
Error in plot.new()
2017 Jun 07
4
Determining which.max() within groups
Using the dataset below, I got close to what I'm after, but not quite all
the way there. Any suggestions appreciated:
Daily <- read.table(textConnection(" Date wyr Q
1911-04-01 1990 4.530695
1911-04-02 1990 4.700596
1911-04-03 1990 4.898814
1911-04-04 1990 5.097032
1911-04-05 1991 5.295250
1911-04-06 1991 6.569508
1911-04-07 1991 5.861587
1911-04-08 1991 5.153666
2017 Jun 07
0
Determining which.max() within groups
cumsum() seems to be what you need.
This can probably be done more elegantly, but ...
out <- aggregate(Q ~ wyr, data = Daily, which.max)
tbl <- table(Daily$wyr)
out$Q <- out$Q + cumsum(c(0,tbl[-length(tbl)]))
out
## yields
wyr Q
1 1990 4
2 1991 6
3 1992 9
4 1993 15
5 1994 18
I leave the matter of Julian dates to you or others.
Cheers,
Bert
Bert Gunter
"The trouble
2012 Jun 11
2
Define a variable on a non-standard year interval (Water Years)
Hello,
I am trying to define a different interval for a "year". In hydrology,
a "water year" is defined as the period between October 1st and
September 30 of the following year. I was wondering how I might do
this in R. Say I have a data.frame like the following and I want to
extract a variable with the water year specs as defined above:
2008 Jan 15
0
4 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_types.c test/trace
libswfdec/swfdec_as_array.c | 25 ++++----
libswfdec/swfdec_as_types.c | 11 +++
test/trace/Makefile.am | 100 +++------------------------------
test/trace/array-movieclip-5.swf |binary
test/trace/array-movieclip-5.swf.trace | 15 ++++
test/trace/array-movieclip-6.swf |binary
test/trace/array-movieclip-6.swf.trace | 15 ++++
2010 Nov 19
1
gomp library with Rtools212
Dear developers,
I am a maintainer of the CORElearn package which uses OpenMP multithreading
to speed up some computations. When producing a new release we tested the
package with the latest R 2.12.0. On Linux the package works normally. On
Windows we installed a recommended version of Rtools (Rtools212) but the
linker fails with the messages below.
...
g++
2009 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
Signed-off-by: Scott Seago <sseago at redhat.com>
---
AUTHORS | 17 ++++++
README | 10 +++
conf/ovirt-agent | 12 ++++
conf/ovirt-db-omatic | 12 ++++
conf/ovirt-host-browser | 12 ++++