Displaying 20 results from an estimated 26 matches for "text3".
Did you mean:
text
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 example code:
text1<-"This is a list:
1) Number 1
2) Etc
3) Etc"
text2<-"This is NOT a list:
Blah, blah, blah
Blah, blah,...
2013 May 18
3
OT: Script Help
Sorry for the off topic, but don't a better resource. I'm not great at
scripting, but need a quick script to modify a file.
I have a long file that has lines like this:
some text
some text2
CN=DATA.OU=XYZ.O=CO
some text3
some text4
And this repeats, but XYZ changes. "DATA" is always called data. (it's
being renamed basically)
I need to change the middle line but leave the rest of the file as is
like this:
some text
some text2
CN=XYZ_DATA.OU=XYZ.O=CO
some text3
some text4
Anyone know a quick way...
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):
x<-data.frame(A=c("","Name1","text1","text2","text3","","","","Name2","text1","text2","text3","","","Name3","text1","text2","text3","","Name1","text1","text2","text3"...
2017 Sep 28
0
Searching for Enumerated Items using str_count() from the stringr package
...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 = opts(pattern)) :
> Syntax error in regexp pattern. (U_REGEX_RULE_SYNTAX)
>
>
> ===
>
> Here is example code:
>
>
> text1<-"This is a list:
> 1) Number 1
> 2) Etc
> 3) Etc"...
2009 Sep 06
1
struggling with "split" function
...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),
B=c("Name1","text1","text2","text3",NA,"Name2","text1","text2","text3",NA,"Name3","text1","text2","text3",NA,"Name4","text1","text2","text3"),
C=c(NA,1,NA,3,NA,NA,4,5,6,NA,NA,7,8,9,NA,NA,3,3,3),D=c(NA,1,1,2,NA...
2009 Oct 26
1
regular expressions
...uot;^START +([[:alnum:]]+) +([0-9.]+) +([[:alnum:]]+)
+([0-9.]+)",c, simplify=rbind,combine=c) )
d = data.frame(parsed[ ,c(2,4)])
names(d) <- apply(parsed[ ,c(1,3)], 2, unique)
d
## this one has more fields: how do I generalize the regular expression?
st2 = c("START text1 1 text2 2.3 text3 5", "whatever intermediate
text", "START text1 23.4 text2 3.1415 text3 6")
Best regards,
Baptiste
2011 Mar 15
3
create data set from selection of rows
Readers,
For a data set:
text1,23,text2,45
text1,23,text3,78
text1,23,text3,56
text1,23,text2,45
The following command was entered:
datasubset<-data.frame(dataset[,3]=="text3")
The result of
datasubset
is
TRUE
TRUE
The required result is
text1,23,text3,78
text1,23,text3,56
What is the correct command to use please?
Thanks in advance...
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 me to do this?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060326/62487e3a/attachment.h...
2009 Jun 29
1
External USB Drive partitioning and formatting
Hi,
I just bought a Seagate 1TB USB drive thinking that I could create a
few partitions in it, format in ext3 fs, then configure bacula to
setup a backup server in my CentOS box and backup my windows and mac
clients.
I have plugged the drive and mounted in /mnt/usbdrive and is seen as
/dev/sdb1 by the OS. The output of df command is:
[root at Production ~]# df
Filesystem 1K-blocks
2006 Sep 18
2
problems in sourcing R script
...or stepAIC, truehist, etc.
library(MASS)
# Read in the data as comma separated file
N <- read.csv2("MatrixNO3_08Aug06.csv", header=TRUE, sep=";", dec=".")
# Compute stepwise generalised linear regression
summary(stepAIC(lm(NH4Mar04~Elevation+Soil1+Soil2+Text1+Text2+Text3+Rice+Cabbage+Squash+Chilli+Flower,
N)))
--------------------------------------------------------
And here is the example for reproduction:
N <-
structure(list(samplePCR... = as.integer(c(1, 2, 3, 4, 5, 6,
7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
23, 24, 25, 26, 27, 28, 29,...
2008 Jan 09
4
Using Prototype - Getting Javascript Error - "Object doesn't support this property or method"
...under the sun without much luck
Thanks
Sharmil
<ul id="vidList">
<li><a href="{youtube link 1}">Text1</a></li>
<li><a href="{youtube link 2}">Text2</a></li>
...
<li><a href="{youtube link 3}">Text3</a></li>
</ul>
<script type="text/javascript">
function swapVideo(thevideo,isDefault){
if(isDefault==true)
{
listItems = $("vidList").childElements("li");
listItems.each
(
function(item)
{
Event.observe($(item).childElements(...
2009 Oct 20
1
plotting labels (not values) on xy plot
...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 0.000000000
text2 0.000000000
text3 -0.029027359
text4 -0.088602806
so how do 'text1' written rather than the value? I know there is a way but I
am just guessing at the moment.
Any pointers greatly appreciated.
--
View this message in context: http://www.nabble.com/plotting-labels-%28not-values%29-on-xy-plot-tp2...
2008 Apr 06
1
buggy HTML from nested lists w/ paragraphs
...it. Removing the blank lines or the final item, text13, is enough to
kill either or both of the errors, while removal of other items kills
one error or the other. (Removal of text8 kills neither, but I left
it in case it's helpful for diagnosing the problem.)
# text1
* text2
* text3
text4
## text5
* text6
* text7
text8
## text9
* text10
* text11
text12
text13
The versions of Markdown I'm running this through are version 1.0.1
of the Perl script from daringfireball, and whatever's included in
MarsEdit 2.1.3(1404).
Any...
2005 Sep 08
1
Converting a matrix to a dataframe: how to prevent conversion to factor
...hen read the file back using the as.is argument.
write.table(MATRIX, "JUNK", row.names=F)
NEWFRAME <- read.table("JUNK", as.is=T, header=T)
> str(NEWFRAME)
`data.frame': 4 obs. of 2 variables:
$ TEXT : chr "Text1" "Text2" "Text3" "Text4"
$ NUMBERS: int 14 13 12 11
This restores the NUMBERS to their intended mode (integers, not
factors). The text column is also not read as a factor (not a
problem for me).
It appears that the function AsIs [I(x)] would enable me to
accomplish this without the write/r...
2007 Sep 12
0
Email Classified Send Over 100000-Pakistani BIZ Email Addresses
...9font-size: 10px;
}
body {
=09background-color: #FFFFFF;
=09margin-left: 0px;
=09margin-top: 0px;
}
..text1 {
=09font-family: verdana;
=09font-size: 10px;
=09font-weight: normal;
=09color: #000000;
}
..text2 {
=09font-family: verdana;
=09font-size: 10px;
=09font-weight: bold;
=09color: #000000;
}
..text3 {
=09font-family: verdana;
=09font-size: 10px;
=09font-weight: bold;
=09color: #FFFFFF;
}
..text4 {
=09font-family: verdana;
=09font-size: 10px;
=09font-weight: bold;
=09color: #262425;
}
..text5 {
=09font-family: verdana;
=09font-size: 10px;
=09font-weight: normal;
=09color: #FFFFFF;
}
..text6 {
=...
2008 Aug 30
1
writing text and output to file with flexibility
Hi,
I want a function to write some of its output into a text file with
the following format:
'some text'
output matrix A
'some more text'
output matrix B
'some other text still'
output matrix C
...
The dimensions of matrices A, B, ... are different and the total
number of matrices
that I want to place in the text file depends on what I pass to the
function. (I
2009 Jan 06
12
Anaconda Slides Translations
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Guys,
Our Anaconda Slide rendering environment is near to be functional, so
I'm wondering if you'd like to add new slides and if translators could
take a look at the translations we have now ?
Actually we have two Slide designs to choose from:
1. The common Title, Content slides [1].
2. The common Title, Content slides plus related icon
2004 Sep 01
2
wxruby swig progress
I''ve checked a number of new .i files into the wxruby-swig tree. Not all
of them are fully tested, but I thought it would be better for them to
be there than to have somebody start duplicating the work. I''ve also
added the ''caret'' and ''image'' samples, as well as the generic etc/test.rb.
These need the unreleased SWIG-1.3.22. The current
2008 Mar 31
1
Username case mangling: Linux username is mixed-case, Samba returns lower-case
...t you create mixed-case usernames without complaint.
TIA,
Steve
____________________________________________________________________________________
Special deal for Yahoo! users & friends - No Cost. Get a month of Blockbuster Total Access now
http://tc.deals.yahoo.com/tc/blockbuster/text3.com
2010 Jul 01
4
possible to plot number line in R?
Hallo!
Is there a possibility to plot a number line in R?
I would like to display 3 different Intervals on the same number line. Ideally, it would be possible to add a name to each number (e.g. Interval 1, lower cut-off...and so on). I have not found a command for this.
Thank you for your help.
Julia
[[alternative HTML version deleted]]