Displaying 20 results from an estimated 300 matches similar to: "OT: Script Help"
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
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,
2008 Apr 06
1
buggy HTML from nested lists w/ paragraphs
I ran into a weird problem while writing my own little guide to
Markdown (using Markdown, of course). The document is mostly made of
list items in nested ul's. As I neared the end, I found (via
MarsEdit's preview) that in place of two sections of content,
Markdown had begun to generate gibberish strings like this:
aa9ca05a7c006bc5e5c091c00aee0cd7
After weeding through different
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 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
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
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),
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
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 =
2007 Sep 12
0
Email Classified Send Over 100000-Pakistani BIZ Email Addresses
Monthly!
Sender: "Email Classified Now 1st time in Pakistan!" <emailclassifiedpkhcq at gmail.com>
Mime-Version: 1.0
Content-Type: multipart/related; type="multipart/alternative"; boundary="----=_NextPart_000_0177DE59_0.557487C2"
Date: Wed, 12 Sep 2007 15:53:57 -0700
Message-ID: <20070912225357234.4DDD53B34D2F1795 at Tahir_3f>
X-Priority: 1 (Highest)
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
2008 Jan 09
4
Using Prototype - Getting Javascript Error - "Object doesn't support this property or method"
I have the following javascript being called on my site and I am
getting a Javascript error - "Object doesn''t support this property or
method". The error is invoked on the line that has - "listItems = $
("vidList").childElements("li");".
The purpose of the Javascript is two fold: ''swapVideo'' to change the
Youtube video and
2013 Apr 29
2
Adding elements in data.frame subsets and also subtracting an element from the rest elements in data.frame
Dear R forum
I have a data.frame as
cashflow_df = data.frame(instrument = c("ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC", "ABC", "PQR", "PQR",
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
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]]
2011 Feb 09
2
critical feature from version 1 not migrated to version 2 = authentication configuration database per IP
not possible make operation with dovecot version 2.x as was possible in version 1.x:
requisites description:
connect to dovecot service on IP1 - dovecot must serve users that related to domain1 located in database1
connect to dovecot service on IP2 - dovecot must serve users that related to domain2 located in database2
login must be with username that form not as "user at domain" but
2006 Jul 08
9
How to handle dynamically columned tables in rails
I want to build an application that lets me (the end user accessing a
web page) design a simple list with columns and add records. E.g., if
the end user says I want a table that has a list of songs, he can create
a list (title, date, artist, label) and then make another list of, e.g.,
books on his bookshelf with the necessary columns (title, author,
pub_date, shelf).
The end user
2007 May 16
7
bilingual site: exclude fields set from query
Hi all,
Is there a way to have searches no use some indexed fields, when
processing a query?
context:
I have a model Foo that holds some information in two languages :
- text1_nl, text2_nl, text3_nl
and
- text1_en, text2_en, text3_en
Some other fields are common to both languages and indexed as well
- first_name, last_name
Depending on the visitor language choice I need to exclude the
2019 Mar 26
4
GSoC19: Improve LLVM binary utilities
(Adding just a bit to Jake's response)
On Tue, Mar 26, 2019 at 11:31 AM Jake Ehrlich via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Hi Seiya,
>
> What should I prioritize? I suppose that improving llvm-objcopy is the
>> most crucial work in this summer.
>
>
> This is an opinion that will vary a lot from person to person.
>
+1! And don't forget that