similar to: Help on a Display function

Displaying 20 results from an estimated 200 matches similar to: "Help on a Display function"

2016 Apr 13
2
formula argument evaluation
I suppose it would work, although "=>" is rather a descriptive symbol and less a function. But choosing between quoting: "A + B => C" and a regular function: A + B %=>% C probably quoting is the most straightforward, as the result of the foo() function has to be a string anyways (which is parsed by other functions). On Tue, Apr 12, 2016 at 6:20 PM, Richard M.
2016 Apr 13
0
formula argument evaluation
%=>% would have precendence ('order of operations') problems also. A + B %=>% C is equivalent to A + ( B %=>% C) and I don't think that is what you want. as.list(quote(A + B %=>% C)) shows the first branch in the parse tree. The following function, str.language, shows the entire parse tree, as in > str.language(quote(A + B %=>% C)) `quote(A + B %=>%
2009 Feb 09
1
XML package- accessing nodes based on attributes
Hi, I have a rather complex xml document that I am attempting to parse based on attributes: <Manifest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <!-- eName : name of the element. eValue : value of the element. --> <OutputFilePath>D:\CN_data\Agilent\Results\</OutputFilePath> <FilesList> <File>
2009 Jan 23
1
XML package help
Please consider this: <Manifest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > <!-- eName : name of the element. eValue : value of the element. --> <OutputFilePath>./XYZ</OutputFilePath> <FilesList> <File> <FileTypeId>10</FileTypeId>
2011 May 17
1
multiseat support in LightDM?
Does LightDM support multiseat setups? For example, I have a PC with multiple graphics cards, monitors, keyboards - used by multiple users concurrently. Will LightDM let me use one PC by many users concurrently (i.e. login screen on every monitor, allowing to start different sessions for different users). -- Tomasz Chmielewski http://wpkg.org
2006 Jan 23
5
Variable Scoping Problem
I am having some problems with variable scoping. I need to be able to set a variable that is accessable by other methods within the class (or instance) (i.e not global). An example is 2 pages that change a class variable: class AjtestController < ApplicationController def initialize @@variable = "init" end def show @display = @@variable @@variable = "change 1"
2019 Sep 06
2
Cambiar el nombre de las variables de forma automática
Buenas tardes. Tengo una base de datos con 3200 variables. El nombre de todas ellas tiene un punto. Por ej., Canis.aureus. ¿Es posible cambiar ese punto por un espacio, en todas ellas, de forma automática? Esa quedaría así: Canis aureus Gracias [[alternative HTML version deleted]]
2011 Sep 15
2
Returning the name of an object passed directly or from a list by lapply
Dear folks: Let?s suppose I want a function to print return the name of the object passed to it. > myname <- function(object) {out<-deparse(substitute(object)); out} This works fine on a single object: > O1 <-c(1:4) > myname(O1) [1] "O1" However it does not work if you use lapply to pass it the same object from a list: > O2 <-c(1:4) > object.list <-
2002 Mar 14
1
gif, jpeg and png image files reader AND tcltk image
Hi all, Roger Peng and Jason Turner's suggestion with ImageMagick seem to be the simplest "dirty" way to get the problem solved. But I ran into yet another interesting but quite round-about way to solve the problem (partially). Through tcltk package, one can read in the gif image with > x <- tkcmd("image", "create", "photo", file=mypic.gif)
2011 Apr 08
3
random sampling with levels and with replacement
Dear all, i have a dataset of about 400 records , with a variable that has  two levels 40 bad and 360 good among other variables,how do i come up  with10 random samples that have the composition of as the main sample  but maintaining the 40 bad 360 good with replacement, i recently discovered that my random samples generated dont maintain the ratio. My code is as  : mysample <-
2008 Apr 20
2
mod_rails showing plain text instead of actual page
hello! i got this forum powered by apache and mod_rails lately when i create / edit posts, i get plain html text showing up instead of the actual page. here''s what i see: -- Content-Type: text/html; charset=utf-8 Set-Cookie: _mysite_session=BAh7CzoOcmV0dXJuX3RvMDoKdGl0bGV7BmkVdToJVGltZQ2IDhuAK1UeADoL %250AdG9waWNzewZpBnU7Bw2HDhuA2%252FZJ7zoJdXNlcmkGIgpmbGFzaElDOidBY3Rp
2019 Jun 04
3
Incluir un rango de varias variables explicativas a un modelo
Hola, gracias por la respuesta, No me funcionó debido a que los nombres de las variables no están seriadas, es decir, los nombres de las variables son del tipo: x23 x25 x30, x301 x320, x80. Entonces me da este error: Error in eval(predvars, data, env) : object 'pot24' not found. Debido a que pot24 no existe, ya que de pot23 se brinca a pot30. En Stata es algo muy simple de hacer, solo
2011 Jul 20
3
select element from each row of the matrix
I have a 5 column matrix like 12 10 8 6 3 10 9 8 7 5 14 NA 4 NA NA NA 15 NA 10 NA 5 ... I want to select the position of the first entry for each row <=5 for example, for the first row, I want to select the last element and return its position as 5; for th e third row, I want to select the third element and return its position as 3; similarly for the 4th row, I want to select the fifth
2011 Jan 14
2
question about deparse(substitute(...))
Dear R helpers: I like to apply deparse(substitute()) on multiple arguments to collect the names of the arguments into a character vector. I used function test.fun as below. it works when there is only one input argument. but it does not work for multiple arguements. can someone kindly help? test.fun <- function(...){deparse(substitute(...))} test.fun(x) #this works test.fun(x,y,z) # I like
2012 Oct 18
2
Different return codes on exec during puppet agent run vs command line Windows
Trying to run this exec in one of our manifests. When the resource is run during a puppet run, it returns a error code 87. But when I execute the same command on command prompt, it returns 3010. Is there any way to dig and and find out why the return codes are different. FYI, I am using the sysnative path to avoid the file system redirection on windows. Platform: Windows 2008R2 64 bit
2016 May 15
2
How to disable audio in CentOS7?
On 05/15/2016 09:11 AM, Alice Wonder wrote: > On 05/15/2016 04:48 AM, Steve Snyder wrote: >> How can I completely disable audio drivers and services in my CentOS7 >> system? >> >> This system is a server that will never run any audio applications. The >> problem is, I can't disable the audio device in my BIOS, so the system >> finds it in the PCI device
2006 Feb 27
2
Bug in Kerberos support for openssh.
It took me a while to track this down. I am using MIT Kerberos 1.4.3 and libgssapi-0.7. With some patches that came with Suse 10, but that doesn't appear to be relevant. I have been using openssh-4.2p1 (with Simon's patches) and openssh-4p3p2 out of the box. I see the same problem no matter which version of openssh I am using. I am using two Suse Linux x86 boxes as a test
2010 Jul 29
1
Flac-dev Digest, Vol 70, Issue 5
Hi, Well - having in mind this is "flac-dev", I thought you are a developer and writing an application for that purpose is quite trivial. Anyway, CUE sheets are so simple, they can even be written by hand - the minimal CUE sheet is very simple. About the actual embedding - I haven't worked with metaflac or editing applications so I can't give you any specific advice for that.
2006 Jun 17
4
Simple tutorial weirdness
Sorry - working on a simple tutorial but something is throwing me here. I''m supposed to get a Time.now() print to the page but it''s not working and I can''t figure out why. No errors are thrown my the page shows: Howdy, world! My name is Stuart Felenstein. This was verified at . So no time stamp showing. I went into IRB , did a Time.now() and it''s working
2017 Apr 20
4
FUNCION "SI" en R
Hola a todos Primero que todo, gracias por todos los consejos, me han servido ene. Mi pregunta es la siguiente: Como armar una función lógica "SI" PARA CAMBIAR LOS NOMBRES A LOS HEADER Por ejemplo, si tengo una tabla así; a b c d 1 3 4 6 2 4 6 7 a= "pluvio mensual" b= "carga de batería" c= "temperatura" d= "radiación". La idea es