Displaying 9 results from an estimated 9 matches for "stgries_lists".
2005 Aug 26
3
parts of data frames: subset vs. [-c()]
Dear all
I have a problem with splitting up a data frame called ReVerb:
?? str(ReVerb)
`data.frame': 92713 obs. of 16 variables:
$ CHILD : Factor w/ 7 levels "ABE","ADA","EVE",..: 1 1 1 1 1 1 1 1 1 1 ...
$ AGE : Factor w/ 484 levels "1;06.00","1;06.16",..: 43 43 43 99 99 99 99 99 99 99 ...
$ AGE_Q : num 2.0 2.0 2.0 2.4 2.4
2006 Feb 01
1
Word boundaries and gregexpr in R 2.2.1
Hi
I have a question concerning how to match word boundaries which I bet has a very simple answer, but I haven't found it with trial and error nor by searching the help archives for the terms in the subject line. The problem is this: I have a vector of two character strings.
text<-c("This is a first example sentence.", "And this is a second example sentence.")
If I
2007 Mar 08
2
Named backreferences in replacement patterns
Hi
I have a problem with substitutions involving named backreferences. I
have a vector American.dates:
> American.dates
[1] "5/15/1976" "2.15.1970" "1.9.2006"
which I want to change into British.dates:
> British.dates
[1] "15/5/1976" "15/2/1970" "9/1/2006"
I know I can do it like this:
2006 Sep 18
2
404 HTTP not found
Hi
I wrote a script which retrieves links from websites and loads them with scan:
...
website<-tolower(scan(current.pages[i], what="character", sep="\n", quiet=TRUE))
...
However occasionally, the script finds broken links, such as <http://www.google.com/test>. when the script tries to access such websites, the repeat loop breaks and I get the error message
Error
2006 Oct 07
2
gregexpr in R 2.3.0 != gregexpr in R 2.4.0
Hi all
I have a question regarding differences in the way gregpexr works in R 2.3.0 and R 2.4.0.
In R 2.3.0, this is what happens:
> gregexpr(" [a-z] [a-z] ", " a b c d e f ", perl=T)
[[1]]
[1] 1 3 5 7 9
attr(,"match.length")
[1] 5 5 5 5 5
... while in R 2.4.0, this is what happens:
> gregexpr(" [a-z] [a-z] ", " a b c d e f ", perl=T)
2006 Jul 23
3
RfW 2.3.1: regular expressions to detect pairs of identical word-final character sequences
Dear all
I use R for Windows 2.3.1 on a fully updated Windows XP Home SP2 machine and I have two related regular expression problems.
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 2
minor
2006 Aug 16
0
Regular expressions: retrieving matches depending on intervening strings [Follow-up]
Dear all
This is a follow-up to an earlier posting today regarding a regular expression question. In the meantime, this is the best approximation I could come up with and should give you a better idea what I am talking about.
a<-c("<w AT0>a <w NN1>blockage <w CJC>and <w DT0>that<c PUN>.",
"<w AT0>a <w NN1>blockage <w CJC>and
2006 Aug 24
0
Lost command area in R-SciViews
Dear all
I am writing with a question regarding SciViews for R. It's probably a slightly stupid question but I cannot find a solution to a very elementary problem. I am using SciViews 0.8.9 on with R 2.3.1pat on a Windows XP Home machine. R is set to SDI mode, I start R, enter "library(svGUI)", SciViews starts properly, I can access the docks and everything, but
(i) the command
2005 Sep 12
0
grepping and splitting (with R 2.1.1)
Hi R experts
I have the following regular expression problem. I am writing a basic corpus retrieval program, i.e. a concordancer/function where a user enters
- a set or a directory of text files to search;
- a regular expression to search for in these files.
I want to provide an output in which the matches of the regular expression are listed in one central column and the neighboring columns