search for: stgries

Displaying 20 results from an estimated 22 matches for "stgries".

Did you mean: series
2006 Sep 21
2
Command area in SciViews 0.8.9 - second try
...t;http://tolstoy.newcastle.edu.au/R/help/05/12/16841.html>) is the recommendation to click on Misc: Toolbars: Command. But I did that and it's still not visible. Am I making some kind of stupid mistake? I have uploaded a screenshot to my website at <http://www.linguistics.ucsb.edu/faculty/stgries/other/sciviews.png> to show you what's happening. Any ideas would be greatly appreciated. Thank you very much in advance for your time and all the best, STG ----------------------------------------------- University of California, Santa Barbara http://www.linguistics.ucsb.edu/faculty/stgrie...
2009 Jan 27
1
rJava in R 2.8.1 on Ubuntu 8.10
...y 22 svn rev 47281 language R version.string R version 2.8.1 (2008-12-22) > java -version # at terminal prompt java version "1.6.0_0" IcedTea6 1.3.1 (6b12-0ubuntu6) Runtime Environment (build 1.6.0_0-b12) OpenJDK 64-Bit Server VM (build 1.6.0_0-b12, mixed mode) stgries at stgries-acer:~$ on Ubuntu 8.10 (Kernel 2.6.27-9) on an AMD Phenom Triple-Core The problem arises here: java libs : '-L/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/server -L/usr/lib/jvm/java-6-openjdk/jre/lib/amd64 -L/usr/lib/jvm/java-6-openjdk/jre/../lib/amd64 -L -L/usr/java/packages/lib...
2011 Mar 05
1
pvclust crashing R on Ubuntu 10.10
...ough, R for Windows installed on this machine (running with Wine) causes no problems, but on Linux ... Any ideas what that could be? Thanks a lot, STG -- Stefan Th. Gries ----------------------------------------------- University of California, Santa Barbara http://www.linguistics.ucsb.edu/faculty/stgries
2012 Sep 20
3
(no subject)
.... table(c(rep(names(freq.list.a), freq.list.a), rep(names(freq.list.b), freq.list.b))) # kind of cheating but possible with short vectors ... HTH, STG -- Stefan Th. Gries ----------------------------------------------- University of California, Santa Barbara http://www.linguistics.ucsb.edu/faculty/stgries
2011 Mar 03
6
Developing a web crawler
Hi, I wish to develop a web crawler in R. I have been using the functionalities available under the RCurl package. I am able to extract the html content of the site but i don't know how to go about analyzing the html formatted document. I wish to know the frequency of a word in the document. I am only acquainted with analyzing data sets. So how should i go about analyzing data that is not
2018 May 09
3
NAs produced by integer overflow, but only some time ...
...at is, the multiplication worked with the numbers but not the numeric vectors; the above is literally copied from the console. Why is that happening? Any help would be much appreciated! STG -- Stefan Th. Gries ---------------------------------- Univ. of California, Santa Barbara http://tinyurl.com/stgries
2006 Aug 24
0
Lost command area in R-SciViews
...t;http://tolstoy.newcastle.edu.au/R/help/05/12/16841.html>) is the recommendation to click on Misc: Toolbars: Command. But I did that and it's still not visible. Am I making some kind of stupid mistake? I have uploaded a screenshot to my website at <http://www.linguistics.ucsb.edu/faculty/stgries/other/sciviews.png> to show you what's happening. I have even un- and reinstalled R and SciViews but to no avail. Any ideas would be greatly appreciated. I am currently teaching a course on R and would like to show the participants how to work with R, Tinn-R, and SciViews, but with the prese...
2018 May 09
0
NAs produced by integer overflow, but only some time ...
...tting the answers you are expecting when you do use double precision numeric values. Also, using the prefix form of multiplication is unnecessarily obscure, and your use of the return function at the end of your function is redundant. On May 8, 2018 7:54:26 PM PDT, "Stefan Th. Gries" <stgries at gmail.com> wrote: >I have problem with integer overflow that I cannot understand. > >I have a character vector curr.lemmas with the following properties: > >length(curr.lemmas) # 61224 >length(unique(curr.lemmas)) # 2652 > >That vector is the input to the following fun...
2007 Dec 01
2
NAs produced by integer overflow (PR#10482)
Full_Name: Stefan Th. Gries Version: R version 2.6.1 (2007-11-26) OS: Windows XP Home SP2 Submission from: (NULL) (68.6.47.105) Hi A simple computation results in integer overflow: These are the relevant vectors: > sum(cur.obs) [1] 110231 > colfreq other past perfect present progressive 14845 1222 4776 101347 2863 >
2018 May 09
1
NAs produced by integer overflow, but only some time ...
...ou are expecting when you do use double precision numeric values. > Also, using the prefix form of multiplication is unnecessarily obscure, and > your use of the return function at the end of your function is redundant. > > On May 8, 2018 7:54:26 PM PDT, "Stefan Th. Gries" <stgries at gmail.com> > wrote: > >I have problem with integer overflow that I cannot understand. > > > >I have a character vector curr.lemmas with the following properties: > > > >length(curr.lemmas) # 61224 > >length(unique(curr.lemmas)) # 2652 > > > >...
2006 Jul 23
3
RfW 2.3.1: regular expressions to detect pairs of identical word-final character sequences
...r>\\2\\1<r>\\3", text, perl=TRUE) Again, any ideas? I'd really appreciate any snippets of codes, pointers, etc. Thanks so much, STG -- Stefan Th. Gries ----------------------------------------------- University of California, Santa Barbara http://www.linguistics.ucsb.edu/faculty/stgries
2010 Dec 25
2
predict.lrm vs. predict.glm (with newdata)
...points(x2, y.weil.glm, pch="w") par(mfrow=c(1,1)) What am I doing wrong with predict.lrm? Thanks in advance for any input you may have, STG -- Stefan Th. Gries ----------------------------------------------- University of California, Santa Barbara http://www.linguistics.ucsb.edu/faculty/stgries
2006 Aug 16
0
Regular expressions: retrieving matches depending on intervening strings [Follow-up]
...t just "<[wc]" but "<[wc] " and I don't know how to do that. Any ideas (preferably with lookarounds)? Thanks a bunch, STG -- Stefan Th. Gries ----------------------------------------------- University of California, Santa Barbara http://www.linguistics.ucsb.edu/faculty/stgries ----------------------------------------------- ORIGINAL MESSAGE > Dear all > > I again have a regular expression question. I have this character vector a: > > a<-c("<w AT0>a <w NN1>blockage <w CJC>and <w DT0>that<c PUN>.", > "<...
2006 Feb 01
1
Word boundaries and gregexpr in R 2.2.1 (PR#8547)
Full_Name: Stefan Th. Gries Version: 2.2.1 OS: Windows XP (Home and Professional) Submission from: (NULL) (68.6.34.104) 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 now look for word boundaries with regexpr, this is what I get: >
2009 Oct 02
3
break up a string into strings with a fixed length
dear all, I have some very long strings and would like to break up each long string into multiple strings with a fixed length, e.g. to break up abcdefghijkl into abc, def, ghi, jkl I tried a couple of commands but was not successful. Any help will be appreciated. Best, Jimmy -- View this message in context:
2011 Nov 06
2
tkrplot does not install
Hi all I am running R 2.14.0 on Linux Mint 11 and want to use TeachingDemos but cannot update tkrplot. This is what happens: ############### In order to run * installing *source* package ?tkrplot? ... configure: creating ./config.status config.status: creating src/Makevars ** libs gcc -std=gnu99 -I/usr/share/R/include -I/usr/include/tcl8.5 -I/usr/include/tcl8.5 -fpic -O3 -pipe -g -c
2005 Oct 02
1
Size of jpegs/pngs
Dear all I have trouble with setting the size for jpegs and pngs. I need to save a dendrogram of 1000 words into a jpeg or png file. On one of my computers, the following works just fine: bb<-agnes(aa, method="ward") jpeg("C:/Temp/test.txt", width=17000, height=2000) plot(bb) dev.off() On my main computer, however, this doesn't work: >
2008 May 30
1
Unicode characters (R 2.7.0 on Windows XP SP3 and Hardy Heron)
...le: > Sys.getlocale(category = "LC_ALL") [1] "LC_COLLATE=English_United States.1252;LC_CTYPE=English_United States.1252;LC_MONETARY=English_United States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252" # I loaded the file # <http://www.linguistics.ucsb.edu/faculty/stgries/teaching/russ_corp.txt> # into R, and this works fine. x<-scan(choose.files(), what="char", sep="\n", quote="", comment.char="", encoding="UTF-8") # My problems are the following: # 1 strsplit # This does not work: words.1<-unlist(strspli...
2008 Nov 30
6
Regex: workaround for variable length negative lookbehind
Hi all I have the following regular expression problem: I want to find complete elements of a vector that end in a repeated character but where the repetition doesn't make up the whole word. That is, for the vector vec: vec<-c("aaaa", "baaa", "bbaa", "bbba", "baamm", "aa") I would like to get "baaa" "bbaa"
2013 Jul 07
1
Hierarchical multi-level model with lmer: why are the highest-level random adjustments 0?
Hi all I have a hopefully not too stupid question about multi-level / mixed-effects modeling. I was trying to test a strategy from Crawley's 2013 R Book on a data set with the following structure: - dependent variable: CONSTRUCTION (a factor with 2 levels) - independent fixed effect: LENGTH (an integer in the interval [1, 61]) - random effects with the following hierarchical structure: MODE