Displaying 20 results from an estimated 600 matches similar to: "Remote form for, Form.serialize and parameter arrays"
2006 Mar 02
0
Combining plaintext and plotmath expressions
I searched the archives and did not find a solution, so I pose this question to those well-versed in the use of plotmath and expressions.
I have a list of strings in an external CSV file which I wish to use sometimes as plot axis labels and sometimes as plot titles. These strings combine plaintext and a few mathematical expressions (Greek letters, subscripts). Moreover, I sometimes need to
2009 Oct 26
1
regular expressions
Dear list,
I have the following text to parse (originating from readLines as some
lines have unequal size),
st = c("START text1 1 text2 2.3", "whatever intermediate text", "START
text1 23.4 text2 3.1415")
from which I'd like to extract the lines starting with "START", and
group the subsequent fields in a data.frame in this format:
text1 text2
2009 Sep 04
2
transforming a badly organized data base into a list of data frames
Dear R-ers!
I have a badly organized data base in Excel. Once I read it into R it
looks like this (all variables become factors because of many spaces
and other characters in Excel):
2009 Sep 06
1
struggling with "split" function
I am very sorry for such a simple question, but I am struggling with "split".
I have the following data frame:
x<-data.frame(A=c(NA,NA,NA,NA,"split",NA,NA,NA,NA,"split",NA,NA,NA,NA,"split",NA,NA,NA,NA),
2013 Jan 27
2
Unexpected behavior with abbreviation of an argument to paste
R 2.15.1
OS X
Colleagues,
I encountered the following unexpected behavior today:
The following command yielded the expected result:
paste(c("TEXT1", "TEXT2"), collapse="|")
Result:
[1] "TEXT1|TEXT2"
However, abbreviating "collapse" by even one character:
paste(c("TEXT1", "TEXT2"), collaps="|")
yielded the
2009 Oct 20
1
plotting labels (not values) on xy plot
I have 2 vectors, x and y and have done an xy plot.
I want to plot the label (name?) of the vector on the plot rather than the
value.
text(x,y, labels = x)
gives me the value of x.
text(x,y, labels = labels(x))
gives me something like c("text1","text2"..) plotted for each point
text(x,y, labels = names(x))
gives nothing
print(x) gives me
[,1]
text1
2024 Nov 25
1
Problemas usando paquete textreuse
Muy buenas:
He encontrado el paquete textreuse y lo quiero utilizar para comparar dos
archivos pdf.
Me ha sido imposible cargar los archivos para utilizar las funciones
TextReuseCorpus() o TextReuseTextDocument().
En la documentación del paquete los archivos los cargan desde
¿Alguien sabe cómo se hace?
He conseguido calcular la similitud de jaccard utilizando este paquete,
pero para ello he
2006 Mar 26
2
Shared Columns in an STI
I have a an STI table which acts_as_tree, that has a large number of
classes/types. My common fields are:
id
parent_id
name
description
with 4 more text fields, I could cover most of my classes if I could
redefine the name of the field like this.
text1 AS address1
text2 AS address2
text3 AS zipcode
For one class and
text 1 AS model_number
text2 AS vendor
Is there a construct that will allow
2017 Sep 28
2
Searching for Enumerated Items using str_count() from the stringr package
Hi all,
I have a large number of text strings to search for enumerated items.
However, I am receiving this error message even though I thought that I
properly escaped the special character closed parenthesis:
> Count<-str_count(text3,keywords)
Error in stri_count_regex(string, pattern, opts_regex = opts(pattern)) :
Syntax error in regexp pattern. (U_REGEX_RULE_SYNTAX)
===
Here is
2005 Sep 08
1
Converting a matrix to a dataframe: how to prevent conversion to factor
Colleages
I am running R 2.1.0 on a Mac (same problem occurs in Linux). In
some situations, I have mixed text/numeric data that is stored as
characters in a matrix. If I convert this matrix to a dataframe, the
numeric data becomes factors, not what I intend.
TEXT <- paste("Text", 1:4, sep="")
NUMBERS <- 10 + 4:1
MATRIX <- cbind(TEXT,
2024 Nov 26
0
Resumen de R-help-es, Vol 187, Envío 10
Ayer mandé esta respuesta pero parece que no llegó, parece mentira que
no recuerde utilizar la lista. Disculpas si sale repetida.
Javier, el paquete textreuse lo que hace es añadir metadatos de
pre-proceso a la lectura de ficheros de texto, y por tanto parte de
fichero. No lo conocía, pero leyendo
https://cran.r-project.org/web/packages/textreuse/vignettes/textreuse-introduction.html
verás
2017 Sep 28
0
Searching for Enumerated Items using str_count() from the stringr package
On 09/28/2017 10:25 PM, Dan Abner wrote:
> Hi all,
>
> I have a large number of text strings to search for enumerated items.
> However, I am receiving this error message even though I thought that I
> properly escaped the special character closed parenthesis:
>
>
>> Count<-str_count(text3,keywords)
> Error in stri_count_regex(string, pattern, opts_regex =
2008 Aug 31
2
Help using ed [OT]
Hi
Perhaps omeone might answer this tricky problem. I can do this other
ways, but i really want to understand how to solve it using ed. I have
one solution using g/re/s/re//txt/ , but I want to understand how or if
i can solve it using the ed (.)a command.
A script i have parse several files and append text after a specific
text is matched. If one file do not have this text, i get a no match
2007 Apr 24
0
ASA-2007-012: Remote Crash Vulnerability in Manager Interface
> Asterisk Project Security Advisory - ASA-2007-012
>
> +------------------------------------------------------------------------+
> | Product | Asterisk |
> |---------------------+--------------------------------------------------|
> | Summary | Remote Crash Vulnerability in Manager
2007 Apr 24
0
ASA-2007-012: Remote Crash Vulnerability in Manager Interface
> Asterisk Project Security Advisory - ASA-2007-012
>
> +------------------------------------------------------------------------+
> | Product | Asterisk |
> |---------------------+--------------------------------------------------|
> | Summary | Remote Crash Vulnerability in Manager
2006 Sep 18
2
problems in sourcing R script
Dear list,
First my information:
platform i386-pc-linux-gnu
arch i386
os linux-gnu
system i386, linux-gnu
status
major 2
minor 3.1
year 2006
month 06
day 01
svn rev 38247
language R
version.string Version 2.3.1 (2006-06-01)
Now my question:
How is it possible that a command in an R script is not
2004 Nov 22
1
Layout Issue ...
The following program represents the basic layout of my application. The
problem I have is that the panel, and thus, the grid does not resize
when the window width is expanded.
Also, I would like the entire grid to be displayed without the
horizontal scroll bar. How can I force this behavior?
Please tell me if I am going about this incorrectly. I am just getting
familar with wxRuby and any
2008 May 24
2
How to pass variable of for loop on read table text
Hi,
I have a couple of text and would like to automate of reading these multiple
files using
(namely; text1.txt, text2.txt....)
for(y in 3:10){
data$y<-read.table('text$y.txt')}
But it seems not allow. Any idea?
Thanks.
[[alternative HTML version deleted]]
2008 Oct 31
0
Is there a way to vectorize this?
I apologize up front for this being a little long. I hope it's
understandable. Please let me know if I need to clarify anything.
Several months ago I wrote a series of functions to help me take my R
analyses and build custom reports in html files. Each function either
builds or modifies a string of html code that can then be written to a
file to produce the desired output.
To make
2006 Dec 15
1
xyplot: legend title + legend on 1 line
Does anybody know how in xyplot to put the legend title on one line with the
legend? I can get the legend on one line with columns=... but the title is
always on top. I tried a custom key with key=... and text=... but I can't
put the title text in front of the plotting symbol.
I am looking for the following layout of the legend, on one line:
"Legend Title:" + plot symbol1 + legend