Howdy Gurus again

Thanks to  Tony.Breyal, I was able to writing the following script for
analyzing a text document.
But I got an error with "tm' package. I don't why I got the error from the R
script below. I think I followed proccess of R tm manual.

I use R v2.8.1. and tm_0.3-3.zip under Win XP.

Thanks in advance,

Kum Hwang

> # setting directory
> my.path <-'C:\\_work\\Daddy"s\\myProjects\\2009
defaultProject\\R\\textfile\\'
>
> # text miner pakacge
> library(tm)
Loading required package: Snowball
Loading required package: RWeka
---------------------------------------------------------
Error in .jinit(system.file("jar", c("weka.jar", "RWeka.jar"), package =
pkgname,  :
  Cannot create Java virtual machine (-1)
Error : .onLoad failed in 'loadNamespace' for 'RWeka'
Error: package 'RWeka' could not be loaded
> my.corpurs <-Corpus(DirSource(my.path), readerControl =
list(reader=readPlain))
Error: could not find function "Corpus"
> my.tdm <- TermDocMatrix(my.corpus)
Error: could not find function "TermDocMatrix"
> my.tdm[1,]
Error: object "my.tdm" not found


-- 
Kum-Hoe Hwang, Ph.D.

Phone : 82-31-250-3516
Email : phdhwang@gmail.com

	[[alternative HTML version deleted]]


