thanks Pascal. actually, right after I sent the post I realized that I didn't send my sessionInfo (at the bottom of this message now). Just to make sure, everything in my script works except for the line with stemDocument, which was commented in my gist. Below is the specific warning I am getting:
> corpus <- tm_map(corpus, stemDocument, language = "english") Warning message: In parallel::mclapply(x, FUN, ...) : all scheduled cores encountered errors in user code > sessionInfo() R version 3.0.1 (2013-05-16) Platform: x86_64-apple-darwin10.8.0 (64-bit) locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets methods base On Wed, Sep 4, 2013 at 12:54 AM, Pascal Oettli <kri...@ymail.com> wrote: > Hello, > > Your example worked for me. > > R> sessionInfo() > R version 3.0.1 Patched (2013-09-02 r63805) > Platform: x86_64-unknown-linux-gnu (64-bit) > > locale: > [1] LC_CTYPE=en_GB.UTF-8 LC_NUMERIC=C > [3] LC_TIME=en_GB.UTF-8 LC_COLLATE=en_GB.UTF-8 > [5] LC_MONETARY=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8 > [7] LC_PAPER=C LC_NAME=C > [9] LC_ADDRESS=C LC_TELEPHONE=C > [11] LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C > > attached base packages: > [1] stats graphics grDevices utils datasets methods base > > other attached packages: > [1] scatterplot3d_0.3-33 lsa_0.63-3 RWeka_0.4-19 > [4] Snowball_0.0-10 ggplot2_0.9.3.1 tm_0.5-9.1 > > loaded via a namespace (and not attached): > [1] colorspace_1.2-2 dichromat_2.0-0 digest_0.6.3 grid_3.0.1 > [5] gtable_0.1.2 labeling_0.2 MASS_7.3-29 munsell_0.4.2 > [9] parallel_3.0.1 plyr_1.8 proto_0.3-10 > RColorBrewer_1.0-5 > [13] reshape2_1.2.2 rJava_0.9-4 RWekajars_3.7.10-1 scales_0.2.3 > [17] slam_0.1-28 stringr_0.6.2 > > > Regards, > Pascal > > > > 2013/9/4 Ricardo Pietrobon <pietr...@gmail.com> >> >> https://gist.github.com/rpietro/6430771 >> >> stemDocument function doesn't seem to be working. Tried to look up and >> a few people have reported the problem, but no solution that I could >> find. >> >> would appreciate any help >> >> ______________________________________________ >> R-help@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide >> http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. > > ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.