Re: [R] Warning message when starting RStudio

2015-04-24 Thread Sun Shine
On 23/04/15 13:41, Albin Blaschka wrote: Hello Am 23.04.2015 um 09:57 schrieb Berend Hasselman: On 23-04-2015, at 08:45, Sun Shine phaedr...@gmail.com wrote: Hi list Recently, when starting up RStudio, the following warning is being displayed: Error in tools:::httpdPort = 0L

[R] Warning message when starting RStudio

2015-04-23 Thread Sun Shine
Hi list Recently, when starting up RStudio, the following warning is being displayed: Error in tools:::httpdPort = 0L : comparison (4) is possible only for atomic and list types I think that this is specific to RStudio because starting R in a terminal window doesn't produce this message.

Re: [R] Removing words and initials with tm

2015-04-11 Thread Sun Shine
, Apr 10, 2015 at 11:42 PM, Sun Shine phaedr...@gmail.com mailto:phaedr...@gmail.com wrote: Thanks Jeff. I'll add that to the ever-growing list my current studies are generating daily. :-) Cheers S On 10/04/15 14:32, Jeff Newmiller wrote: I suspect

[R] Cluster analysis using term frequencies

2015-03-24 Thread Sun Shine
Hi list I am using the 'tm' package to review meeting notes at a school to identify terms frequently associated with 'learning', 'sports', and 'extra-mural' activities, and then to sort any terms according to these three headers in a way that could be supported statistically (as opposed to,

Re: [R] Using a text file as a removeWord dictionary in tm_map

2015-03-03 Thread Sun Shine
the capacity to read in an externally generated list, it sure would be helpful. Thanks. Sun On 02/03/15 07:36, Sun Shine wrote: Thanks Jim. I thought that I was passing a vector, not realising I had converted this to a list object. I haven't come across the scan() function so far, so

Re: [R] Using a text file as a removeWord dictionary in tm_map

2015-03-01 Thread Sun Shine
you want to do, not how you want to do it. On Sat, Feb 28, 2015 at 8:46 AM, Sun Shine phaedr...@gmail.com wrote: Hi list Although this query applies specifically to the tm package, perhaps it's something that others might be able to lend a thought to. Using tm to do some initial text mining, I

[R] Using a text file as a removeWord dictionary in tm_map

2015-02-28 Thread Sun Shine
Hi list Although this query applies specifically to the tm package, perhaps it's something that others might be able to lend a thought to. Using tm to do some initial text mining, I want to include an external (to R) generated dictionary of words that I want removed from the corpus. I have

[R] Solved: Re: text miner error: Error in UseMethod(meta, x)

2015-02-26 Thread Sun Shine
earlier in the preparation stage. If anyone has more informed insight, please share. Cheers Sun On 25/02/15 17:33, Sun Shine wrote: Hi list I've been working my way through a tutorial on text mining ( http://onepager.togaware.com/TextMiningO.pdf ) and all was well until I came across

[R] Rgraphviz and NA indices error

2015-02-26 Thread Sun Shine
Hi list Can someone help me debug the following please: Having downloaded and installed the bioconductor packages and Rgraphviz, I am attempting to plot a network graph showing the relation among chosen words in the corpus of text data. I first did this: plot(dtm, terms=findFreqTerms(dtm,

[R] text miner error: Error in UseMethod(meta, x)

2015-02-25 Thread Sun Shine
Hi list I've been working my way through a tutorial on text mining ( http://onepager.togaware.com/TextMiningO.pdf ) and all was well until I came across this problem using tm (text miner): ++code+++ docs - tm_map(docs, content_transformer(tolower)) Warning messages:

[R] Noob question re: writing while loops on one line

2015-02-15 Thread Sun Shine
Hi list I'm working through some exercises and did a while loop which raised an issue for me: I can write out the while loop so: count - 0 while(count 10) { print(count) count - count + 1 } And this works fine. Trying to do the same thing all on one line however gives this

Re: [R] Noob question re: writing while loops on one line

2015-02-15 Thread Sun Shine
Sun, Try including a semicolon. while(count 10) { print(count); count-count+1 } Jim On Sun, Feb 15, 2015 at 9:20 PM, Sun Shine phaedr...@gmail.com wrote: Hi list I'm working through some exercises and did a while loop which raised an issue for me: I can write out the while loop so: count

Re: [R] Noob question re: writing while loops on one line

2015-02-15 Thread Sun Shine
? Thanks again Sun On 15/02/15 10:41, Jim Lemon wrote: Hi Sun, Try including a semicolon. while(count 10) { print(count); count-count+1 } Jim On Sun, Feb 15, 2015 at 9:20 PM, Sun Shine phaedr...@gmail.com wrote: Hi list I'm working through some exercises and did a while loop which raised

Re: [R] Updating to R 3.1.1. - impacts on existing packages

2015-02-03 Thread Sun Shine
are dropped due to better support in different packages or lack of maintainer activity, so not all packages thus copied may end up usable. On Mon, 2 Feb 2015, Henrik Bengtsson wrote: On Mon, Feb 2, 2015 at 4:49 PM, Sun Shine phaedr...@gmail.com wrote: Hi list I've signed up for a Coursera course

[R] Updating to R 3.1.1. - impacts on existing packages

2015-02-02 Thread Sun Shine
Hi list I've signed up for a Coursera course on exploratory data analysis, and the recommendation is to update to R base 3.1.1. I'm currently on 3.0.2. If I do upgrade, what is the best way for me to upgrade all my packages for compatibility? Would this be accomplished through the command:

[R] Working with data frames

2014-12-11 Thread Sun Shine
Hello I am struggling with data frames and would appreciate some help please. I have a data set of 13 observations and 80 variables. The first column is the names of different political area boundaries (e.g. MHad, LBNW, etc), the first row is a vector of variable names concerning various

Re: [R] Working with data frames

2014-12-11 Thread Sun Shine
. You do need to learn how to use them to your advantage. Bill Dunlap TIBCO Software wdunlap tibco.com http://tibco.com On Thu, Dec 11, 2014 at 5:00 AM, Sun Shine phaedr...@gmail.com mailto:phaedr...@gmail.com wrote: Hello I am struggling with data frames and would appreciate some

[R] analyzing qualitative data sets

2014-07-29 Thread Sun Shine
Hello list I'm just beginning my PhD and am likely to be using lots of surveys in my data collection, and am wanting to get my head around the ideas about how best to approach the tasks in R. The data sets I have collected so far for some preliminary practise with are made up of the

Re: [R] analyzing qualitative data sets

2014-07-29 Thread Sun Shine
Rich On Tue, Jul 29, 2014 at 9:01 AM, Sun Shine phaedr...@gmail.com wrote: Hello list I'm just beginning my PhD and am likely to be using lots of surveys in my data collection, and am wanting to get my head around the ideas about how best to approach the tasks in R. The data sets I have

Re: [R] analyzing qualitative data sets

2014-07-29 Thread Sun Shine
Data is not information. Information is not knowledge. And knowledge is certainly not wisdom. Clifford Stoll On Tue, Jul 29, 2014 at 6:01 AM, Sun Shine phaedr...@gmail.com wrote: Hello list I'm just beginning my PhD and am likely to be using lots of surveys in my data collection, and am

Re: [R] Translating a basic Python script into R

2013-12-29 Thread sun shine
Hi Ista On 28/12/13 23:06, Ista Zahn wrote: Hi, snip I don't see any nested conditions in the python code... A direct translation in R looks almost the same, except that you need to group using parentheses and brackets instead of whitespace, and there is no += in R (at least not that I'm aware

Re: [R] Translating a basic Python script into R

2013-12-29 Thread sun shine
On 29/12/13 10:45, YuHong wrote: In my opinion, the best usages of Python and R should be for different type of tasks respectively. For example, Python is good for automating miscellaneous tasks, while R is good for list data processing and statistical modelling. Therefore when you become

[R] Translating a basic Python script into R

2013-12-28 Thread sun shine
Hi I am attempting to translate some of the models that Donella Meadows wrote about in her book Thinking in systems into code. Originally, I had wanted to do this in Python, but thought that it would be fun to see if it is feasible to do so in R, especially given the plotting capacity of R.