Displaying 20 results from an estimated 13000 matches similar to: "CMD check - where/what/how?"
1999 Dec 17
1
R CMD check --help
This example from the INSTALL help seems to be broken in R 0.90.1 (on Solaris):
gilp/dse : R CMD check --help
Usage: R CMD check [options] [-l lib] pkg_1 ... pkg_n
I'm trying to figure out how to request more nsize and vsize when using R CMD
check.
Paul Gilbert
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read
1999 Mar 15
1
R packages and test code
Where is the best place to put evaluation/test code in creating an R
package? I thought about a test subdirectory, but might it be better
to put in the R directory? I guess I'm more concerned about the
output used for evaluating the success of the test, rather than the
test code and data, itself.
best,
-tony
--
A.J. Rossini
UW Biostatistics & Center for AIDS Research
206-543-1044 /
1999 Jun 03
1
very minor Rgui problem in rw0641 (PR#204)
In Rgui (rw0641) the dialog boxes opened by Help->R(standard interface)
and Help->Apropos have to be closed by actually clicking on OK, rather
than by hitting return. (Once I'm at the keyboard typing in the search
term, return is more natural than going back to the mouse. But maybe I'm
just old-fashioned.)
Is it OK to mention two bugs in one report? After using
1999 Jun 04
1
FW: very minor Rgui problem in rw0641 (PR#204)
Dear all,
in using bug.report() on NT, I noticed what I find is an unusual default
behaviour; namely that R stays frozen until the report is completed.
Here's how to change it, and below, a question as to how others feel.
> -----Original Message-----
> From: Guido Masarotto [mailto:guido at hal.stat.unipd.it]
[snip]
> In the actual Windows implementation of bug.report, R waits
1999 Mar 09
1
lm() using data frames
Under NT 4.0, using Version 0.63.2 Beta (Jan 12, 1999):
Not sure if this is a bug or a feature (forcing me to program less
clumsily) so I'll report it here rather than to bugs.
With a medium size data set (1700 observations,70 explanatory variables)
and plenty of memory, specifically
> gc()
free total
Ncells 886738 1000000
Vcells 7912909 8388608
I get a fatal error when
1999 Jun 03
1
IE5 html help search failure (PR#205)
I hesitate to report this one because it is very likely system
dependent, and I have very little faith in my browser. Still, it may
point to something useful for someone to know.
On NT4, after help.start() brings up the web interface just fine
(despite the pessimistic warning on the terminal; is that still
necessary?), I can do apparaently anything in the help system, except
search.
If I'm
1999 Mar 12
2
ESS/rterm problem
I really don't think this is an R bug; sorry if I've got it wrong twice
within a week.
Using rw0632 on NT 4.0, I can get R running quite happily under ESS
5.1.3. However, whenever I use help(), although I do get the required
help in a split screen, I also get the minibuffer error message:
wrong argument type: processp, nil
Note: I get this under ESS 5.0 as well. I could live with this,
2005 Jun 15
2
need help on computing double summation
Dear helpers in this forum,
This is a clarified version of my previous
questions in this forum. I really need your generous
help on this issue.
> Suppose I have the following data set:
>
> id x y
> 023 1 2
> 023 2 5
> 023 4 6
> 023 5 7
> 412 2 5
> 412 3 4
> 412 4 6
> 412 7 9
> 220 5 7
> 220 4 8
> 220 9 8
> ......
>
Now I want to compute the
2003 Apr 02
2
lme parameterization question
Hi,
I am trying to parameterize the following mixed model (following Piepho
and Ogutu 2002), to test for a trend over time, using multiple sites:
y[ij]=mu+b[j]+a[i]+w[j]*(beta +t[i])+c[ij]
where:
y[ij]= a response variable at site i and year j
mu = fixed intercept
Beta=fixed slope
w[j]=constant representing the jth year (covariate)
b[j]=random effect of jth year, iid N(0,sigma2[b])
a[i]=random
2003 Jul 18
2
create a vector looping over a frame
Hello,
I have a data.frame
> names(popA)
[1] "Year" "Series" "Age" "WM" "WF" "HM" "HF" "BM"
[9] "BF" "IM" "IF" "AM" "AF" "Yr"
how do i loop over a subset of variables in this frame to create a vector of
2010 Jan 17
6
More than on loop??
hello every one,
How to function more than one loop in R? I have the following problem to be
solved with the a method of three loops, can you help me please?
The data is attached with this message.
The data is composed of two parts, cleaved (denoted by ?cleaved?) and non
cleaved (denoted by ?noncleaved?).
? to access to the ith peptide, you can use X$Peptide[i]
? to access to the ith label,
2008 Mar 15
2
Please find the error in my code
hello everybody
I use the following code for my programming & it runs with the error as specified below.Any help that would disolve the error will be highly appreciated.
Thanks in advance
my code looks like this
#### R programme for simulating the power of the two sample t test vs various
#### non-parametric alternatives
sim.size <- 200
sample.size <- 10
set.seed(231)
mu1 <- 0
delta
2003 Feb 27
2
PRESS again
Sorry for the repeat.
The PRESS statistic is defined as
sum(y-yhat(i))^2, where yhat(i) denotes the ith predicted value using
all the data except the ith case (as used typically in linear models).
Thanks again
Jacob
Jacob L van Wyk
Department of Mathematics and Statistics
Rand Afrikaans University
P O Box 524
Auckland Park 2006
South Africa
Tel: +27-11-489-3080
Fax: +27-11-489-2832
2002 Dec 06
6
fast code
Hello,
I have two vectors x1 and x2 both in increasing order.
I want to select the x1[j]th entry which is the max min of the x2[i]th
entry. I can do this using if and for statements but is there a quick way
to do it without running a loop?
Thank you in advance,
Pantelis
2008 Jan 24
6
Your "favorite" Asterisk application.
Hi, all. I've done some Asterisk recelling, but recently got roped into a
Sr. SysAdmin position. Our PBX is c. 1823, and -- well, as pretty much
all circuit-based systems do, it sucks. It sucks to administer, moves
suck... you know the drill. So, I'd love change to an Asterisk system.
My boss, who loves to spend money for no particular reason, wants to go
proprietary, though. So
2017 Jul 23
4
matching element of a vector to i-2nd element
I have a df with a vector v. For each element of the vector, I want to
know whether the i-2nd element is the same as the ith element. For
example:
given
v=c(A,C,D,C) the result should be:
FALSE,FALSE,FALSE,TRUE.
I attempted something using indexing in a for loop such as (bad,
incorrect example):
for (i in v){
if [i]==[i-2] print T
else print F
}
However, this is obviously wrong.
Can someone
2007 Mar 30
1
Using split() several times in a row?
Hi, fellow R users.
I have a question about sapply and split combination.
I have a big dataframe (40000 observations, 21 variables). First
variable (factor) is "date" and it is in format "8.29.97", that is, I
have monthly data. Second variable (also factor) has levels 1 to 6
(fractiles 1 to 5 and missing value with code 6). The other 19
variables are numeric.
For each month I
2009 Feb 24
2
growing dataframes with rbind
I'm growing a large dataframe by composing new rows and then doing
row <- compute.new.row.somehow(...)
d <- rbind(d,row)
Is this a fast/preferred way?
Cheers,
Alexy
2012 Dec 15
3
How to speed up the for loop by releasing memeory
Dear list;
How can I speed up the run of following code (illustrative)
#========================================================================
con<-vector("numeric")
for (i in 1:limit)
{
if(matched data for the ith item found) {
if(i==1) {con<-RowOfMatchedData } else
{con<-rbind(con,matchedData)}
}
}
2011 Sep 28
1
Multiplying a list of matrices with a vector
Hi all!
I have a list of matrices and I want to multiply the ith element of the list with the ith element of a another vector. That is,
> LL <- list(A=diag(3),B=diag(3),C=diag(3))
> vec <- 1:3
> for(i in 1:3)
+ {
+ LL[[i]] <- LL[[i]]*vec[i]
+ }
> LL
$A
[,1] [,2] [,3]
[1,] 1 0 0
[2,] 0 1 0
[3,] 0 0 1
$B
[,1] [,2] [,3]
[1,] 2 0