Displaying 20 results from an estimated 500 matches similar to: "Trouble pulling data from a messy ACII file..."
2006 Dec 15
12
Numbering of releases
Am I right in thinking that the numbering of the versions are in synch
with the gcc version that one is recommened to build with? In other
words "use gcc version 3.foo".
--
John Maclean - 07739 171 531
MSc (DIC)
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
2010 Jul 22
3
Hydrology plots in R
Hello,
I am trying to create a plot often seen in hydrodynamic work than includes a
contour plot representing the water speed with arrows pointing in the
direction of flow. Does anyone have any idea how I might add arrows based on
wf$angle (in the example below) to the plot below?
Thanks in advance!
Sam
library(lattice)
speed <- runif(100, 0, 20)
wf <- data.frame(speed)
wf$width <-
2008 May 07
3
use list elements to subtract values from the dataframe
Hi,
I have a dataframe wf existing of a header with different labels and beneath
the values of those labels :
wf:
label1 label2 ...
0,45 0,21
0,10 0,45
.... ....
I have a list
fl <- c("label2","label3",..)
Isn't possible to use the list elements in the list in order to subtract
values from the dataframe? like :
wf$fl[[1]]
When I do in R I get :NULL
2012 Jan 11
1
R CMD check pkg and 32/64 bit.
R gurus:
I'm trying to get another round of rconifers out and I need some advice/help crushing differences in the examples test.
I'm trying to make sure the max sdi values are being respected.
I've added a tests/rconifers-Ex.Rout.save (from windows i386-pc-mingw32) and when I ran R CMD check (both R-2.13.0), I got the following results:
* using log directory
2010 Nov 05
2
[LLVMdev] Hoisting elements of array argument into registers
Hi,
The Glasgow Haskell Compiler LLVM backend is generating a lot of code which
appears to be optimised by LLVM quite poorly. The problem is demonstrated by
this C source code:
int wf(int sp[]) {
if (sp[0] == 0) {
return sp[2] + sp[3];
} else {
sp[3] = sp[3] + (sp[1] * 5);
sp[2] = (sp[2] + sp[0]) + 1;
sp[1] = sp[1] - 1;
sp[0] = sp[0] - 1;
2010 Nov 05
2
[LLVMdev] Hoisting elements of array argument into registers
> I see the same with clang. I'm not sure why the optimizers do so much better
> when they can see that sp is a local array (the special initial values don't
> matter).
It is the scalar replacement of aggregates pass that puts everything into
registers when sp is a local array. What happens is: the tail recursion in
wf is eliminated. wf is inlined into g. scalarrepl turns the
2003 Apr 18
1
Help with nlme--freq weights, logit model, and more
Below you will find the output from a failed multi-level model run. I am
trying to estimate the following model:
Pr(PLFP=1)= logistic regression ->
B1_j * bm + B2_j * wm + B3_j bf + B4_j wf + B5 yrsed+ B6 age+ B7 age^2+e_ij
B1_j = G01 + G11 bmxd + d1
B2_j = G02 + G12 wmxd + d2
B3_j = G03 + G13 bfxd + d3
B4_j = G04 + G14 wfxd + d4
d1-d4 freely correlated
Note that there is no
2010 Nov 05
0
[LLVMdev] Hoisting elements of array argument into registers
Duncan Sands <baldrick <at> free.fr> writes:
>
> > I see the same with clang. I'm not sure why the optimizers do so much better
> > when they can see that sp is a local array (the special initial values don't
> > matter).
>
> It is the scalar replacement of aggregates pass that puts everything into
> registers when sp is a local array.
Yes, I
2010 Nov 06
2
[LLVMdev] Hoisting elements of array argument into registers
I am seeing the wf loop get optimized just fine with llvm 2.8 (and almost as good with head). I'm running on Mac OS X 10.6. I have an apple supplied llvm-gcc and a self compiled llvm 2.8. When I run
$ llvm-gcc -emit-llvm -S M.c
$ opt -O2 M.s | llvm-dis
I see that:
1. Tail recursion has been eliminated from wf
2. The accesses to sp have been promoted to registers
3. The loop has
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
2012 May 09
1
How to apply functions across columns?
Hello,
me again.
I have a data frame that looks like this (actual dput output at bottom):
> head(tencor)
date lot wf.id s1 s2 s3 s4 s5
1 08.05.2012 W0X3H0 9 1238 1263 1244 1200 1183
2 08.05.2012 W0X3H0 10 1367 1396 1371 1325 1311
3 08.05.2012 W0X3H0 11 1383 1417 1393 1346 1328
I'd like to add a column to this that gives, for each row, the
averages of the
2007 Mar 09
5
storing customer CC on gateway
I posted this late yesterday afternoon to no response, so I figured I''d
try once more to get the morning people''s attention.
I''m working on setting up the credit card processing part of a rails app
for my company and running into some issues. I''m currently working
with the ActiveMerchant plugin and connecting to our account at
Authorize.net.
2005 Jun 26
1
Components of variance
Could someone identify a function that I might use to perform a
components of variance analysis? In addition to the variance
attributable to each factor, I would also like to obtain the SE of the
variances.
Thank you,
John
John Sorkin M.D., Ph.D.
Chief, Biostatistics and Informatics
Baltimore VA Medical Center GRECC and
University of Maryland School of Medicine Claude Pepper OAIC
University of
2010 Nov 05
0
[LLVMdev] Hoisting elements of array argument into registers
Hi Max,
> The Glasgow Haskell Compiler LLVM backend is generating a lot of code which
> appears to be optimised by LLVM quite poorly. The problem is demonstrated by
> this C source code:
if I run this at -O3 under llvm-gcc from top-of-tree on x86-64 linux then
(1) it computes that g(5) is equal to 95, and main is transformed to just print
95.
(2) g is transformed into code with no
2002 Oct 24
1
rsync error: partial transfer (code 23) at main.c(578)
Hi,
I am using a freebsd 4.5-stable system. I am using the latest "rsync
version 2.5.5 protocol version 26".
I tried to rsync my home directory to another machine:
rsync -Cavz /homes/yxw/ baggie.mit.edu:/disk1/ &> rsync.out&
However, I ran into the error:
www/wf-02.jpg
www/wf-03.jpg
www/www.c
www/www.tar
www/xiaowei.doc
www/xiaowei_dadmom.jpg
www/yxw-contact.txt
wrote
2016 Mar 01
2
Dsync induces redundant mail after rapid append/expunge repeatedly
?I meet the problem about dsync with ?expunge. The problems is expunged
mail would reappear after dsyncing and it is easily to reproduce.
?Environment Settings:
- Two servers(serverA, serverB) both enabled plugin "*replication"*
- And more detail get by "dovecot -n" show below
?Reproduce flow:
?- ?Run two processes pA and pB both would run in while loop
?- pA?(All behavior is
2003 Nov 18
1
data.frame subset?
Can someone tell me why this is since I can't seem to find an explination in
the docs or FAQ for this.
Since there are no "BM" in the mtrs data.frame, but only in the "parent"
data.frame (trees), I'm assuming the subset data.frame is still associated
with the original. Is that correct and how would I create a completly
separate data.frame since I'll be using by,
2012 Oct 16
1
Problems with xlsx and rjava
Hi,
I keep getting the below error regarding rJava which is required by package xlsx (I have used it in the past to directly import data from Excel 2010).
I was on R version 2.15.0 when I was getting this error this morning. So I upgraded to 2.15.1 but still the same problem. I tried unstalling and reinstalling xlsx and even rJava directly from the source as indicated here:
2020 Oct 08
2
RStudio question
I'm solving the following problem: Create a variable (column) in the ?wf?
dataframe named ?Zone? that takes value of ?tropic? if Latitude is less
than or equal to 30, or ?non-tropic? for Latitude greater than 30. Show you
Zone variable. Latitude is a column of my dataframe. I don't know the
sintaxis and the process to create the column.
[[alternative HTML version deleted]]
2010 Jul 30
2
(no subject)
hello,
i am new to R and trying to calculate the beta coefficient for standard linear regression for a series of randomly generated numbers. I have created this loop, but it runs really slow, is there a way to improve it?
#number of simulations
n.k<-999
#create the matrix for regression coefficients generated from #random data
beta<-matrix(0,1,n.k+1)
e<-matrix(0,tslength,n.k+1)
for(k