search for: bfsh2

Displaying 6 results from an estimated 6 matches for "bfsh2".

Did you mean: bash2
2004 Jul 12
5
Regular Expressions
Hi, Is there a way to use regular expressions to capture two or more words in a sentence? For example, I wish to to find all the lines that have the words "thomas", "perl", and "program", such as "thomas uses a program called perl", or "perl is a program that thomas uses", etc. I'm sure this is a very easy task, I would greatly appreciate
2003 Mar 17
0
file encoding
...ed ? I am trying: zz <- file("out.txt", open="wt", encoding=ISOLatin1) cat(ASCII,file = zz, sep="\n") close(zz) on R162 for MacOs (carbon). Thanks. -- ------------------------------------------------------------------------------ Jean-Pierre Muller SSP / UNIL / BFSH2 / CH-1015 Lausanne
2003 Jun 25
1
Mac carbon - foreign - read.spss
...uot;read.spss" doesn't work with usual (old) mac paths ("disk:dir:dir:file"), but only with *nix path (Volumes/disk/...)? rm171 (carbon) - MacOSX 10.2.6 Thanks. -- ------------------------------------------------------------------------------ Jean-Pierre Muller SSP / UNIL / BFSH2 / CH-1015 Lausanne
2005 Aug 29
4
ttda on R 2.1.1: error
Hello, I'm trying to use the package ttda, wich is involved in text analysis, for my own data about answers in a company survey. I've installed it, as well as ispell, but when trying to use an example: > zz <- file("stupid.txt", "w") # build a data file > cat("{comment - stupid data file} \n" , file = zz) > cat("<uci=1>
2004 Oct 20
7
Q about strsplit and regexp
Dear R-help, This one is probably a piece of cake for regexp masters. I'd like to split a character vector (for simplicity, say of length one for now) that contains fields that are delimited by arbitrary number of white spaces (e.g., " a b c "). How do I get the character vector that contain the fields? In the example I gave, I've tried: > strsplit(" a b c
2003 Apr 02
19
Combining the components of a character vector
Dear Help, Suppose I have a character vector. x <- c("Bob", "loves", "Sally") I want to combine it into a single string: "Bob loves Sally" . paste(x) yields: paste(x) [1] "Bob" "loves" "Sally" The following function combines the character vector into a string in the way that I want, but it seems somewhat inelegant.