Displaying 20 results from an estimated 6000 matches similar to: "dump.frames and global environment"
2011 Nov 24
1
content of global environment with dump.frames()
Dear R users,
I am using dump.frames() to investigate the content of the different environments in cases of errors or during certain steps of a non interactive calculation. I am, however, wondering about how to see the content of the global environment at the moment that dump.fames() was invoked. Her is some test piece (careful about the rm(list=ls(), remove the # if you know what you are doing
2011 Sep 28
3
dump.frames, debugger and the "..." argument
Dear List,
i run R non interactively and use option(error = dump.frames) to reconstruct the cause of errors for debugging. One of the functions in the call stack however uses the "..." (dot dot dot) argument. When I run debugger() and try to browse to this functions' environment I get the following error message:
Error in get(.obj, envir = dump[[.selection]]) :
argument
2012 Jul 24
5
First value in a row
Hi.
This is likely a trivial problem but have not found a solution.
Imagine the following dataframe:
Lat Lon x1 x2 x3
01 10 NA NA .1
01 11 NA .2 .3
01 12 .4 .5 .6
I want to generate another column that consist of the first value in
each row from columns x1 to x3. That is
NewColumn
.1
.2
.4
Any input greatly appreciated,
Thanks,
Camilo
Camilo Mora, Ph.D.
2012 Jul 21
2
car::Anova - Can it be used for ANCOVA with repeated-measures factors.
Dear list,
I would like to run an ANCOVA using car::Anova with repeated measures factors, but I can't figure out how to do it. My (between-subjects) covariate always interacts with my within-subject factors.
As far as I understand ANCOVA, covariates usually do not interact with the effects of interest but are simply additive (or am I wrong here?).
More specifically, I can add a covariate as
2014 Apr 29
1
access environment in which an error occurred
Dear R developers,
i have already send the question below to r-help but got no responses.
Perhaps it is more suitable for r-devel due to its rather technical
level. It would really help me to find a solution (or to find out that
there is none).
Is there any way to access/print/save the content of an environment in
which an error occoured?
Imagine the following testcase:
test =
2012 Jul 22
4
pvalue calculate
I have a value
a=300
observation (x) = sample(1:50)
How to find a p-value from this. I need to show that "a" is different fom
mean(x).
Thanks
--
-------------
Mary Kindall
Yorktown Heights, NY
USA
[[alternative HTML version deleted]]
2012 Aug 15
2
ANOVA repeated measures and post-hoc
Hi,
I performed an ANOVA repeated measures but I still can't find any good news regarding the possibility to perform multiple comparisons.
Can anyone help me?
Thanks
Diego Bucci
Fisiologia Veterinaria
Dipartimento di Scienze Mediche Veterinarie
Università degli Studi di Bologna
Via Tolara di Sopra, 50
40064 Ozzano dell'Emilia, BO
Tel. 00390512097904
mail diego.bucci3@unibo.it
2012 Jul 22
2
R Beginner : Loop and adding row to dataframe
Hi everybody,
I am currently quite inexperienced with R.
I try to create a function that simply take a value in a dataframe, look for
this value in another dataframe and copy all the row that have this value
This example is a simplified version of what I am doing but it's enough to
help me
listA
Name NACE
a 1
b 2
c 3
ListB
NACE aaa bbb ccc
1 a a c
1 a a c
1 a a c
2 a a c
2 a a c
3 a a c
4 a
2012 Jul 27
2
How can I access an element of a string?
Dear Daniel and Jorge,
Thank you very much and it does help.
If I have a string "ABCD", how can I access the second element of the
string "B"? Thanks,
Miao
2012/7/27 Daniel Nordlund <djnordlund@frontier.com>
> > -----Original Message-----
> > From: r-help-bounces@r-project.org [mailto:r-help-bounces@r-project.org]
> > On Behalf Of jpm miao
2013 Jun 26
2
Error on executing functions from installed package
Hi,
I am currently building an R package and I am facing a peculiar problem
where some of the functions does not work within the package. However, if I
source the script the function works.
For example, in a method for parallelization of analysis on each chromosome
simultaneously I am receiving error at the following position of the code:
# this profile the information chromosome wise and
2012 Jul 24
9
Regular Expression
Hi--
I have three columns in an input file:
MONTH QUARTER YEAR
2012-07 2012-3 2012
2001-07 2001-3 2001
2002-01 2002-1 2002
I want to make output like so:
MONTH QUARTER YEAR
07 3 2012
07 3 2001
01 1 2002
I was having some trouble getting the regular expression to work. I think
it should
2004 May 25
1
[LLVMdev] ATTENTION: SymbolTable Change!!
LLVMers,
On the way to resolving bug 122, I am committing my SymbolTable rewrite.
If you are working on anything that uses the SymbolTable, I suggest you
read the documentation in include/llvm/SymbolTable.h.
The changes I've committed reduce the use of Type::TypeTy. This static
member will go away in the future, so please do not propagate new code
that uses it. There is no reason to use it
2011 Apr 28
1
Best Practices for submitting packages to CRAN
Dear all,
I (and a colleague) have been working on our first package (for fitting a
certain type of cognitive models:
http://www.psychologie.uni-freiburg.de/Members/singmann/R/mptinr) for quite
a while now and have the feeling, that it is "good to go". That is, we want
to submit it to CRAN. However, I still have two questions before doing so
and would appreciate any comments.
1. How
2011 Jul 29
5
coordinates from locator function in POSIXct format
Dear R-list,
I have a plot with y-axis corresponding to wind measurments
and x-axis with date-time information.
When I want to identify some extrem wind events in the
wind-curve, I use locator() to get the exact
date-information, by clicking in the points in graph I?m
interested in.
I get in the R console the x and y coordinates.
The x coordinates are not in a POSIXct format, I guess R is
2011 Nov 28
1
Running Shell Script with R
I'm having some trouble getting my shell script to work. I've checked out the
Intro to R Manual and a host of other websites, but I still can't get the
script to work when I submit the job to the cluster.
Here is my main R code:
##Load Libraries
##...
## Load Time Data
Args <- commandArgs(trailingOnly = TRUE);
print(Args);
timeDat <- read.flowSet(files=NULL, path=Args[1]);
2016 Mar 24
2
[test-suite] r261857 - [cmake] Add support for arbitrary metrics
Let's move this to llvm-dev. I should describe my goals/motivation for the work I have been putting into the llvm-testsuite lately. This is how I see the llvm-test-suite today:
- We provide a familiar cmake build system so people have a known environment to tweak compilation flags.
- Together with the benchmark executable we build a .test file that describes how to invoke the benchmark and
2016 Mar 24
1
[test-suite] r261857 - [cmake] Add support for arbitrary metrics
Okay, I was intrigued, tried it and it turns out you can add make a patch for basic google benchmark support in 40 minutes:
http://reviews.llvm.org/D18428 <http://reviews.llvm.org/D18428>
So there is a base now if someone wants to write benchmarks for it in the future.
- Matthias
> On Mar 23, 2016, at 6:00 PM, Mehdi Amini via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
2016 Mar 24
0
[test-suite] r261857 - [cmake] Add support for arbitrary metrics
> On Mar 23, 2016, at 5:54 PM, Matthias Braun via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Let's move this to llvm-dev. I should describe my goals/motivation for the work I have been putting into the llvm-testsuite lately. This is how I see the llvm-test-suite today:
>
> - We provide a familiar cmake build system so people have a known environment to tweak
2004 Jun 21
4
[LLVMdev] llvm test results for FreeBSD platform
Is it ok sending this results for FreeBSD5.1 at daily/weekly based to this
mail list?
Now results.
Big improvement in llvm tests results from last test result sended.
New regressions:
Regression.Assembler.ConstantExprFold : FAIL , expected PASS
Regression.CodeGen.Generic.2004-04-09-SameValueCoalescing: FAIL ,
expected PASS
Regression.Transforms.PRE.basictest : FAIL
2011 Mar 30
1
wrong calculation of R-squared in summary.lm
Dear all,
I just stumbled upon the fact, that when I perform a regression on
multivariate responses, that are not centred, I get a ricilulously high
R-squared value. After reading the code of summary.lm, I found a bug in
the function summary.lm:
mss is calculated by:
mss <-sum((f - mean(f))^2) - where f are the fitted values.
This works only for a single response variable, because