Rstem Being Added to CRAN

1 view
Skip to first unread message

Tim Jurka

unread,
Aug 18, 2011, 3:03:00 PM8/18/11
to rtextto...@googlegroups.com
Hi team,

I've talked with Duncan Temple Lang at UC Davis (the author of Rstem), and he agreed to include Rstem in the CRAN repository. This means that RTextTools will be available on CRAN without any third-party repositories.

The release schedule has been approximately one update per week, but that will slow down after next Monday's release (v1.3 - 8/22). When v1.3 is released, it will be a stable, fully documented package that is installable from CRAN using the command install.packages("RTextTools"). This means that the install.rtexttools.com repository will be taken down once the RJournal article is approved for publication, and the manuscript will be revised accordingly.

Best,
Tim

Amber Boydstun

unread,
Aug 20, 2011, 8:39:28 PM8/20/11
to rtextto...@googlegroups.com
Great -- thanks Tim!

A.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Amber E. Boydstun
Assistant Professor
Department of Political Science
University of California, Davis
One Shields Ave
Davis, CA 95616

http://psfaculty.ucdavis.edu/boydstun/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Jon Moody

unread,
Aug 22, 2011, 12:43:17 AM8/22/11
to rtextto...@googlegroups.com
Hey all,

There appears to be a problem with the documentation loading on the website if you've designated adobe reader as your default pdf viewer.  I've misplaced the documentation I'd grabbed earlier, could someone shoot me a copy of both the getting started guide and docs (I don't remember the syntax off the top of my head).

But as a side note, everything installs off the CRAN mirrors like a dream.

Thanks!

- Jon

Tim Jurka

unread,
Aug 22, 2011, 12:48:05 AM8/22/11
to rtextto...@googlegroups.com
Hi Jon,

Glad to hear! Just out of curiosity, was this on Windows or MacOS X?

Unfortunately I can't do anything about the PDFs not loading; it's likely something is wrong with your installation of Adobe Reader. I've attached the PDFs below.

Best,
Tim

--
Timothy P. Jurka
Department of Political Science
University of California, Davis
www.timjurka.com

RTextTools_GettingStarted.pdf
RTextTools.pdf

Jon Moody

unread,
Aug 22, 2011, 12:56:50 AM8/22/11
to rtextto...@googlegroups.com
I'm working on a Win 7 Machine.  I'll give Adobe another look over to see if something went haywire.  Thanks for the pdfs.

- Jon


On Aug 21, 2011, at 9:43 PM, Jon Moody wrote:

Hey all,

There appears to be a problem with the documentation loading on the website if you've designated adobe reader as your default pdf viewer.  I've misplaced the documentation I'd grabbed earlier, could someone shoot me a copy of both the getting started guide and docs (I don't remember the syntax off the top of my head).

But as a side note, everything installs off the CRAN mirrors like a dream.

Thanks!

- Jon
On Sat, Aug 20, 2011 at 8:39 PM, Amber Boydstun <aboy...@ucdavis.edu> wrote:
Great -- thanks Tim!

A.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Amber E. Boydstun
Assistant Professor
Department of Political Science
University of California, Davis

Jon Moody

unread,
Aug 22, 2011, 1:04:20 AM8/22/11
to rtextto...@googlegroups.com
I've reinstalled the latest Adobe reader and can happily report that the docs load fine; however, the "getting started" guide claims there is a missing plugin.

- Jon

Tim Jurka

unread,
Aug 22, 2011, 1:45:50 AM8/22/11
to rtextto...@googlegroups.com
Don't know what the problem might be... it's just a standard PDF.

Tim

Jon Moody

unread,
Aug 22, 2011, 10:22:44 AM8/22/11
to rtextto...@googlegroups.com
Hey all,

Totally separate issue here.  I'm spacing on the specifics for how to get the read_data function to work correctly.  I have my test data in both access and csv formats, but I've looked throughout the entire docs and "getting started file" and only see references to "data/xxx", with no description of where the data should be located or if you can put a full file pathway in there.  Further, when I've attempted to put a file pathway, R claims not to recognize the read_data command at all.

Thoughts?

Thanks!  (and please be patient with me as my R skills are quite rusty)

- Jon

Tim Jurka

unread,
Aug 22, 2011, 12:59:54 PM8/22/11
to rtextto...@googlegroups.com
Hi Jon,

Could you send me the command you're using? If you're using the file path, it should look something like:

data <- read_data("C:/path/to/your/data",type="csv")

Tim

Jon Moody

unread,
Aug 22, 2011, 1:25:57 PM8/22/11
to rtextto...@googlegroups.com
data <- read_data(system.file("c:/Users/Jon/Desktop/Desktop/Dissertation/Datasets/Candidates/Speeches/2004/Bush Compiling/BushTest.csv",package="RTextTools"),type="csv")

I've also tried it omitting the "system.file" and "package=RTextTools" commands.

As a side note, when I ran the library(RTextTools) command, it says there's an error when trying to load Rstem,

Thanks,

- Jon

Tim Jurka

unread,
Aug 22, 2011, 1:27:45 PM8/22/11
to rtextto...@googlegroups.com
Does it say what the error is?

data <- read_data("c:/Users/Jon/Desktop/Desktop/Dissertation/Datasets/Candidates/Speeches/2004/Bush Compiling/BushTest.csv",type="csv")

That should work.

Best,
Tim

Jon Moody

unread,
Aug 22, 2011, 1:38:35 PM8/22/11
to rtextto...@googlegroups.com
The error is as follows:

Error: could not find function read_data.

I ran the install command  - install.packages("RTextTools") and then brought RTextTools into the active workspace with the library(RTextTools) command... but it just won't recognize the read_data command let me bring in the data.

Thanks again,

- Jon

Tim Jurka

unread,
Aug 22, 2011, 2:20:57 PM8/22/11
to rtextto...@googlegroups.com
You said there was an error importing Rstem... that means the package wasn't loaded hence the read_data error. What error did you run into with Rstem? Try to reinstall it with install.packages("Rstem").

Tim

Jon Moody

unread,
Aug 22, 2011, 3:24:02 PM8/22/11
to rtextto...@googlegroups.com
I started from scratch and reinstalled R and all the packages and it appears to be working now.

Thanks for all your help!

- Jon

Amber Boydstun

unread,
Aug 22, 2011, 4:01:04 PM8/22/11
to rtextto...@googlegroups.com
Thanks for this test run Jon -- very helpful!  And Tim, thanks for fixing things.


A.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Amber E. Boydstun
Assistant Professor
Department of Political Science
University of California, Davis
One Shields Ave
Davis, CA 95616

http://psfaculty.ucdavis.edu/boydstun/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Reply all
Reply to author
Forward
0 new messages