search for: programaticly

Displaying 20 results from an estimated 171 matches for "programaticly".

2010 Sep 11
1
'programatically' list or call objects for use in a function?
Esteemed R users and developers, How does one 'programatically' list or call objects for use in a function? For example, i thought i could do something better than this: save(A.cwb, B.cwb, C.cwb, D.cwb, E.cwb, F.cwb, file="afile.RData") with something like these- prfxs <- c("A", "B", "C", "D", "E", "F") #**
2006 Oct 04
1
Re: Programatically checking if we''re in a domU or dom0
> Personally, I use the following command in a > startup script to check if we''re in a privileged > domain: > > grep -qsE ''^control_d$'' /proc/xen/capabilities Hi Andrew, thanks for your tip. Now I can easily determine wether I''m running on a modified kernel or not (by checking for the presence of /proc/xen). However, once I''ve found
2012 Jan 22
1
How to construct a formula
Hi, I need to construct a formula programaticly, and pass it to a function such as the linear mixed model lme. The help says it requires "a two-sided linear formula object describing the fixed-effects part of the model" but I do not know how to create this formula. I have tried various things using formula(x, ...), as.formula(obj...
2007 Mar 05
3
programatically stopping acts_as_ferret drb server
I need a way to kill the ferret_server drb process programatically, so I can start/stop it as part of the capistrano deployment process. This should be as simple as adding some sort of stop method to ActsAsFerret::Remote::Server. I was just messing around and was able to do it by modifying method_missing to look for the :stop method and then calling DRb.thread.exit -- this is not good enough for
2005 Mar 11
2
howto: plot location, web search
Hi, new to the list, R and rpy. my first post. using rpy, i find this r.X11(height=3, width=6) allows me to preset the size of a subsequent r.plot(x, y) but i've been unable to find documention on related aspects, such as programatic control of the plot window location on the monitor, or programatic resizing of a plot once it is generated. Are these possible? In general I've
2006 Oct 05
0
Re: Programatically checking if we''re in a domU or dom0
Thanks for your answers... But IMHO it''s hacky and error-prone to rely on the name of the host to determine if it''s a domU or a dom0 (or an unmodified kernel) :( I don''t like that much neither changing the name of the kernel :-/ I need to be able to determine, as a normal user (that is: non-root), if I''m running in a domU or not (I can already tell if
2005 Jul 28
1
Programatically Modifying Users
Hi all, I have been lurking here on and off for a while and have recently returned after being off-list for a few months, I've searched the MARC list archives and can't see any useful information for my situation. Basically, I have a system that calls out to the samba command line utilities pdbedit/smbpasswd etc to modify user account information. This is okay, but very slow and
2006 Aug 16
3
Reflecting on associations
Is there an easy way to programatically work out the associations on a model? If not, is there a positive reason it was omitted, or is it just something that hasn''t been implemented yet? Thanks Gareth
2001 Sep 18
3
OpenSSH linkable library
Has anyone considered making a linkable library of the OpenSSH code so that one could programatically interact with ssh? Or is there some other method to accomplish this? Thanks, -Eric
2008 Jan 07
3
Finding windows DLLs
The XML package relies on libxml2.dll (e.g., bundled with the CRAN binary) installed in library/XML/libs. Unfortunately, c:/WINDOWS/system32/libxml2.dll will be found and loaded before this. Is there any programatic solution? Thanks, Martin -- Martin Morgan Computational Biology / Fred Hutchinson Cancer Research Center 1100 Fairview Ave. N. PO Box 19024 Seattle, WA 98109 Location: Arnold
2011 Nov 01
4
building a subscript programatically
Hi, On ocasion, you need to subscript an array that has an arbitrary (ie. not known in advance) number of dimensions. How do you deal with these situations? It appears that it is not possible use a list as an index, for instance this fails: > x <- array(NA, c(2,2,2)) > x[list(TRUE,TRUE,2)] Error in x[list(TRUE, TRUE, 2)] : invalid subscript type 'list' The only way I know is
2013 Oct 16
1
Extract a predictors form constparty object (CHAID output) in R
I have a large dataset (questionnaire results) of mostly categorical variables. I have tested for dependency between the variables using chi-square test. There are an incomprehensible number of dependencies. I used the chaid() function in the CHAID package to detect interactions and separate out (what I hope to be) the underlying structure of these dependencies for each variable. What typically
2013 Mar 04
3
A problem with text manipulation
Hello again, Let say I have following vector: set.seed(1) Vec <- sample(LETTERS[1:5], 10, replace = TRUE) Vec Now with each repeated letter, I like to add suffix programatically. Therefore I want to get following vector: c("B", "B1", "C", "E", "B2", "E1", "E2", "D", "D1", "A") Can somebody
2006 Feb 11
5
[OT] How to prepend copyright notices to each source file
Sorry for the off-topic post, but I guess someone else may hit the same issue.... Having developed a rails application, I now need to put GPL text and a copyright notice at the start of each source file. For the .rb files, this will look like: # Copyright 2006 Robert Jones........... and for the .rhtml files it will look like: <!-- Copyright 2006 Robert Jones......... Can anyone think of
2006 May 05
6
RJS implementation question
Why is RJS so dependant on programatic creation of Javascript? RHTML is a great implementation in that it puts HTML first, and Ruby second. I would have thought RJS would be the same way: a .js with ERb helpers for generating Javascript functions. RJS putting Javascript second means: - I have to learn a whole new set of commands to use Scriptaculous. - Developers have to constantly chase the
2016 Mar 30
2
Accessing xenstore from libvirt
Hi, is it possible to access xenstore through libvirt? Or at least any other programatic means other than calling xenstore-read/write through shell? I understand it is somewhat of a security risk but still... Thanks, Marin
2017 Nov 13
2
SAMBA4 API
I am looking for a way to programatically modify DNS settings from outside of my SAMBA4 DCs. I am working on creating a PHP inventory page, which (in an ideal world) would hook into our SAMBA4 domain controllers, allowing us to modify DNS records in the inventory, and then have the backend of the inventory communicate with the DCs over an API and modify the DNS on the DCs. Is it possible that
2006 Mar 11
1
Chainboot to XP Embedded
Hi Folks, I've been playing around with SYSLINUX for a little bit; here's what I'm trying to do... My disk will have three partitions: [BOOT: (FAT16 w/ SYSLINUX)] [OS1] [OS2] OS1 and OS2 will both contain an XP Embedded system which is read-only and which will always boot from a hibernate file. What I'd like to be able to do if flip-flop between them at runtime (that is, run
2007 May 30
9
Specify attr_protected
This is kind of a two part question. Question One: I want to be sure that an Order model is protecting sensitive attributes from mass assignment. The example looks like this: describe Order do it "should protect total attribute from mass assignment" do @order = Order.new(:total => 0.05) @order.total.should_not == 0.05 end end And the code to implement it: class Order
2010 Oct 25
2
dataframe, transform, strsplit
Hi, I have a dataframe that has a column of vectors that I need to extract off the character string before the first '.' character and put it into a separate column. I thought I could use 'strsplit' for it within 'transform', but I can't seem to get the right invocation. Here is a sample dataframe that has what I have, what I want, and what I get. Can someone tell