[R] Unicode Text Segmentation Algorithms already implemented in R?

2016-03-03 Thread Sascha Wolfer
Hello list members, I am looking for an implementation of Unicode text segmentation (word boundary detection) algorithms in R. You can find information about the algorithms here: http://www.unicode.org/reports/tr29/#Word_Boundaries The help page for the function ‚casefuns‘ from the excellent ‚U

[R] Weird 'xmlEventParse' encoding issue

2013-07-15 Thread Sascha Wolfer
Dear list, I have got a weird encoding problem with the xmlEventParse() function from the 'XML' package. I tried finding an answer on the web for several hours and a Stack Exchange question came back without success :( So here's the problem. I created a small XML test file, which looks like

[R] How to center a horizontal legend with specified 'text.width'

2013-05-12 Thread Sascha Wolfer
ot;n", text.width = 0.2) par(mar = c(4.3,4,2,1.5)) # plot 4 plot(rnorm(100)) # plot 5 plot(rnorm(100)) Thanks for your help! Sascha W. --- Sascha Wolfer Center for Cognitive Science University of Freiburg http://portal.uni-freiburg.de/cognition/wolfer

[R] Parantheses highlighting

2011-05-11 Thread Sascha Wolfer
Dear list, is it just me or is everybody experiencing this? Since the upgrade to R 2.13.0 on my Mac (OS X 10.6.7, R GUI 1.40 (5751)) the highlighting of matching parantheses doesn't work the way it used to. It doesn't highlight the matching parantheses while typing, but it still does while scro

[R] openNLP package error

2010-12-02 Thread Sascha Wolfer
Hello list, I seem to have a problem with the openNLP package, I'm actually stuck in the very beginning. Here's what I did: > install.packages("openNLP") > install.packages("openNLPmodels.de", repos = "http://datacube.wu.ac.at/";, type = "source") > library(openNLPmodels.de) > library(openNL

[R] p value from F value and dfs

2009-09-23 Thread Sascha Wolfer
Dear List, is there an easy and fast way to compute the p value from a given F value and given degrees of freedom for an effect and the dfs for the residuals? I think of a function like this: compute.p(F.value, numerator.dfs, denominator.dfs) which returns the p value. Thanks, Sascha ___

[R] Usage of SnowballStemmer for German

2009-09-15 Thread Sascha Wolfer
Dear List, I tried to use the SnowballStemmer function in the package "Snowball". It works, but obviously it uses English as its default language and I can't figure out how to change the language. SnowballStemmer takes 2 args: a character vector with the words to be stemmed and "control =

[R] Function "Varcov" in Design (Ver. 2.2-0) package

2009-09-14 Thread Sascha Wolfer
Hi, I'm running into an error message for the "anova"-function I never got before with the Design (Version 2.2-0) package. There seems to be a missing function "Varcov", please check my function calls (it's in german but I think you get the error): > library(Design)##

[R] Rstem package not available anymore?!?

2009-09-14 Thread Sascha Wolfer
Dear List, I tried installing the Rstem package from omegahat.org using my old command install.packages("Rstem", repos = "http://www.omegahat.org/R";, type = "source") but it seems omegahat.org is down. Any word on when it will be on again (if ever)? --- Sascha A. Wolfer, M.A. Centre