Displaying 20 results from an estimated 4000 matches similar to: "One more for the wish list"
2010 Jun 09
2
Question on trying to build R 2.11.1 on Tru64(aka OSF1)
First I tried 'setenv R_SHELL /usr/local/bin/bash', as bash is the weapon
of choice for the faculty wishing to use R, then ran ./configure as before.
The ./configure output line
using as R_SHELL for scripts ... /usr/local/bin/bash
would seem to indicate that the R_SHELL environment variable was recognized
and acknowledged. However, I got the same build error:
gnumake[2]: Entering
2003 Jul 16
2
Fatal error in SJava.
Dear r-helpers,
I have been trying to invoke R from Java in a Windows 2000 computer
(unfortunately). All my environment variables seem to be properly set,
everything seems to be in order, but I obtaining a
Fatal error: unable to open the base package
error window.
Also, the output of the invoker is
Loading RInterpreter library
R_HOME: R_HOME=C:/Programas/R
RVersion: R_VERSION=1.6.1
whereas
2011 Oct 13
5
Counting the number of integers at one swoop
Dear R users,
I'd like to count the number of integers in a vector y.
Here is an example.
y <- c(0,1,1,3,3,3,5,5,6)
In fact, I know how to count the number of specific number in y.
sum(y==0) -> 1
sum(y==1) -> 2
sum(y==2) -> 0
sum(y==3) -> 3
sum(y==4) -> 0
sum(y==5) -> 2
sum(y==6) -> 1
However, in one computation I want to get this vector [1,2,0,3,0,2,1].
Thank
2004 Jul 14
1
RCMD fails in Windows XP
I have setup R 1.9.1 on my Dell laptop running windows XP. I have
installed it to C:\R\rw1091. Rgui runs fine, but Rcmd fails if run with
parameters (i.e. install). The windows dialog box cheerfully says "R for
Windows front-end has encountered a problem and needs to close. We are
sorry for the inconvenience." Running the visual C++ debugger informs me
that there is an unhandled
2009 Sep 27
2
dimension-preserving matrix coersion
i've written a function to coerce a matrix (e.g. from numeric to
logical), but i'd like to know if someone has a more elegant method
for this:
> m <- matrix(c(0, 1, 1, 0), ncol = 2)
> m <- as.logical(m)
> m
[1] FALSE TRUE TRUE FALSE
i'd like 'm' to still be a matrix with the original dimensions. in my
function to do this, i coerce 'm' to a logical,
2002 Jan 08
6
Subsets without NA
Is there a way of removing all rows with missing values from a data frame?
I usually use
subset(x, var1!="NA")
and repeat for each variable. It would be nice to be able to do it in one
fell swoop. Also, surprisingly, it doesn't always work. Sometimes I'm left
with an empty set even though not all rows have missing values for the
variable.
Cheers,
mikkel
Mikkel Grum,
2010 Jun 08
3
Question on trying to build R 2.11.1 on Tru64(aka OSF1) system
Hello,
I am trying to build the R-2.11.1 software for university faculty to use in
research projects on a DEC/Compaq/HP AlphaServer model GS160 16CPU/64GB memory
running Tru64Unix aka OSF1 version 5.1B-5.
Is it known whether it is possible to build the R-2.11.1 software on the
platform I am using?
In my attempts to build the R-2.11.1 software, I first used the native C
and Fortran 77/90/95
2000 Aug 09
2
GenGC changes
As most R developers maybe are already aware of, R version 1.2.0
introduced a new `generational' garbage collector which means that
strings and vectors (and language objects) are handled differently from
the numerical atomic types.
>From ``Writing R Extensions'':
Earlier code was written in a style like.
VECTOR(dimnames)[0] = getAttrib(x, R_NamesSymbol);
2002 May 02
2
Rversion.h
Our current intention is to no longer include Rversion.h from R.h as from
R 1.6.0 (which is months away).
Package maintainers when revising code might like to check if they
actually use Rversion.h, and if so include it explicitly.
I did a quick grep through the CRAN packages, and in all but one case
(mda) the test is for R < 1.2.0, so it may be simplest just to tidy up
and add `Depends: R
2017 Apr 06
3
failure of make check-all
This run was done this AM on my linux box, and older 32 bit Dell optiplex (core 2 duo).
The failure message is at the very end. (It's due to be replaced in a couple of weeks.)
The sequence of steps was
svn up
tools/rsync-recommended
./configure
make
make check-all |& tee zzz
Terry T.
Result of ./config
R is now configured for i686-pc-linux-gnu
Source directory: .
2010 Aug 17
3
A question of install R packages
My R_version is 2.11.1.
I can?t install R packages.
The error massages are following:
package 'DBI' successfully unpacked and MD5 sums checked
error in normalizePath(path) :
path[1]="E:\R-2.11.1\library/DBI"??
--
View this message in context: http://r.789695.n4.nabble.com/A-question-of-install-R-packages-tp2327716p2327716.html
Sent from the R help mailing list archive at
2010 Mar 10
2
function to create multiple matrices
Hi All,
If given a dataframe (long form) with Year, Species, and Location,
How would I write a function that would create a unique matrix of Species &
Location for each Year?
What I've tried doing is the following:
data #dataframe
dataT<-table(data$Species,data$Location,data$Year) #creates tables of
Species vs Location for each Year
But I'm encountering issues individually
2017 Jun 06
0
Subject: glm and stepAIC selects too many effects
More principled would be to use a lasso-type approach, which combines selection and estimation in one fell swoop!
Ravi
________________________________
From: Ravi Varadhan
Sent: Tuesday, June 6, 2017 10:16 AM
To: r-help at r-project.org
Subject: Subject: [R] glm and stepAIC selects too many effects
If AIC is giving you a model that is too large, then use BIC (log(n) as the penalty for adding
2004 Oct 11
1
[LLVMdev] Re: [llvm-commits] CVS: */Makefile.am
On Mon, 11 Oct 2004, John Criswell wrote:
> I believe the two best things that we can do to shorten releases is the
> following:
>
> 1. Re-arrange the LLVM and LLVM-GCC builds to build in one fell swoop.
> I checkout out, I type make, and it all builds. This requires moving
> parts of llvm/runtime into llvm-gcc, or making llvm-gcc an LLVM project,
> or some other approach.
2006 Jun 03
3
Asterisk + PRI Card -> Nortel BCM
Has anyone fed a Nortel BCM from Asterisk?
I'm interested in switching our company over, but don't want to
replace all the handsets in one fell swoop.
I imagine some of the PRI cards can "emulate" a switch?
I'd still like to pass CallerID into the Nortel, etc but all the
external traffic would be VOIP, not TDM.
2006 Jan 12
2
server without gcc?
i cant believe i have a production box online without gcc installed using a
new CentOS 4 server CD???
confused to say the least as i always install all the compiler and etc
components...
will the command
yum install gcc
get me everything i need or should i specify something else to get
everything in one swoop that i might ever need
thanks
- rh
--
Robert Hanson - Abba Communications
2003 Nov 11
1
+= assignment operator
The thread "Finding the name ob an object" gave me an idea about how to write
an assignment operator like C's "+=":
"%+=%" <- function(a, b) {
as <- deparse(substitute(a))
bs <- deparse(substitute(b))
st <- paste(as, "<-", as, "+", bs)
eval.parent(parse(text=st), 2)
}
R> xx <- matrix(1:9, 3,3)
R> xx[2,
2002 Oct 27
3
RODBC patchlet
[ Disclaimer: Yes, I do know that RODBC is in a state of minor limbo as far
as maintenance is concerned. But it is also useful, and used, which is why I
hope that someone might apply the small change outlined below. ]
The current version in CRAN's devel directories fails to build under R 1.6.1
(beta from Oct 27):
chibud:/home/edd/RODBC# R CMD INSTALL .
* Installing *source* package
2009 Feb 10
1
Putting values and axis X labels on the charts based on allEffects
Dear everybody!
Need help with graphics. I am runnig a simple lm and then using
allEffects from 'effects' package:
require(effects)
model<-lm(Y~A+B, data=mydataframe)
I am trying to build (for each predictor - A and then B) a plot of means on Y.
I was successful doing it like this - in one swoop:
ml.eff<-allEffects(ml1, se=F)
plot(ml.eff,ylab="Title of Y")
Is it
2005 Jan 06
1
Calculating a table of symbol frequencies
Hello all:
I have a protein sequence alignment in a data frame (align1, 72 x 236),
where each row is a protein and each column a site in the alignment. AA is
vector of amino acid symbols plus "-" (gap). I can calculate amino acid
frequencies at each site by:
>align1.F <- matrix(0,nrow=22,ncol=236,dimnames=list(AA,seq(1:236)))
>for(i in 1:236)
>