Displaying 20 results from an estimated 10000 matches similar to: "Programmatically Retrieve Current Stable Version"
2008 Jan 15
1
Retrieve results from chisq.test programmatically
Hello,
I would like to run a series of chisq.test() and store results (x-square,
df, p-value) in a matrix for further analysis, but don't know how to do
such. Currently I run the command line for each set of data at a time and
it is time consuming.
Thank you for your help.
--My Coyne
[[alternative HTML version deleted]]
2010 Jun 02
5
Programmatically counting RSpec tests?
If I have an object `obj` that is a SpecTask, and subsequently invoke
it, is there a way to programmatically determine the number of tests
that were successful, failed, and pending as a result of running that
SpecTask?
--
John Feminella
Principal Consultant, Distilled Brilliance
2016 Jan 29
3
Asterisk 13.6.0: Is there a way to create PJSIP users and dialplans programmatically using API
Hi,
I am using Asterisk 13.6.0 and was wondering if I can programmatically add
users (to pjsip.conf) and dialplan (to extensions.conf) to the Asterisk
server using API of some sort.
Please do let me know.
Thanks,
Sonny.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Apr 03
3
How do I programmatically send a 404 error
I want to programmatically under certain conditions return a 404 (page
not found) error to the browser. How can I do this from my controller?
I''m assuming I need to set a header on the reponse obect. However I
can''t figure out what the header name is.
thanks, scott.
--
Posted via http://www.ruby-forum.com/.
2019 Jan 21
2
How to set command line option programmatically?
Hello,
i want to use the Scalarizer pass.
(http://llvm.org/doxygen/Scalarizer_8cpp_source.html). This pass exposes
the "scalarize-load-store"(default false) option on the command line.
For my use-case i want to always enable this option. How can i enable
this option programmatically?
Thank you
2013 Jan 30
2
Programmatically give file name to a matrix
I have a situation when I need to save matrix with file names that are
programmatically created.
for (i in levels(mergeTrn$Continent)) {
matrix here....
# I want to save this matrix with a file name that carries "i" from for
loop. The following does not work.
paste("plotroc_GBM_Trn_", i, sep="") <- matrix
}
Thanks,
Kumar
--
Section of Integrative
2018 Jan 06
3
How to programmatically save a web-page using R (mimicking Command+S)
Hi,
I would appreciate if someone can give me a pointer on how to save a
webpage programmatically using R.
For example, let say I have this webpage open in my browser:
http://www.bseindia.com/stock-share-price/dabur-india-ltd/dabur/500096/
When manually I save this page, I just press Command+S (using Mac) and
then this page get saved in hard-disk
Now I want R to mimic this same job that I do
2012 Jan 05
1
[ncdf] programmatically copying a netCDF file
How to programmatically (i.e., without no or minimal handcoding) copy
a netCDF file? (Without calling
> system("cp whatever wherever")
:-) Why I ask:
I need to "do surgery" on a large netCDF file (technically an I/O API
file which uses netCDF). My group believes a data-assimilation error
caused a data variable to be corrupted in a certain way, so I'm going
to
2013 Feb 04
2
Modifying a function programmatically
Dear list
# I have a function
ff <- function(a,b=2,c=4){a+b+c}
# which I programmatically want to modify to a more specialized function in which a is replaced by 1
ff1 <- function(b=2,c=4){1+b+c}
# I do as follows:
vals <- list(a=1)
(expr1 <- as.expression(body(ff)))
expression({
a + b + c
})
(expr2 <- do.call("substitute", list(expr1[[1]], vals)))
{
1 +
2013 Aug 19
4
[LLVMdev] Generating GetElementPtr inlined in a function argument list programmatically
Hello LLVMDev List,
It's my first time sending a message to the List - I have been working on a tool for my research project using LLVM. Thanks for your awesome work!
I have come across some bytecode like the following with an GetElementPtr instruction in brackets:
Bytecode:%3 = call i32 @_Z4funcPKc(i8* getelementptr inbounds ([5 x i8]* @.str2, i32 0, i32 0))
C++ code:func("bleh");
2006 Jul 20
2
programmatical retrieval of windows event logs from linux
Am a Linux guy and trying to support security monitoring for Windows devices. Am trying to find a programmatic way of pulling security and application logs
from Windows machine. OR it can be a push model where windows can generate
events/traps. It should all be built-in in windows with no external tool installation.
Looks like there is no NATIVE built in asynchronous event
2008 Dec 16
1
Programmatically minimising main R window (on windows)
Hi all,
Is it possible to programmatically minimise the main window of the
windows R gui? I'm designing a small gui with gwidgets & RGtk2 for an
non-statistician to use, and it would be nice if I could easily hide
all the R stuff that they don't need.
Thanks,
Hadley
--
http://had.co.nz/
2007 Oct 08
1
How to get database adapter type programmatically in rails?
Hi,all
I am developing a Rails application supporting both Mysql and Oracle.
I have to use Native SQL statements some place. While we know the SQL
grammar is quite different for Mysql and Oracle, so I have to get
database adapter type programmatically in my codes to process
different native SQL statements. I haven''t found any document for this
situation. After some research, I have found
2018 Jan 06
0
How to programmatically save a web-page using R (mimicking Command+S)
The 'webshot' package (on CRAN) can do this.
Henrik
On Jan 6, 2018 05:27, "Christofer Bogaso" <bogaso.christofer at gmail.com>
wrote:
> Hi,
>
> I would appreciate if someone can give me a pointer on how to save a
> webpage programmatically using R.
>
> For example, let say I have this webpage open in my browser:
>
>
2008 Oct 18
4
Problems when programmatically defining examples
Hi,
I am trying to code an application that is based on Rspec; I am
programmatically building examples, and launching the runner with a custom
formatter. Here are the code snippets from my app:
Launching the runner:
example_groups =
test_expectation.example_groups_for(system_state)
@output = StringIO.new
options =
2025 Mar 30
1
[External] Creating model formulas programmatically
my take of the assignment was to avoid 'parse' specifically.
we start with a character vector, so avoiding characters is not possible. i was dealing with the fortune "if parse is the answer, you have the wrong question"
Sent from my iPhone
On Mar 29, 2025, at 15:39, Bert Gunter <bgunter.4567 at gmail.com> wrote:
?
Thanks, Rich.
I thought of that, too, but it violates
2025 Mar 30
1
[External] Creating model formulas programmatically
Hello,
I thought of answering "reformulate can solve the problem" but how do
you create quadratic terms with reformulate?
~(Heigh + Ho + Silver + Away)^2
is still a problem with no solution that I know of but paste/as.formula.
Or Bert's bquote or substitute.
Rui Barradas
?s 23:18 de 29/03/2025, Ebert,Timothy Aaron escreveu:
> The general formula is y ~ a + b + c + ...
>
2025 Mar 29
2
[External] Creating model formulas programmatically
Thanks, Rich.
I thought of that, too, but it violates the spirit of my restraints (to
avoid character strings), which I unfortunately did not clearly articulate.
So my apologies for that failure. My concern is that with more complex
model formula, using as.formula, etc. to parse/convert character strings
can get a bit hairy. But in most cases, as here maybe, it may be perfectly
fine. So think of
2025 Mar 29
1
[External] Creating model formulas programmatically
The general formula is y ~ a + b + c + ...
There is this approach:
formula <- reformulate(independent_vars, response = "y")
model <- lm(formula, data = mydata)
summary(model)
It does not generate a string object, but the formula is still a string even if it is of class formula. Also, in this approach you only get + and if you want interactions or such you will need to code them
2008 Oct 14
2
best-practice for programmatically using rxml generated from controller/view? (or 'how can I view a view from a model')
Hey Guys,
Here''s the scenario:
I''ve got vendor-specific XML I need to create and then POST it
somewhere. It sounds easy enough, but I''m running into issues when it
comes time to actually use the XML.
Trying hard to stay within the MVC pattern I:
1) Create a controller which loads the models I''m about to turn into
XML
2) Create an rxml view which renders the