Displaying 20 results from an estimated 2000 matches similar to: "Specifying search position for attached package"
2003 Oct 27
2
[[<-.data.frame with POSIXt replacement (PR#4808)
Hi,
The following seems to be a bug introduced with version 1.8.0 (it worked
without error on my installation of version 1.7.0):
> test <- data.frame(time = I(c("2003-08-19:22:55:57")))
> test[["time"]] <- strptime(test[["time"]], format =
"%Y-%m-%d:%H:%M:%S")
Error in "[[<-.data.frame"(`*tmp*`, "time", value =
2003 Feb 01
2
Apparent parser problem (PR#2520)
Let me first admit: I am experiencing this bug on a precompiled binary
of R for windows, and I know these are not supported. I am not asking
for support, but I thought the R developers would want to know about
this.
# Define:
foo.page <- function(x) x
# Then,
foo.page("a")
# actually invokes the pager (!) on object named "a" (if one is
defined).
# same thing happens
2002 Sep 11
1
.Renviron and Renviron.site (on Windows XP)
Hello,
Could someone please tell me why the following doesn't work:
I have a file C:\Program Files\R\rw1051\etc\Renviron.site, which
contains the line:
R_LIBS= "C:/Jim/LocalR-Libraries/FromCran";
"C:/Jim/LocalR-Libraries/Cantata"
>From the documentation, I gather that I have put this file in the
default location, but to be safe I also explicitly set the R_ENVIRON
2003 Feb 28
2
Lexical scoping question
Hello,
Could someone please tell me what I am thinking about incorrectly:
f <- function(y) {
g <- function(x) x + y
g
}
In the following, I get what I expect based on my understanding of
lexical scoping:
(f(1))(3) # 4
(f(2))(3) # 5
But now,
fs <- lapply(c(1, 2), f)
fs[[1]](3) # 5 (Why not 4 ?)
fs[[2]](3) # 5
Checking the environments of these functions, I see that
2002 Dec 06
2
Mutiple page trellis plots with relation = "free" or "sliced"
Hello,
Has anyone out there encountered a problem like this:
xyplot(Plasma ~ Serum | Analyte,
data = sp.df,
aspect = 1,
layout = c(1, 1, 200),
scales = list(relation = "free")
)
Gives the error:
Error in pretty(x[is.finite(x)], ...) : x must be numeric
On the other hand, this works (but I don't want the default of having
everything on the same
2003 Sep 03
2
SNK-test
How can I perform a Student-Newman-Keuls-Test for multiple comparision of means in R?
(I did not manage to find any specific function in the libraries)
Jörg Peter Baresel
Technische Universität München
Institut für Ackerbau und INformatik im Pflanzenbau
D-85354 Freising
Lange Point 51
[[alternative HTML version deleted]]
2003 Apr 16
5
besoin d'aide
J'aimerais savoir si la fonction merge() est la seule disponible pour concatener des tableaux de donn?es?
Est-ce normal que l'ex?cution soit lente?
2003 Jul 21
4
generate a series of fucntion
Hi there,
I want to generate a large amount of functions,
say f=function(x,t) exp(-t[1]-t[2]*g_1(x)-t[3]*g_2(1+x))
where g_1(x) and g_2(x) are from a long list of moments, such as x, x^2,
log(x), log(1+x) .. and so on.
Any suggestions on how to do this efficiently?
thanks a lot.
x.w
2003 Jan 13
2
summarizing dataframe
Hi Listers,
Surely, I just have a mental block and there is a more elegant way of
creating a summary count (other than extracing it from ftable). I''d like to
create a new data.frame containing counts of spell by loc ie have three
columns showing spell,loc,count. Below the data.frame...
Any help appreciated
Thanks Herry
spell loc
101 Parts 1
102 Overall 2
105 Parts 1
106
2002 Oct 02
4
T-Distribution
Dear sir,
I would ask if there are in R some code to generate a random sample
from a mvariate student distribution like that one wich generate the
multivariate normal one i mean( rmvnorm(n, mu, sigma)
Second question : if R can plot density 3Dcurve I don't mean de
histogram but de hole density function(normal for example).
I use a windows version of The R software
Thank you in advance
wiyh
2002 Sep 12
0
(PR#2005) R_HOME/etc/Renviron.site not interpreted on windows
ligges@statistik.uni-dortmund.de wrote:
>
> Was on R-help:
>
> Subject: Re: [R] .Renviron and Renviron.site (on Windows XP)
> Date: Thu, 11 Sep 2002
> From: "James Rogers" <jrogers@cantatapharm.com>
>
> At least on the windows version of R the file
> ...../etc/Renviron.site
> won't be interpreted as mentioned in, e.g., ?.Renviron.
>
2002 Nov 04
2
Windows 2000 logon error
Hello,
I have Samba 2.2.3 running on a Solaris 7 server. I have many Windows 98
and a handful of Windows 2000 computers authenticating against it for
logging in and filesharing. One of the users (Jeff) had his Windows 98
workstation replaced with a Windows 2000 workstation. I have other
Windows 2000 computers and their users can log in fine, and they all have
the same network settings for the
2003 Jul 24
5
inverse prediction and Poisson regression
Hello to all, I'm a biologist trying to tackle a "fish" (Poisson Regression) which is just too big for my modest understanding of stats!!!
Here goes...
I want to find good literature or proper mathematical procedure to calculate a confidence interval for an inverse prediction of a Poisson regression using R.
I'm currently trying to analyse a "dose-response"
2002 Sep 13
2
Multiple random effects inlme?
Moi!
I was helping to teach a course on mixed models this week, and we came
across a problem with coding more than one random effect in lme when
they aren't nested.
As an example, suppose we have an experiment where we sample moths from
several populations, and place the moths on different trees, and measure
a trait (in this case survival of offspring, but that's less
important). We
2005 Sep 26
2
Help: x11 position in the Unix environment
Hello,
In the Unix environment, I open a window by x11(). May I specify the
position of this window by specifying the position of the top left of
the window as in Windows environment? Or some other parameters can be
used to do that?
Thank you,
Shengzhe
2001 Oct 22
3
round() doesnt (PR#1138)
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
2006 Jan 06
2
sudoku
Any doubts about R's big-league status should be put to rest, now that
we have a
Sudoku Puzzle Solver. Take that, SAS! See package "sudoku" on CRAN.
The package could really use a puzzle generator -- contributors are
welcome!
-- David Brahm (brahm at alum.mit.edu)
[[alternative HTML version deleted]]
_______________________________________________
R-packages mailing list
2006 Jan 06
2
sudoku
Any doubts about R's big-league status should be put to rest, now that
we have a
Sudoku Puzzle Solver. Take that, SAS! See package "sudoku" on CRAN.
The package could really use a puzzle generator -- contributors are
welcome!
-- David Brahm (brahm at alum.mit.edu)
[[alternative HTML version deleted]]
_______________________________________________
R-packages mailing list
2002 Mar 08
4
ARMA and ARIMA modeling
I'd like to play with ARIMA models of stock prices, but I am a complete novice.
Could some kind soul explain the relationship among packages "ts", "tseries",
"dse", "dse2", and "fracdiff"? Are they 'competing' products or does one
depend on another? Where would be the best place for a novice to begin?
Thanks for any advice.
PS. I
2006 Apr 28
1
as.character.factor when the factor contains "NA"
as.character.factor contains this line (where cx=levels(x)[x]):
if ("NA" %in% levels(x)) cx[is.na(x)] <- "<NA>"
Is it possible that this is no longer the desired behavior? These
two results don't seem very consistent:
> as.character(as.factor(c("AB", "CD", NA)))
[1] "AB" "CD" NA
> is.na(.Last.value)[3]
[1] TRUE