Displaying 20 results from an estimated 2000 matches similar to: "iterative extracting data from a list without keys"
2016 Apr 28
2
paths for install and libraries?
I've written a fairly elaborate package (called "eoa") that relies on
functions from several other packages. I've built the package into a zip
file on Windows using Hadley's devtools::build(binary = T) and have sent
the zip to a couple dozen people for testing. My package installs fine, but
some people are having trouble loading it. After library(eoa), they get
something
2016 Apr 28
2
paths for install and libraries?
I've written a fairly elaborate package (called "eoa") that relies on
functions from several other packages. I've built the package into a zip
file on Windows using Hadley's devtools::build(binary = T) and have sent
the zip to a couple dozen people for testing. My package installs fine, but
some people are having trouble loading it. After library(eoa), they get
something
2016 Apr 29
2
tcltk: click and return table cell index
I'm struggling mightily with what should be a simple task...when a user
clicks on a cell in a tcltk table widget, I need to know which cell was
clicked.
One idea that gives a cryptic error:
tkbind(table1, "<Button-1>", function(x, y){
tcl(table1, "index", x, y)
}
# x, y give pixel coordinates; "index" should give cell coordinates, but
format must be
2011 Jan 24
2
crazy loop error.
Dear R-users,
This is a loop which is part of a bigger script. I managed to isolate the
error in this loop and simplified it to the bare minimum and made it
self-contained.
a<-c(2,3,4,5,5,5,6,6,6,7)
for(n in 1:10)
{
print(paste("n: ",n))
z1<-a[n]
#make a list container
ldata<-list()
t=1
while(z1==a[n])
{
#add dataframes to list
ldata[[t]]<-paste("hello")
n=n+1
2006 Apr 20
1
A question about nlme
Hello,
I have used nlme to fit a model, the R syntax is like
fmla0<-as.formula(paste("~",paste(colnames(ldata[,9:13]),collapse="+"),"-1"))
> fmla1<-as.formula(paste("~",paste(colnames(ldata[,14:18]),collapse="+"),"-1"))
>
2014 Jul 20
2
[LLVMdev] [PATCH] Symbol offsets
Rafael Espíndola <rafael.espindola at gmail.com> writes:
> Now that aliases can have any expressions, can't you use something like
>
> @data = private global [2 x i32] [i32 42, i32 43]
> @symbol = alias getelementptr ([2 x i32]* @data, i32 0, i32 1)
>
> This produces
>
> .Ldata:
> .long 42 # 0x2a
> .long 43
2015 Nov 06
4
Puzzled by eval
I am currently puzzled by a seach path behavior. I have a library of a dozen routines
getlabs(), getssn(), getecg(), ... that interface to local repositories and pull back
patient information. All have a the first 6 arguments in common, and immediately call a
second routine to do initial processing of these 6. The functions "joe" and "fred" below
capture the relevant
2006 Mar 10
2
RoR Deployment on Shared Hosting
Hey all -
Well, I''ve gone through all of the tutorials I can get my hands on, and
I''ve developed what is basically a (very) simple front-end to a database
that I maintain online.
My big problem now is deployment. Almost everything that I''ve found on
the web regarding deployment (and this includes the instructions for
Switchtower/Ccapistrano) assumes that I have
2015 Nov 06
0
Puzzled by eval
On 06/11/2015 7:36 AM, Therneau, Terry M., Ph.D. wrote:
> I am currently puzzled by a seach path behavior. I have a library of a dozen routines
> getlabs(), getssn(), getecg(), ... that interface to local repositories and pull back
> patient information. All have a the first 6 arguments in common, and immediately call a
> second routine to do initial processing of these 6. The
2009 Apr 05
4
predicting values into the future
Hi:
I have usually used the GROWTH() excel function to do this but now want to see if I can do this with R.
I want to predict values into the future, possibly with the predict.arima Function.
I have the following weekly fish weight averages:
weight <- c("2.1","2.4","2.8","3.6","4.1","5.2","6.3")
week <-
2014 May 27
6
[LLVMdev] [PATCH] Symbol offsets
Somehow this cover letter was dropped from my symbol offsets patch set:
1. http://lists.cs.uiuc.edu/pipermail/llvmdev/2014-May/073200.html
2. http://lists.cs.uiuc.edu/pipermail/llvmdev/2014-May/073201.html
Original message
-----------------
About a year ago a proposal suggesting symbol offsets was brought to
this list[1]. This proposal goes hand-in-hand with the prefix data
proposal[2]
2016 Jan 14
0
[PATCH] nv50/ir: only use FILE_LOCAL_MEMORY for temp arrays that use indirection
Previously we were treating any indirect temp array usage to mean that
everything should end up in lmem. The MemoryOpt pass would clean a lot
of that up later, but in the meanwhile we would lose a lot of
opportunity for optimization.
This helps a lot of Metro 2033 Redux and a handful of KSP shaders:
total instructions in shared programs : 6288373 -> 6261517 (-0.43%)
total gprs used in shared
2006 Sep 12
4
variables in object names
Is there any way to put an argument into an object name. For example,
say I have 5 objects, model1, model2, model3, model4 and model5.
I would like to make a vector of the r.squares from each model by code
such as this:
rsq <- summary(model1)$r.squared
for(i in 2:5){
rsq <- c(rsq, summary(model%i%)$r.squared)
}
So I assign the first value to rsq then cycle through models 2 through
2011 Jul 12
1
installation of package 'mapproj' had non-zero exit status
## Hello.. I have asked a similar question, but this is not fixed as before.
## I am running the following using Ubuntu OS:
R version 2.13.1 (2011-07-08)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-pc-linux-gnu (64-bit)
## when I do this:
> install.packages("mapproj", dependencies=T)
## I get this:
Installing package(s)
2014 Jul 23
2
[LLVMdev] [PATCH] Symbol offsets
Rafael Espíndola <rafael.espindola at gmail.com> writes:
> On 20 July 2014 18:18, Ben Gamari <bgamari.foss at gmail.com> wrote:
>> Rafael Espíndola <rafael.espindola at gmail.com> writes:
>>
>>> Now that aliases can have any expressions, can't you use something like
>>>
>>> @data = private global [2 x i32] [i32 42, i32 43]
2009 Apr 07
0
survival time ties and memory issue with aalen{timereg}.
Dear R-helpers:
I am trying to use aalen{timereg} to run a model and found that it generates
the following message.
the data set I used is
> dim(indf)
[1] 13743 10
#R code:
fit_aalen <- aalen(Surv(durdxdeathp, die) ~ 1+factor(gender), indf)
#start of error message below
Non unique survival times: break ties !
Break ties yourself
Error in aalenBase(times, ldata, X, status, id, clusters,
2016 Apr 29
0
[Rd] paths for install and libraries?
>>>>> Dalthorp, Daniel <ddalthorp at usgs.gov>
>>>>> on Thu, 28 Apr 2016 16:41:28 -0700 writes:
> I've written a fairly elaborate package (called "eoa")
> that relies on functions from several other packages. I've
> built the package into a zip file on Windows using
> Hadley's devtools::build(binary = T) and
2014 Jul 03
1
Rtools -- compiling C dll for 64-bit
I've seen that many people have had trouble using Rtools for a 64-bit
compile of C functions. For some, a quick change in path statement seems to
corrects the problem; for others, apparently not. For me? I've been working
at path statements and install/uninstall/reinstall of all sorts of things
for four hours now with no success. The 32-bit dll loads fine, but I need a
64-bit version.
Is
2003 Dec 02
1
Is there a way to use CGIwithR in Windows?
Dear R-Help,
Does anyone know of a way to use CGIwithR in Windows? David Firth the
author of CGIwithR states "It ought to be possible to adapt it for use also
in conjunction with web servers running under Windows NT ... but the author
has no plans for that." I have developed some applications in R that I would
like to make available through a web interface using CGIwithR but at this
2008 Jun 24
1
Error message: Bad value
Dear R help,
In the middle of my session, I started receiving the error
message "bad value"
regardless of what I entered. I had to close R and restart
it. When the error
occurred, I was creating basic lattice plots, with no other
add-on packages running.
I am running R through John Fox's XEmacs interface, XEmacs
version
21.4.20 on a Windows XP Pro machine with 2 GB of RAM. I
have