Displaying 20 results from an estimated 200 matches similar to: "R and ATLAS"
2010 May 10
3
dbSendQuery with R variables
Rhelpers:
I'd like to modify this RSQLite statement:
rs_stations<-dbSendQuery(con_stations, "select * from stations")
so that stations is actually an R variable, e.g.:
stations=c("stationA","stationB")
How would I modify the above statement to query from stations[[1]]
(aka "stationA")?
--j
2007 Jul 04
10
A More efficient method?
Dear Rhelpers,
Is there a faster way than below to set a vector based on values from
another vector? I'd like to call a pre-existing function for this, but one
which can also handle an arbitrarily large number of categories. Any ideas?
Cat=c('a','a','a','b','b','b','a','a','b') # Categorical variable
2008 Aug 13
3
Comination of two barcharts and one xyplot
Hi Rhelpers,
I would like to have some help with a plot which is beyond my capabilities. This plot that I am seeking involves an overlay of two different barcharts and one xyplot.
The code that I have used is the following :
#save(df1,file="M:\\KBR\\df1.RData")
load(file="M:\\KBR\\df1.RData")
# df1$Year.ord created to obtain the right order i.e. 2015M < 2015K
2010 Aug 25
2
Removing inter-bar spaces in barchart
Rhelpers:
I'm trying to make a barchart of a 2-group dataset
(barchart(x~y,data=data,groups=z,horizontal=FALSE)). My problem is
that I can't, for the life of me, seem to get rid of the inter-bar
space -- box.ratio set to 10000 doesn't do much. Any ideas? I'd
ideally want zero space between the bars. Thanks!
--j
--
Jonathan A. Greenberg, PhD
Assistant Project Scientist
2010 Jan 30
2
Using auto.key with two variable plots
Rhelpers:
Having a problem solving this. I have an xyplot call that looks
like this:
print(xyplot(temp_species_EAM_Pred_Pop$x+temp_species_NULL_Pred_Pop$x~temp_species_EAM_Pred_Pop$Action,main=current_species,
xlab="Action",ylab="Predicted Pop",
xlim=c(xmin,xmax),ylim=c(ymin,ymax),
2002 Feb 20
2
Code for bivariate Poisson regression?
Dear RHelpers,
Does anyone know of any R code to perform bivariate Poisson regression
(including random effects)?
Best wishes
Simon
Simon D.W. Frost, M.A., D.Phil.
Department of Pathology
University of California, San Diego
Antiviral Research Center
(Formerly: UCSD Treatment Center)
150 W. Washington St., Suite 100
San Diego, CA 92103
USA
Tel: +1 619 543 8080 x275
Fax: +1 619 298 0177
Email:
2008 Oct 17
1
missing Rversion.h and Rconfig.h when installing RSQLite under FC8
Hello,
I am having problems installing RSQLite under FC8. The error message
seems to indicate Rversion.h and Rconfig.h are missing. To illustrate
the problem, I have copied below the output shown when I first install R
(binary distribution) and then try to install RSQLite. Because the
problem does not occur when installing RSQLite with R under Windows I
suspect the problem is perhaps due to my
2006 Aug 16
2
adding multiple fitted curves to xyplot graph
Hello RHelpers,
This may already have been answered, but despite days of scouring through the archives I haven't found it.
My goal is to add multiple fitted curves to a plot.
An example data set (a data frame named df in following code) is:
x1 y1 factor1
4 1298.25 0.00000000 1
5 1393.25 0.00000000 1
6 1471.50
2004 Jul 09
1
creating plots by batch
Hello RHelpers!
I'm very ashamed but....
I'm creating quite a lot of plots in a big loop...each times the program ask me :
> Hit <Return> to see next plot:
How do I avoid that?
Many, many thanks as always....
Anne
----------------------------------------------------
Anne Piotet
Tel: +41 79 359 83 32 (mobile)
Email: anne.piotet@m-td.com
2010 May 13
1
Comparing histograms?
Rhelpers:
I'm curious what the appropriate analysis to use for testing the
hypothesis that two histograms are statistically different from one
another? Thanks!
--j
2007 Apr 27
1
add arrows to barchart with groups
Hello Rhelpers,
I am trying to represent the following data (hereafter named donnees) in a barchart with a grouping variable :
site traitement date s res
1 NT 17/10/2005 normal 76.2
1 T 17/10/2005 normal 103.2
1 NT 23/11/2005 tardif 81.6
1 T 23/11/2005 tardif 98
2 NT 15/10/2005 normal 72.71
2 T 15/10/2005 normal 94.47
2 NT 15/11/2005 tardif 79.65
2 T 15/11/2005 tardif 94.7
2009 Mar 02
1
initial gradient and vmmin not finite
Dear Rhelpers
I have the problem with initial values, could you please tell me how to solve it?
Thank you
June
> p = summary(maxLik(fr,start=c(0,0,0,1,0,-25,-0.2)))
Error in maxRoutine(fn = logLik, grad = grad, hess = hess, start = start, :
NA in the initial gradient
> p = summary(maxLik(fr,start=c(0,0,0,1,0,-25,-0.2),method="BFGS"))
Error in optim(start, func, gr =
2010 May 28
2
Compiling R-2.11.0 with ATLAS-tuned BLAS and LAPACK
Hello. I am a Linux neophyte and know almost nothing ?about compiling,
so I would appreciate any help and advice y'all would care to offer.
I am trying to compile the 64 bit version of R using a tuned ATLAS and
LAPACK (ATLAS 3.9.24). I am running Ubunto 10.04 LTS (through wubi,
FWIW). The ATLAS and LAPACK files (atlas.so, f77blas.so, lapack.so,
and cblas.so) are sitting in the folder
2006 Nov 02
1
avoiding a loop: "cumsum-like"
Hello Rhelpers,
I need to run the following loop over a large number of data-sets, and was wondering if it could somehow be vectorized. It's more or less a cumulative sum, but slightly more complex.
Here's the code, and an example dataset (called tab in my code) follows.
Thanks in advance for any suggestions!
res<-0
for (i in min(tab$Date):max(tab$Date))
{
if
2012 Mar 15
0
[R-sig-hpc] Debian/Ubuntu + threaded BLAS/ATLAS (solved)
On 14 March 2012 at 23:09, Simon Urbanek wrote:
| I thought I'll post this here since I could not find an answer anywhere I searched: how to setup R with threaded BLAS on Debian/Ubuntu.
|
| First, neither Debian nor Ubuntu come with optimized ATLAS binaries, simply because by definition they need to be optimized for a particular machine. The good news: it is easy to build:
|
| apt-get source
2007 Mar 20
5
abline within data range
Dear R helpers,
I would like to have abline, for a lm model for
example, lying within data range. Do you know how to
get it?
Thank in advance
Nguyen D Nguyen
#CODE
x<- rnorm(200, 35,5)
y<- rnorm(200, 0.87,0.12)
plot(y~x, xlim=c(0,50), pch=17, bty="l")
abline(lm(y~x))
# I would like abline is between min(x) and max(x)
[[alternative HTML version deleted]]
2011 Nov 03
4
How to used MKL (not revolution-mkl) with Debian packages
Hi folks,
if you want to use MKL (the fast BLAS I have tested on my Thinkpad T410)
with the R 2.14.0 built as Debian/Ubuntu packages available on CRAN mirror,
the following tricks may works for without some known side-effects (likes
openmp breaking issues), you may try to build your own libblas.so.3gf.0
with following command:
$ gfortran -L/opt/intel/lib/intel64 -liomp5
2011 Jan 28
2
R CMD INSTALL cannot find libf77blas
I feel like Marlon Brando in "On the Waterfront" where he's told "It's
not your night, kid", except for me it has been the last two months
trying to debug memory problems. Now I can't even install an old
version of this package on a netbook running the Ubuntu 10.10 netbook
remix because it can't find the libraries libf77blas and libatlas.
I have even gone to
2010 Apr 09
2
problems loading blas with R 2.11.0~20100402-1
Hi,
Since upgrading to version 2.11.0~20100402-1, starting R fails with:
/usr/lib64/R/bin/exec/R: error while loading shared libraries: libblas.so.3gf: cannot open shared object file: No such file or directory
Is this occurring to others on sid?
--
Seb
2010 Nov 13
1
LAPACK lib problem, lme4, lastest R, Linux
I just dumped Vista off a laptop and installed Ubuntu 10.10 (latest
release) as the single operating system. I did all of the updates and
then installed emacs and ess. Next I installed R by following the the
usual instructions on the CRAN site. At this point all is working I am
now in the process of installing the packages that I normally have
installed. I am having a problem with the LAPACK