Re: [R] trouble for parsing HTML files

2012-03-23 Thread Julien Velcin
-4 Thank you! Julien On Mar 22, 2012, at 10:12 PM, R. Michael Weylandt wrote: Please give sessionInfo() so we can know your version of XML. Michael On Thu, Mar 22, 2012 at 2:04 PM, Julien Velcin jvel...@chirouble.univ-lyon2.fr wrote: I use mac OS 10.5.8 with this version of R: R version

Re: [R] trouble for parsing HTML files

2012-03-23 Thread Julien Velcin
Thank you for your comments Michael, but : i) The website is generating different content for you than for Milan and me [wild guess] It'd be highly surprising. If this is the case, I don't know what I can do to fix it. ii) Something in the OS 10.5 - 10.6 difference [process of

[R] trouble for parsing HTML files

2012-03-22 Thread Julien Velcin
Hi all, Using the XML package, I'm not able to parse some html webpages. Here is my code and the error message: library(XML) url - http://www.huffingtonpost.com/social/GraniteSkyline?action=fans; doc - htmlParse(url) Error: Namespace prefix ꛀ of attribute (null) is not defined I've

Re: [R] trouble for parsing HTML files

2012-03-22 Thread Julien Velcin
Sorry for the multiple messages. -- I use mac OS 10.5.8 with this version of R: R version 2.14.1 (2011-12-22) Platform: i386-apple-darwin9.8.0/i386 (32-bit) I've tried the command RSiteSearch, but with no result. BTW, I recall that the code I've posted works for some websites. Julien

Re: [R] trouble for parsing HTML files

2012-03-22 Thread Julien Velcin
...@club.fr: Le jeudi 22 mars 2012 à 17:20 +0100, Julien Velcin a écrit : Hi all, Using the XML package, I'm not able to parse some html webpages. Here is my code and the error message: library(XML) url - http://www.huffingtonpost.com/social/GraniteSkyline?action=fans; doc - htmlParse(url

Re: [R] Troubles with stemming (tm + Snowball packages) under MacOS

2012-02-04 Thread Julien Velcin
] Loading properties and plugins... [KnowledgeFlow] Initializing KF... Julien Velcin wrote I have desactivated AWT (like written in http://r.789695.n4.nabble.com/Problem-with-Snowball-amp-RWeka-td3402126.html) with : Sys.setenv(NOAWT=TRUE) The command tm_map(reuters, stemDocument) gives

Re: [R] Troubles with stemming (tm + Snowball packages) under MacOS

2012-01-16 Thread Julien Velcin
'porter' unknown! Stemmer 'english' unknown! BTW, thank you very much for your assistance. Julien On Jan 16, 2012, at 10:40 AM, Milan Bouchet-Valat wrote: Le dimanche 15 janvier 2012 à 23:06 +0100, Julien Velcin a écrit : I use the version 1.6: $ java -version java version 1.6.0_26 OK, so

Re: [R] Troubles with stemming (tm + Snowball packages) under MacOS

2012-01-16 Thread Julien Velcin
/R.framework/Versions/2.14/ Resources/library/tcltk/libs/x86_64/tcltk.so Reason: image not found Julien On Jan 16, 2012, at 11:47 AM, Milan Bouchet-Valat wrote: Le lundi 16 janvier 2012 à 11:27 +0100, Julien Velcin a écrit : I had already seen this post. If I'm logged as root (it is possible under

Re: [R] Troubles with stemming (tm + Snowball packages) under MacOS

2012-01-16 Thread Julien Velcin
My libraries are not in /Library/Frameworks/... but in /Users/ myname/Library/R/2.14/library/... I have made a chmod a+x for all the files (including the directories). No changes :(. Besides, I have already tried to re-install the packages (using different version of R: 2.12, 2.13, 2.4).

Re: [R] Troubles with stemming (tm + Snowball packages) under MacOS

2012-01-16 Thread Julien Velcin
Yes, I've tried to repair the permissions through Disk Utility. But it doesn't work. Julien The fact that the OP knows how to log in as root an a Mac suggests that he probably already knows that the Disk Utility.app program is the typical way to check and repair permissions, but I

Re: [R] Troubles with stemming (tm + Snowball packages) under MacOS

2012-01-15 Thread Julien Velcin
I use the version 1.6: $ java -version java version 1.6.0_26 Julien On Jan 15, 2012, at 8:55 PM, Milan Bouchet-Valat wrote: Le dimanche 15 janvier 2012 à 16:32 +0100, Julien Velcin a écrit : Unfortunately, it doesn't work. I've installed JGR and launched my script. I still obtain an error

[R] Troubles with stemming (tm + Snowball packages) under MacOS

2012-01-13 Thread Julien Velcin
Dear all, I have some troubles using the stemming algorithm provided by the tm (text mining) + Snowball packages. Here is my config: MacOS 10.5 R 2.12.0 / R 2.13.1 / R 2.14.1 (I have tried several versions) I have installed all the needed packages (tm, rJava, rWeka, Snowball) +