Displaying 20 results from an estimated 8000 matches similar to: "Problem configuring R-patched"
2006 Mar 16
1
Problem compiling R-Patched
I downloaded R-Patched today (to see if another problem I want to
ask about is still present or if its just me - as per the posting
guide). I ran "tools/rsync-recommended" successfully. I then ran
"configure --enable-R-shlib" successfully. Then make stops with the
following error.
gcc -shared -L/usr/local/lib -o tools.so text.o init.o Rmd5.o md5.o
-L../../../../lib -lR
2005 Jul 15
1
Cannot update some packages after upgrade to 2.1.1
I just upgraded to version 2.1.1 (from 2.0.1) today.
> R.version
_
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 2
minor 1.1
year 2005
month 06
day 20
language R
I am using SuSE 9.2 and did the upgrade using rpm -U with the RPM
available on CRAN. After upgrading r-base, I ran update.packages().
Four previously
2004 Nov 04
3
sub- and superscript in plot labels
Dear List,
I need to add a subscript and a superscript to some of the ions in the
labels on some plots.
I have got to here but now I'm stuck:
plot(1:10, xlab = expression(paste("nm SO"[4], " ", mu, "eq cm"^{-2}, "
yr"^{-1})))
Which gives almost what I require. No matter what I tried, however, I
could not get bot a sub script *and* a superscript
2005 Aug 16
2
problem using model.frame()
Hi I'm having a problem with model.frame, encapsulated in this example:
y1 <- matrix(c(3,1,0,1,0,1,1,0,0,0,1,0,0,0,1,1,0,1,1,1),
nrow = 5, byrow = TRUE)
y1 <- as.data.frame(y1)
rownames(y1) <- paste("site", 1:5, sep = "")
colnames(y1) <- paste("spp", 1:4, sep = "")
y1
model.frame(~ y1)
Error in model.frame(formula, rownames,
2005 Nov 03
4
merging dataframes
Dear List,
I often have to merge two or more data frames containing unique row
names but with some columns (names) common to the two data frames and
some columns not common. This toy example will explain the kind of setup
I am talking about:
mat1 <- as.data.frame(matrix(rnorm(20), nrow = 5))
mat2 <- as.data.frame(matrix(rnorm(20), nrow = 4))
rownames(mat1) <- paste("site",
2005 Aug 03
1
deparse(substitute(x)) and S3 methods
Dear List,
I have the following function:
coca <- function(x, ...)
{
if(is.null(class(x))) class(x) <- data.class(x)
UseMethod("coca", x)
}
and a default method
coca.default <- function(x, y, method = c("predictive", "symmetric"),
reg.method = c("simpls", "eigen"), weights =
NULL,
2005 Aug 02
1
problem using evaluating a formula
##data
y1 <- matrix(c(3,1,0,1,0,1,1,0,0,0,1,0,0,0,1,1,0,1,1,1),
nrow = 5, byrow = TRUE)
y2 <- matrix(c
(3,0,10,3,3,0,0,1,1,0,0,0,0,0,1,0,1,0,0,2,1,0,1,1,0,2,1,1,4,1),
nrow = 5, byrow = TRUE)
y1 <- as.data.frame(y1)
y2 <- as.data.frame(y2)
rownames(y1) <- rownames(y2) <- paste("site", 1:5, sep = "")
colnames(y1) <-
2006 Apr 07
2
Why is transform="km" the default for cox.zph?
To enhance my understanding, and that of my students, I have a question
about cox.zph in the survival package.
If I have correctly gleaned the high-level point from the 1994
Biometrika paper of Grambsch and Therneau, it looks to me like
cox.zph provides a mechanism to test for a simple trend in plots
of a function of time, g(t) versus the scaled schoenfeld
residuals and it also provides some
2005 Apr 06
1
axis.Date problem, bug(?)
Dear List,
I have the following problem with axis.Date, here is an artificial example:
dates <- scan(what = "character")
"25/03/2000" "26/03/2000" "27/03/2000" "28/03/2000" "29/03/2000"
"30/03/2000" "31/03/2000" "01/04/2000" "02/04/2000" "03/04/2000"
"04/04/2000"
2003 Feb 11
1
Dynamic Linear Models for Times Series - Implemented?
Hi,
I was wondering whether a package that can perform dynamic linear models on
times series data was available for R?
Many Thanks,
Gavin Simpson
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
Gavin Simpson [T] +44 (0)20 7679 5522
ENSIS Research Fellow [F] +44 (0)20 7679 7565
ENSIS Ltd. & ECRC [E] gavin.simpson at
2006 Mar 11
6
is there a formatted output in R?
something like "sprintf" in C?
so I can do:
print(sprintf("the correct result is %3.4f\n", myresult));
-------
Also, I am desperately looking for a "clear console screen" function in
R...
thanks a lot!
[[alternative HTML version deleted]]
2005 Aug 16
4
as.character and a formula
Dear list,
given this formula:
> fmla <- formula(y1 ~ spp1 + spp2 + spp3 + spp5)
> fmla[[3]]
spp1 + spp2 + spp3 + spp5
is this the intended behaviour of as.character:
> as.character(fmla[[3]])
[1] "+" "spp1 + spp2 + spp3" "spp5"
? Where does the extra "+" come from?
> as.character(fmla)
[1] "~"
2006 Mar 10
1
To improve my understanding of workspaces
Hello.
I have grown accustomed to the .Data directory in S-Plus and so when
I came to R I continued that behaviour by saving my workspaces at
the end of each R session. So, I have saved workspaces in various
directories where I have used R just as I would have had various
.Data directories where I had used S-Plus.
I have seen comments on the list, most recently from Prof. Ripley
that they
2006 Mar 16
0
Having trouble with plot.survfit and fun="cloglog"
I'm having trouble getting fun="cloglog" to work with plot on
a survfit object. Here are the data I used for the commands
that follow.
days status
2 0
2 0
5 1
9 0
14 1
16 0
16 0
17 0
29 1
30 0
37 1
37 0
39 1
44 0
44 0
58 0
60 1
67 1
68 1
82 1
82 1
86 0
86 0
89 1
93 0
97 1
100 0
100 0
100 0
> library(survival)
Loading required package: splines
> eg1.km <-
2003 Oct 08
1
plotting results from leaps library
Hi
In trying to fit a linear model , I use the leaps() function to determine wich predictors I should include in my model.
I would like to plot the Mallow's Cp criteria against p with the indexes of selected model variates as points labels
Is there already such a function? (I could not find it)
Thanks
Anne
[[alternative HTML version deleted]]
2003 Apr 03
1
ts function
hello
I read "Practical Time Series" (Gareth Janacek; 2001) and they presented
e.g the
smoothing functions msmooth(x,k) or the bivariate function
crosscorr(x,y,k),
but both didn't work on my machine. I only load the ts library, is
another
library necessary or did this function change since 2001? Is there a
more recent and detailed manual for ts?
thanks, cheers Martin
--
Martin
2003 Jun 04
3
cook distance
where is the cook-distance in R? i can't find it!please
help me!
2003 Dec 02
1
RWinEdt
I am attempting to use R through WinEdt. I installed the SWinRegistry
package and it seems to install fine. But when I type:
> library(RWinEdt)
I get:
Error in library(WinEdt) : there is no package called 'RWinEdt'
I am running Windows XP and R 1.8.1
The SWinRegistry is correctly named as well that is it is named:
SWinRegistry_0.3-3.zip, which I know caused
2004 Jun 08
2
Computting statistics on a matrix with 2 factor column
Hello,
I suppose this is a basic question but couldn't find a solution.:
I have a large matrix with let say 3 columns:
V1 V2 V3
a x 2
a x 4
a y 8
b z 16
and I want to compute some statistics based on
the levels resulting form the combination of the two first columns
e.g.:
SUM->
V1 V2 V3
a x 6
a y 8
b z 16
Thanks for your hints .
Marc
2004 Jul 22
1
biplot & identify
Hi!
Is there a way to get biplot and identify to work togheter.
Having the output of prcomp I would like to draw a biplot that.
Instead of plotting the sample (row-names) names plots some "pch" symbols. (thats easy with xlabs)
But now I would like to add using identify the names to only some of the points. I have noticed that both biplot.prcomp and biplot.default does a lot of