Displaying 20 results from an estimated 7000 matches similar to: "RStudio question"
2007 Feb 19
1
need help in reading TOMS observed ASCII data file
Hello R Users,
I am new to R.
I have two data sets i) TOMS aerosol optical depth(AOD) and ii) TOMS
ozone(O3).
>
> AOD data is on 1x1 grid and O3 data is on 5x5 grid.
>
> First I want to read AOD and O3 as it is and then I want to regrid AOD on
> 5x5 grid as O3.
>
> Reading is first problem.
>
> FIRST PROBLEM READING AOD:
>
> AOD data is in following format:
>
2012 Sep 02
1
why variations in accuracy between R to ARCGIS for the same point reprojection?
Hi everyone,
I wonder if anyone knows the reason why the outputs of the same
reprojection in r and arcgis are different?. The magnitude of the
change can be up to 40 km in the poles.
Basically, I have a database of points equally separated by one degree
over the globe.
In ARCGIS, I am projecting the data in GCS-WGS-1984 and then
reprojected it to Berhmann to ensure equal area
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 <-
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;
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
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 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
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
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
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
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
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
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,
2019 Feb 07
3
Paquete de R que use la sintaxis de SQL
Buenas a todos,
Tengo que adaptar un proyecto que esta en lenguaje de SQL Server a RStudio.
En el transcurso de este procedimiento tengo que realizar algunas consultas
bastante complejas seleccionando campos de varias tablas y utilizar algunas
clausulas como EXCEPT o UNION ALL. También debo actualizar varios campos de
tablas usando la sentencia UPDATE y eliminar tablas bien con usando DROP
TABLE o
2010 Nov 07
0
[LLVMdev] Hoisting elements of array argument into registers
David Peixotto <dmp <at> rice.edu> writes:
> I am seeing the wf loop get optimized just fine with llvm 2.8 (and almost
as good with head).
I rechecked this and am I actually seeing the same results as you. I think I
must have made a stupid mistake in my tests before - sorry for the noise.
However, I found that we have a phase ordering problem which is preventing us
getting as much
2013 Sep 15
1
b
En la ayuda ?wilcox.test hay varios ejemplos. En tu caso, creo, lo
siguiente deberia funcionar:
wilcox.test(IMC - a_HTA, data = tusdatos, alternative = "two.sided")
Saludos,
Jorge.-
2013/9/16 Dr. José A. Betancourt B. <jbetancourt@iscmc.cmw.sld.cu>
>
>
> deseamos r
>
> ealizar es una prueba no paramétrica para demostrar que el IMC
> encontrado difiere
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:
2013 Sep 15
4
b
Lo que deseamos realizar es una prueba no paramétrica para demostrar que el
IMC encontrado difiere significtivamente entre aquellos que tienen a_HTA
(entecedentas HTA) y los que no lo tienen ( en SPSS de forma fácil utilizo
varios métodos ¿Cuál es la sintaxis para hacerlo posible en R?
a_HTA
IMC
si
26
si
25
si
26
si
21
si
25
si
23
si
28
si
24
si
27
si
22
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