Displaying 20 results from an estimated 3000 matches similar to: "[patch] bios command length"
2007 Nov 08
4
vectorize a list
Dear R user
Suppose I have the following list:
> f <- rnorm(2)
> s <- rnorm(3)
> l <- list(f,s)
> l
[[1]]
[1] 0.31784399 0.08575421
[[2]]
[1] -0.6191679 0.7615479 -1.0087659
Can I stack the entries of this list in 1 vector with the first list
entry followed by the second? The reference manual says that I can use
the command /stack/, which can take as arguments
2005 Oct 03
3
Save output
Dear R-Mastermind
Within a while or a for-loop, is there a way that I can save to disk the
results of the previous calculations at the end of each loop with filenames
called "file01.Rdata", "file02.Rdata" etc?
So far, I have tried to write the outcome of each loop in a 3 dimensional
array and saved it just once after the loop. Or is there another way so that
I can keep
2006 Mar 03
7
Best Practices question regarding views & controllers
Hi List!
I''m reading the Agile book, as many online articles as I can, but
there''s still some things that are just too hard to answer for yourself.
In building my application, I often find myself putting code into my
views of which I am not quite certain it belongs there.
Where do you usually draw the line? Is it okay to, say, loop through an
array of hashes that represents
2010 Jan 11
1
apply a function down each column
Hello World,
I have a function that makes pairwise comparisons between two strings. I would like to apply this function to my data (which consists of columns with different strings) in the way that it compares the first with the second entry, and then the third with the fourth, and then the fifth with the sixth, and so on down each column...
So (2x-1) and (2x) would be the different entries to be
2012 Mar 25
2
string substitution for argument in function
hello,
I want to iterate through a list of names and use each element as an
argument in a function. For instance:
> a = c('one','two','three')
> data= c()
> for(elem in a){data=cbind(elem = 2,data)}
> data
elem elem elem
[1,] 2 2 2
instead I want 'elem' to be substituted by the string in the list. Doing
it by hand would be:
> data =
2007 Sep 30
1
[Patch] reenable fifos if we get an error while fifos disabled
Hello,
while playing around with multiple fifo contexts I got fifo hangs when opening glxgears nr.3.
The reason is that in drm/linux_core/nouveau_fifo.c l.342 engine->graph.create_context() returns
-ENOMEM (I dont know why but I think this problems also appears with other errors).
But the real problem is that then nouveau_fifo alloc() returns without reenabling fifo execution,
so all fifos
2004 Oct 07
1
Virus en hosts of WIFI zone causes DoS in my Shorewall box
Hi Tom,
This is my first post on this list. First, I''m a Shorewall user since
1.4.6 version, and I''am a very satisfied with the results in my own
business: WISP using this excelent GNU firewall in all of my servers
(about a dozen). Tom, sincerely: THANK YOU for your creation.
Shorewall really works fine. Otherwise Iptables had been vudu for me.
Well, in the past weeks I have
2006 Mar 03
17
RCSS problems
Hi List!
Following http://rcss.rubyforge.org/files/README.html, I''m trying to get
RCSS to work with Rails. The rcss command itself works fine, but when
trying to access http://localhost:3000/rcss/test.css I always get
"Unknown action - No action responded to test.css", which I don''t
understand since the route and controller are in place.
Anyway, hopefully this is
2010 Jan 09
3
string functions
Hi!
Does anybody know a string function that would calculate how many
characters two strings share? I.e. ("Hello World","Hello Peter") would
be 7.
Thanks.
Laetitia
2003 Jan 22
1
something wrong when using pspline in clogit?
Dear R users:
I am not entirely convinced that clogit gives me the correct result when I
use pspline() and maybe you could help correct me here.
When I add a constant to my covariate I expect only the intercept to change,
but not the coefficients. This is true (in clogit) when I assume a linear in
the logit model, but the same does not happen when I use pspline().
If I did something similar
2005 Sep 22
2
R: extracting elements in a matrix
Dear R-users
For a given matrix of dimension, say (n,p), I'd like to extract for every
column those elements that are bigger than twice the interquartile range of
the corresponding column.
Can I get these elements without using a loop?
Thank you for your help
Frank
[[alternative HTML version deleted]]
2006 Aug 22
3
How to interrupt running computation?
If I start a computation in R, how can I interrupt it?
I' using R 2.1.0.
Thanks for your help,
Lothar
2007 Apr 16
2
MultiLingual option for site with Rails
Hi,
I was wondering if there is a plugin or a code snippet, that would
translate the static content [possibly dynamic too] on the website for
the visitors coming from different geographical regions of the world.
In one of my earlier projects, I used the plugin on Joomla [CMS] that
auto translates the content.
Here is the site, the plugin is at the left bottom.
http://www.elixirco.com/
Any
2006 May 02
10
[OT]: Asking questions on this list
Hi List,
it appears that for the third or fourth time now, I''ve asked a
question that nobody seems to respond to. Other questions (often
things that could quite easily have been extracted by searching
with Google or from api.rubyonrails.org) are answered almost
momentarily.
I''ve to admit I''m more than a little frustrated by this, so have
to ask myself if it was my own
2001 Jun 11
0
mult.fig() utility [was "margin text mtext"]
Martin,
I have an objection in principle to anything that has the side-effect of
clobbering something in the global environment, even something as innocuous
looking as "old.par". I certainly object to putting something like that
into a public library, however clever and useful the code might be. It just
is not safe.
As a quick way round this I suggest the following (R only) solution:
2015 Apr 29
0
Formula evaluation, environments and attached packages
Hi Milan,
I expect I may be able to do something about the way the terms are
evaluated, to ensure the evaluation is done in the gnm namespace (while
still ensuring the variables can be found!).
In the meantime, I think the following will work:
Mult <- gnm::Mult
f <- Freq ~ Eye + Hair + Mult(Eye, Hair)
gnm::gnm(f, family=poisson, data=dat)
Hope that helps,
Heather
On Wed, Apr 29, 2015,
2011 Jun 13
0
How to formulate an (effect-modifying) interaction with matching variable in a conditional logistic regression?
Hi,
I would like to see if a matching variable is an effect-modifier in a
conditional logistic regression. Naturally, the matching variable
can't enter directly in the model but as an interaction with terms
that are in.
However, I have problems in formulating the correct model the term
that's already in the model is a factor. I am using treatment
contrasts and the problem is that if I
2010 Jan 26
2
tapply and more than one function, with different arguments
Dear R-users,
I am working with R version 2.10.1.
Say I have is a simple function like this:
> my.fun <- function(x, mult) mult*sum(x)
Now, I want to apply this function along with some other (say 'max') to a simple data.frame, like:
> dat <- data.frame(x = 1:4, grp = c("a","a","b","b"))
Ideally, the result would look something like
2016 Apr 02
0
BCa Bootstrap confidence intervals
Dear R-Experts,
Thanks to Prof. Bonnett, I have got an R script working to calculate confidence intervals around the semipartial correlation coefficients.
Now, I would like to calculate BCa bootstrap CIs using the boot library and the boot.ci(results, type="all") function. How could I modify my R script (here below reproducible example) to get the BCa bootstrap CIs ?
CIsemipartcorr
2013 Mar 25
0
[LLVMdev] [PATCH] RegScavenger::scavengeRegister
On Mar 25, 2013, at 2:51 PM, Akira Hatanaka <ahatanak at gmail.com> wrote:
> Yes, it sounds like it will solve the problem.
>
> Using the following example where live ranges of accumulators $vreg_acc0 and $vreg_acc1 conflict,
>
> MULT $vreg_acc0, $vreg_gpr0, $vreg_gpr1
> MULT $vreg_acc1, $vreg_gpr2, $vreg_gpr3
>
> (consumer of $vreg_acc1)
> (consumer of