Displaying 20 results from an estimated 300 matches similar to: "Toggle cASE"
2007 May 23
1
name of object in quotes
I am writing a function in which, at some point, I to recuperate the
name of a previous object in quotes. I am currently using the function
Cs() from the Hmisc library but the result is:
foo <- function(xvar) {
variable <- Cs(xvar)
return(variable)
}
foo(x1)
> "xvar"
when I would expected to obtain "x1".
Any suggestion?
Thanks
--
*Gonzalo Rivero*
Ph.D.
2011 Mar 21
3
Replacing Period in String
Dear R Users,
I am working with gsub for the first time. I am trying to remove some
characters from a string. I have hit the problem where the period is the
shorthand for 'everything' in the R language when what I want to remove is
the actual periods. In the example below, I simply want to remove the
periods as I have removed the comma, but instead the complete string is
wiped out. I
2012 Aug 30
2
Help on Plot Title where text is "mixed" with numerical carachters
Dear All,
I have the following code set up:
x <-2000
y <-8
z <-3
I would need to use these numbers to show up in my plot title "mixed" with text. The x,y,z numbers would need to change, the text would not. So my title should look like this
"x txt1 y txt2 z txt3"
so if:
txt1=hours
txt2=minutes
txt3=seconds
then my title of the plot should read: 2000 hours
1999 Apr 20
0
Multiple recipients of list (SAMBA digest 2060)
One of our real estate offices in Slagelse, Denmark received a mail from you at 18'th of april about SAMBA Digest 2060.
They opened the mail and did not understand a single word of it. They thought, that maybee it was a virus. I'm shure they don't use your software.
Will you please remove our office from your mailing list, and can you explaine to me, how the office appears on the
2010 May 05
2
readLines with space-delimiter?
Hi,
I am reading a large space-delimited text file into R (41 columns and many
rows) and need to do run each row's values through another R object and then
write to another text file. So, far using readLines and writeLines seems to
be the best bet. I've gotten the data exchange working except each row is
read in as one 'chunk', meaning the row has all values between two quotes
2004 Feb 24
1
ADS, winbind and clients UIDs
Hi people!
We are deploying a new scenario for out University, mostly based in
Samba. The purpose is the use of a single password for every service.
But we have found a little problem.
The ADS are a cluster of 3 Win2003 servers. The file servers are
RHAS3.0, and all the clients are dual boot pc Win/Linux, and use winbind
for authentication.
The idea is to export the file to the Linux clients
2012 Dec 19
2
read.csv reads more rows than indicated by wc -l
When I have a csv file that is more than 6 lines long, not including
the header, and one of the fields is blank for the last few lines, and
there is an extra comma on of the lines with the blank field,
read.csv() makes creates an extra line.
I attached an example file; I'll also paste the contents here:
A,apple
A,orange
A,orange
A,orange
A,orange
A,,,
A,,
-----
wc -l reports that this file
2014 Jul 22
2
Ayuda Error in `colnames<-`(`*tmp*`, value = c(
Buenas tardes, grupo.
Estoy tratando de hacer la comparación de dos archivos de una misma
organización para encontrar las diferencias entre su informe del tema
edl año 2005 y el del año 2013:
Todos los comandos van bien, a exepción del último "colnames", como se
ve en la siguiente secuencia:
> pdf1<-"./PLAN de INSPECCIONES/05_seguridad_ciudadana.pdf"
>
2012 Jun 13
2
need help
hello
could you help in solving the following problem
I want to replace same consecutive words by a single word in a sentence..
for example --- my name name name is micky
so I want the output like this--my name is micky
I want this solution for a text file
can you tell me the code for it??
thanking you in anticipation
--
Shilpa Rai
MSc.(2011-2013)
Applied Statistics and Informatics
Indian
2004 May 16
1
importing text file with duplicate rows / indexing rows and columns
Could somebody advise me about importing a txt file as a frame? I am using the command:
test <- read.delim ("~/docs/perl/expr_ctx.txt2", header=T, sep = "\t", row.names = 1)
This gives me an error because there are duplicate rows.
In the txt file, the columns are unique subjects and the rows are variables, so I had planned to transform the file after importing. The first
2008 Aug 01
1
Properly Parsing Pre-Superscripts & Displaying Them With grid.text
Hi all... I?m making a chart dealing with frequencies of isotopes of various
elements. For instance, I'd like the following text to appear on a chart
with the "35" and "37" as superscripts:
Based upon:
35Cl: 75%
37Cl: 25%
I am having problems properly parsing the superscript that preceeds the
"Cl", since there is no character ahead of the superscript (I saw
2005 Aug 14
2
udev not starting on xenU FC4
Hi,
Running lastest Xen dev (3.0) supplied by Fedorea C4, I get this same problem as
already reported but whatever information I''ve found on this list is not working:
Starting udev: [FAILED]
Any new hints on how to fix it?
Regards,
--
xm create -c vsi
Using config file "/etc/xen/vsi".
Started domain vsi, console on port 9604
************ REMOTE CONSOLE: CTRL-] TO QUIT
2008 Jan 14
4
Focus on TextCtrl
Hello.
I have a problem with set focus on a TextCtrl in wxRuby.
I must do something like
Login TextCtrl and set focus on a next TextCtrl by clicking Tab key.
--
Posted via http://www.ruby-forum.com/.
2005 Sep 03
6
tls library message won''t go away
Hello,
I''m trying to upgrade to using the "boxed" xen supported on FC4
after having it working fine for a while on a manual installation
on FC3.
I upgraded the host operating system with the FC4 cdroms, and
it went mostly fine (after I turned off SElinux...)
Now, when I try to boot one of the provided xen kernels, namely:
vmlinuz-2.6.12-1.1447_FC4xen0
I always get the warning
2023 Jun 20
0
Buen día.
Curso Virtual: Uso de Funciones Avanzadas en EXCEL
Buen d?a.
Me complace extender esta invitaci?n a usted y su empresa a participar este 13 de Julio en el evento v?a Zoom Uso de Funciones Avanzadas en Excel, es posible que ya les haya llegado la invitaci?n, sin embargo me comprometo a enviarles el folleto con toda la informaci?n del evento, el temario y los costos por participante individual y
2007 Jun 05
1
Mysterious Javascript showing up & trashing page
Every time I edit a particular page, a bit of javascript myseteriously
shows up when I save it. After that, the page does not lie correctly,
and the items at the end of the list are covered over by elements from
the stylesheet. The script is as follows:
<p> </p>
<p align="center"><font face="Times New Roman"><font
2005 Aug 15
2
How to setup swap
Hi All,
I could not locate the info & syntax to setup swap partition in domU.
I''ve setup the fstab file like that after having created a LV for it but
I don''t know how to instruct xen to use it:.
I feel I have to somehow set it in the VM file but how ?
Of course I''ve run the mkswap and tried swapon -a but I get the obvious
message bellow as it cannot read real
2006 Dec 14
0
feature request: config option to toggle scheduled jobs based on environment
I have BackgrounDRb configured to handle two cases of long-running tasks:
(1) on-demand user triggered requests for some action, and (2) scheduled
background running of tasks on a predetermined schedule.
In my particular case, we have a publication task that can take several
minutes to perform. Users can setup a regular publication schedule, or can
hit a ''publish now'' button to
2006 Jun 06
2
Toggle css for display on page load?
In my layout I have a navigation bar with a few elements in it. The
elements can be toggled on or off and thereby reveal or conceal some
subtopics. I store the state of the toggle for the navigation elements
in the session.
When the page is reloaded, the navigation items are collapsed because
the css for display: none is set by default in the html for the
navigation elements. Is there a
2006 Jun 26
1
RJS visual_effect toggle?
Is there a way to toggle an effect in an RJS? If not, anyone have
recommendations for how to manually make it toggle? I guess I would
assume some boolean that the rjs checks everytime it''s called and
depending on whether it''s true or false it will do page.visual_effect
:appear or page.visual_effect :hide
-Ben Lisbakken
--
Posted via http://www.ruby-forum.com/.