search for: rnews_2008

Displaying 20 results from an estimated 21 matches for "rnews_2008".

Did you mean: rnews_2004
2011 May 21
1
DocumentTermMatrix error
Hi all, I have tried to create a DocumentTermMatrix with a tm package, but i get this error : Error in tolower(txt) : invalid input 'PROD Z LAHKO GNETNO MELJNO GLINO, ... in 'utf8towcs' I tried doing this as it is showed in : http://www.r-project.org/doc/Rnews/Rnews_2008-2.pdf (An Introduction to Text Mining), with this R code : setwd("C:/Users/mpavlic/Desktop/temp") tekst <- Corpus(DirSource(".")) >Warning message: >In readLines(y, encoding = x$Encoding) : >incomplete final line found on './test.txt' meta(tek...
2008 Nov 13
1
readPDF() -- unsure how to install xpdf to make this work?
Dear R-Help, I need to convert a set of '.pdf' files into an equivalent set of '.txt' files. This is so that i can do some text mining on the content. In the latest R-News letter (http://cran.r-project.org/doc/Rnews/ Rnews_2008-2.pdf), the package 'tm' for text mining is mentioned. In that lovely package, there is a function called 'readPDF()'. In order to use this, ?readPDF says "Note that this PDF reader needs both the tools pdftotext and pdfinfo installed and accessable on your system."...
2008 Nov 04
1
R News, volume 8, issue 2 is now available
Dear R users, The October 2008 issue of 'R News' is now available on CRAN under the Documentation/Newsletter link. John (on behalf of the R News Editorial Board) ------------------------------ John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox _______________________________________________ R-announce at
2008 Sep 15
0
New version of actuar
...and no limit. The CRAN page for the package is http://cran.r-project.org/package=actuar The project's web site is http://www.actuar-project.org Comments and contributions to the project are more than welcome. (*) http://www.jstatsoft.org/v25/i07 (**) http://cran.r-project.org/doc/Rnews/Rnews_2008-1.pdf --- Vincent Goulet, Associate Professor ?cole d'actuariat Universit? Laval, Qu?bec Vincent.Goulet at act.ulaval.ca http://vgoulet.act.ulaval.ca _______________________________________________ R-packages mailing list R-packages at r-project.org https://stat.ethz.ch/mailman/...
2008 Nov 04
1
R News, volume 8, issue 2 is now available
Dear R users, The October 2008 issue of 'R News' is now available on CRAN under the Documentation/Newsletter link. John (on behalf of the R News Editorial Board) ------------------------------ John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox _______________________________________________ R-announce at
2008 Sep 15
0
New version of actuar
...and no limit. The CRAN page for the package is http://cran.r-project.org/package=actuar The project's web site is http://www.actuar-project.org Comments and contributions to the project are more than welcome. (*) http://www.jstatsoft.org/v25/i07 (**) http://cran.r-project.org/doc/Rnews/Rnews_2008-1.pdf --- Vincent Goulet, Associate Professor ?cole d'actuariat Universit? Laval, Qu?bec Vincent.Goulet at act.ulaval.ca http://vgoulet.act.ulaval.ca _______________________________________________ R-packages mailing list R-packages at r-project.org https://stat.ethz.ch/mailman/...
2009 Jan 09
1
[R} how to build TermDocMatrix in tm text mining package of R
Howdy Gurus I 'd like to ask a question about how to build TermDocMatrix in tm text mining package. It is not clear about importing a plain text file, and them converting that text file into TermDocMatrix file, etc to me. How can I build a TermDocMatrix of " a plain text document file for text association? Or are there any good manuals? Thank you in advance, -- Kum-Hoe Hwang, Ph.D.
2010 Feb 15
1
(no subject)
is there a good notes for loops(if else and while) in r. I have a code written in Matlab and I tried to rewrite it in R but it does not give me the write result . for example in matlab the result is (1 2 3 4) In r it is give my only 2 One more question if I have variable,lets say x and I use it in a loop and I update x each time in the loop . How can I get a vector for all X's. Thank you
2010 Apr 23
2
Library (tm) Error: could not find function "TermDocMatrix".
Hi List I have the next code and the error. I have try with other codes and I have the same problem. > reut21578 <- system.file("texts", "crude", package = "tm") > (r <- Corpus(DirSource(reut21578), readerControl = list(reader = > readReut21578XMLasPlain))) A corpus with 20 text documents > (r <- Corpus(DirSource(reut21578), readerControl =
2010 Feb 10
2
replace a for loop
Hi everybody! I'm still quite new in R and I don't really understand this whole "vectorization" thing. For now, I use a for loop (and it works fine), but I think it would be useful to replace it. I want to export the result of a test statistic, which is stored as a list, into a csv file. I therefore have to export each element of the list separately. Here is the code: ----
2010 Nov 30
1
confidence interval for logistic joinpoint regression from package ljr
I?m trying to run a logistic joinpoint regression utilising the ljr package. I?ve been using the forward selection technique to get the number of knots for the analysis, but I?m uncertain as to my results and the interpretation. The documentation is rather brief ( in the package and the stats in medicine article is quite technical) and without any good examples. At the moment I?m thinking 1)find
2010 Dec 23
2
Piece-wise continuous regression with one knot
Windows Vista R 2.10 - I know it is old, I will update later today. How might I perform a piece-wise linear regression where two linear segments are separated by a single knot? In addition to estimating the slopes of the two segments (or the slope in one segment and the difference between the slope of the first and second segment), I would like the analysis to select the optimum knot. My first
2009 Dec 22
1
strucchange | breakpoints - pure structural change model?
Dear R-Team, Am I right supposing that the "breakpoints()" function in the strucchange package is an implementation of the pure structural change model proposed by Bai and Perron (1997, 2003)? My question relates to a partial structural change model that Bai and Perron formulate in their 2003 paper, e.g. formulated as y = x' beta + z' delta_j + epsilon, where beta and delta
2010 Oct 19
2
ANOVA stuffs_How to save each result from FOR command?
Dear R experts, I'm new in R and a beginner in terms of statistics. It should be simple question, but definitely difficult to solve it by myself. I'd like to see main effect of group(gender: sample size is different(M:F=23:18) and one of condition(cond) and the interaction at each subset from 90 datasets So I perform anova 90 times using a command like below; for(i in 1:90)
2008 Jun 12
4
How to increase the for() loop speed?
Dear R users, I would like to know if there is a way to increase the for() loop speed because in my routine the calculations are too slow. Best regards. Rafael Barros de Rezende Cedeplar - Center for Development and Regional Planning Face, UFMG ([1]http://www.cedeplar.ufmg.br) -- Esta mensagem foi verificada pelo sistema de antiv??rus e acredita-se estar livre de
2010 Feb 16
2
for loop Vs apply function Vs foreach (REvolution enhancement)
Dear all, I know this topic has already been covered in other posts (at least the for loop Vs apply family of function), but I am looking for fresh / up-to-date opinion and feedback on those 3 methods to run unavoidable loops in R. I realise that it may be too general question for many, so any feedback appreciated. 1. apply Vs for loop >> Seems apply is (was?) supposed to be faster than
2010 Nov 21
3
R help
Dear All, I'm a beginner user in R and I would like to make a quadratic and plateau model in R. Can you help please with an example? Thanks so much -- Ahmed M. Attia Assistant Lecturer El-Khattara farm Station Agronomy Dept., Zgazig Univ., Egypt Visiting Scientist Haskell Agricultural laboratory Agronomy and Horticultural Dept., Univ. of Nebraska-Lincoln ahmedatia at zu.edu.eg
2008 Jul 18
2
name returned by lapply
Hi there, I have a very simple question. If I execute the following code: test <- function(x) { name <- paste(x,"info_within_function") c(1,2,3,4,5) } ret <- lapply(1:10, test) , I end up with a list and each entry is just numbered [[1]], [[2]], ... [[10]] How can I force the result entries gettings names which are determined within the function. For this example,
2008 Oct 07
3
vectorized sub, gsub, grep, etc.
R pattern-matching and replacement functions are vectorized: they can operate on vectors of targets. However, they can only use one pattern and replacement. Here is code to apply a different pattern and replacement for every target. My question: can it be done better? sub2 <- function(pattern, replacement, x) { len <- length(x) if (length(pattern) == 1) pattern <-
2010 Nov 16
3
Population abundance, change point
I am trying to understand my population abundance data and am looking into analyses of change point to try and determine, at approximately what point do populations begin to change (either decline or increasing). Can anyone offer suggestions on ways to go about this? I have looked into bcp and strucchange packages but am not completely convinced that these are appropriate for my data. Here is