Re: [R] Popularity of R, SAS, SPSS, Stata...

2010-06-20 Thread Muenchen, Robert A (Bob)
15:31, schrieb Muenchen, Robert A (Bob): > >> I've been fiddling around with various ways to estimate the popularity >> of R, SAS, SPSS, Stata, JMP, Minitab, Statistica, Systat, BMDP, S- >PLUS, >> R-PLUS and Revolution R. It's not an easy task. You can see what I'v

Re: [R] Popularity of R, SAS, SPSS, Stata...

2010-06-20 Thread Muenchen, Robert A (Bob)
gt; >On Jun 20, 2010, at 10:24 AM, Stefan Grosse wrote: > >> Am 20.06.2010 15:31, schrieb Muenchen, Robert A (Bob): >> >>> I've been fiddling around with various ways to estimate the >>> popularity >>> of R, SAS, SPSS, Stata, JMP, Minitab, Statist

Re: [R] Popularity of R, SAS, SPSS, Stata...

2010-06-20 Thread Muenchen, Robert A (Bob)
>I wonder if there are any capture-recapture type methodologies for >estimating open-source software usage? Another idea would be to >combine with some other known numbers, e.g. book sales, conference >attendance etc. You'd need personal information to link the data sets >together. > >Hadley This

Re: [R] Popularity of R, SAS, SPSS, Stata...

2010-06-20 Thread Muenchen, Robert A (Bob)
>-Original Message- >From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] >On Behalf Of Ted Harding >Sent: Sunday, June 20, 2010 3:42 PM >To: r-help@r-project.org >Subject: Re: [R] Popularity of R, SAS, SPSS, Stata... > > >I've given thought in the past to the question

Re: [R] Popularity of R, SAS, SPSS, Stata...

2010-06-20 Thread Muenchen, Robert A (Bob)
www.R-project.org. > >So instead of searching for "R", searching for "R Development Core Team" >might give better results. And same thing for SAS or any other >softwares. > >If that doesn't help, just forget it! > >Ivan > > > >Le 20 juin

Re: [R] Popularity of R, SAS, SPSS, Stata...

2010-06-20 Thread Muenchen, Robert A (Bob)
>-Original Message- >From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] >On Behalf Of Hadley Wickham ... What about snowball >sampling with R-help as an initial frame? That's an interesting idea! I could put together a Two-item web survey: 1. What stat package do

Re: [R] Popularity of R, SAS, SPSS, Stata...

2010-06-20 Thread Muenchen, Robert A (Bob)
>-Original Message- >From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] >On Behalf Of Muenchen, Robert A (Bob) >Sent: Sunday, June 20, 2010 6:43 PM >To: Hadley Wickham; ted.hard...@manchester.ac.uk >Cc: r-help@r-project.org >Subject: Re: [R]

Re: [R] Popularity of R, SAS, SPSS, Stata...

2010-06-21 Thread Muenchen, Robert A (Bob)
>-Original Message- >From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] >On Behalf Of Ted Harding >Sent: Sunday, June 20, 2010 9:01 PM >To: r-help@r-project.org >Subject: Re: [R] Popularity of R, SAS, SPSS, Stata... ... > >John and I discussed the snowball idea at so

Re: [R] Popularity of R, SAS, SPSS, Stata...

2010-06-21 Thread Muenchen, Robert A (Bob)
t;that one class I barely survived". I debated what to call that page and ended up using "Analytical Software". I'm not so happy with that either. -Bob > >On 20/06/2010 23:46, Muenchen, Robert A (Bob) wrote: >> >> >>> -Original Message-

Re: [R] Popularity of R, SAS, SPSS, Stata...

2010-06-21 Thread Muenchen, Robert A (Bob)
>-Original Message- >From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] >On Behalf Of Joris Meys >Sent: Monday, June 21, 2010 5:32 AM >To: Patrick Burns >Cc: r-help@r-project.org >Subject: Re: [R] Popularity of R, SAS, SPSS, Stata... > >On Mon, Jun 21, 2010 at 11:15

Re: [R] Popularity of R, SAS, SPSS, Stata...

2010-06-22 Thread Muenchen, Robert A (Bob)
vor...@gmail.com] >Sent: Monday, June 21, 2010 9:12 AM >To: Muenchen, Robert A (Bob) >Cc: ted.hard...@manchester.ac.uk; r-help@r-project.org >Subject: Re: [R] Popularity of R, SAS, SPSS, Stata... > >One should also take into account the other R list. For example, as of >today the n

Re: [R] Popularity of R, SAS, SPSS, Stata...

2010-06-24 Thread Muenchen, Robert A (Bob)
>-Original Message- >From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] >On Behalf Of Dr. David Kirkby >Sent: Tuesday, June 22, 2010 7:49 PM >To: r-help@r-project.org >Subject: Re: [R] Popularity of R, SAS, SPSS, Stata... ... > >I don't know how practical it is with

Re: [R] Popularity of R, SAS, SPSS, Stata...

2010-06-25 Thread Muenchen, Robert A (Bob)
>-Original Message- >From: Liviu Andronic [mailto:landronim...@gmail.com] >Sent: Friday, June 25, 2010 7:15 AM >To: Muenchen, Robert A (Bob) >Cc: r-help@r-project.org >Subject: Re: [R] Popularity of R, SAS, SPSS, Stata... > >On Sun, Jun 20, 2010 at 2:31 PM,

Re: [R] Popularity of R, SAS, SPSS, Stata...

2010-06-25 Thread Muenchen, Robert A (Bob)
I had taken the opposite tack with Google Trends by subtracting keywords like: SAS -shoes -airlines -sonar... but never got as good results as that beautiful "X code for" search. When you see the end-of-semester panic bumps in traffic, you know you're nailing it! I see that there's a car, the R

Re: [R] Popularity of R, SAS, SPSS, Stata...

2010-06-25 Thread Muenchen, Robert A (Bob)
>-Original Message- >From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] >On Behalf Of Muenchen, Robert A (Bob) >Sent: Friday, June 25, 2010 3:08 PM >To: Joris Meys; Dario Solari >Cc: r-help@r-project.org >Subject: Re: [R] Popularity of R, SAS

Re: [R] Popularity of R, SAS, SPSS, Stata...

2010-06-26 Thread Muenchen, Robert A (Bob)
>-Original Message- >From: Joris Meys [mailto:jorism...@gmail.com] >Sent: Friday, June 25, 2010 10:10 PM >To: Muenchen, Robert A (Bob) >Cc: Dario Solari; r-help@r-project.org >Subject: Re: [R] Popularity of R, SAS, SPSS, Stata... > >>>I had taken the oppos

[R] (New) Popularity of R, SAS, SPSS, Stata...

2010-06-28 Thread Muenchen, Robert A (Bob)
Greeting Listserv Readers, At http://r4stats.com/popularity I have added plots, data, and/or discussion of: 1. Scholarly impact of each package across the years 2. The number of subscribers to some of the listservs 3. How popular each package is among Google searches across the years 4. Survey re

[R] Data Mining Survey

2010-05-12 Thread Muenchen, Robert A (Bob)
Dear R-Helpers, SAS Institute just mailed out the notice below regarding a survey of people who do data mining. To help keep the survey from becoming biased toward commercial software, I thought it would be good to post it here as well. Cheers, Bob Fourth Annual Data Miner Survey Rexer Analytics

Re: [R] Data Mining Survey

2010-05-12 Thread Muenchen, Robert A (Bob)
Oops! I forgot that R-help strips out HTML. When I checked the link, it referenced SAS.COM. I've written Karl Rexer for a more appropriate one. More soon. -Bob >-Original Message- >From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] >On Behalf Of Muen

Re: [R] Data Mining Survey

2010-05-12 Thread Muenchen, Robert A (Bob)
t;On Behalf Of Muenchen, Robert A (Bob) >Sent: Wednesday, May 12, 2010 8:54 AM >To: r-help@r-project.org >Subject: [R] Data Mining Survey > >Dear R-Helpers, > >SAS Institute just mailed out the notice below regarding a survey of >people who do data mining. To help keep t

Re: [R] SAS for R-users

2010-05-15 Thread Muenchen, Robert A (Bob)
> Thomas Levine wrote: >Bob Muenchen says that 'Ralph O’Brien says that >in a few years there will be so many students >graduating knowing mainly R that [he]’ll need to >write, “SAS for R Users.” That’ll be the day!' Heh! I quite agree. I've had a few people write me saying they had used my book

Re: [R] A primitive OO in R -- where next?

2010-05-15 Thread Muenchen, Robert A (Bob)
Hi All, This was a very interesting question & I enjoyed reading everyone's responses. I've played around with it and summarized some of the variations below. Cheers, Bob # A fun example of how a list can store both a function # and data for that function. # Create a list that contains both a

[R] R for Stata Users

2010-05-22 Thread Muenchen, Robert A (Bob)
Dear R-Helpers, If you know of any Stata users looking to learn R, our book "R for Stata Users" finally shipped this week. A software snag delayed the printing of all Springer books for quite a few weeks. A description of that book, and reviews of its predecessor, "R for SAS and SPSS Users" is at

[R] Teaching R: To quote, or not to quote?

2011-03-07 Thread Muenchen, Robert A (Bob)
Hi All, When I teach an intro workshop on R, I've been minimizing "quote confusion" by always using quotes around package names in function calls. For example: install.packages("Hmisc") update.packages("Hmisc") library("Hmisc") citation("Hmisc") search() # displays package names in quotes detac

[R] Popularity of R, SAS, SPSS, Stata, Statistica, S-PLUS updated

2011-03-22 Thread Muenchen, Robert A (Bob)
Greetings, I've just put out the latest version of "The Popularity of Data Analysis Software" at http://r4stats.com/popularity. This update includes complete data for 2010, the addition of number of blogs for each software, more coverage of Statistica, and, where possible, measures regarding th

[R] Programming examples added to r4stats.com

2011-08-31 Thread Muenchen, Robert A (Bob)
Hi All, I now have programming examples for common research tasks done in R, SAS, SPSS and Stata at http://r4stats.com. The examples fall into the following categories: Data Import & Export Data Management Enhancing Output Graphics, ggplot2 Graphics, Traditional Selecting Variables and Observa

[R] NA vs.

2008-04-04 Thread Muenchen, Robert A (Bob)
Dear R-Helpers, Why does R show character missing values in vectors as NA and when stored in a data frame as ? I've searched but did not find an explanation. Thanks, Bob > gender <- c("f","f","f",NA,"m","m","m","m") > gender [1] "f" "f" "f" NA "m" "m" "m" "m" #here it lacks brackets. > > q1 <

Re: [R] NA vs.

2008-04-04 Thread Muenchen, Robert A (Bob)
riginal Message- > From: Peter Dalgaard [mailto:[EMAIL PROTECTED] > Sent: Friday, April 04, 2008 12:18 PM > To: Muenchen, Robert A (Bob) > Cc: [EMAIL PROTECTED] > Subject: Re: [R] NA vs. > > Muenchen, Robert A (Bob) wrote: > > Dear R-Helpers, > > > >

[R] .Rprofile, date tagging history, loading packages

2008-04-13 Thread Muenchen, Robert A (Bob)
Dear R-Helpers, I'm fiddling with my .Rprofile in Windows XP & R 2.7.0 Beta. I prefer to manually save my workspace but automatically save my command history via the .Rprofile. That is working fine once I found that "utils::" was required before the loadhistory & savehistory functions. What I woul

Re: [R] .Rprofile is being executed twice

2008-05-17 Thread Muenchen, Robert A (Bob)
I think I did that once by accidentally placing the .Rprofile in two places. In Windows I think that was the directory that contains the R executable and in My Documents. I think you can also cause this by setting your working directory in your .Rprofile with setwd() and then it runs any .Rprofile

[R] p.adjust on matrix of P-values from correlations

2007-11-20 Thread Muenchen, Robert A (Bob)
Hi All, I'm stumped on something that must be trivial. I created a correlation matrix on 4 variables (6 correlations) using Hmisc's rcorr function. I wanted to correct the P-value matrix for the number of tests done, so I ran it through the p.adjust function. That function adjusted for the 12 p-va

Re: [R] Articles about comparision between R and others softwares

2008-09-06 Thread Muenchen, Robert A (Bob)
, but Patrick Burns' excellent rejoinder to that report fills in much of the missing R material. It is at that link too. The accuracy of various stat packages, including R, is in: Keeling, Kellie B. and Pavur, Robert J. A comparative study of the reliability of nine statistical software packag

Re: [R] Sampling

2008-10-10 Thread Robert W. Baer, Ph.D.
How about: T2=rnorm(1000) temp=list(NULL) for(i in 1:5){temp[[i]]<-sample(T2,40,replace=F)};show(temp) - Original Message - From: "Rolf Turner" <[EMAIL PROTECTED]> To: "Alex99" <[EMAIL PROTECTED]> Cc: Sent: Friday, October 10, 2008 3:36 PM Subject: Re: [R] Sampling On 11/10/2008

Re: [R] Fw: Logistic regresion - Interpreting (SENS) and (SPEC)

2008-10-13 Thread Robert W. Baer, Ph.D.
- Original Message - From: "Frank E Harrell Jr" <[EMAIL PROTECTED]> To: "John Sorkin" <[EMAIL PROTECTED]> Cc: ; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, October 13, 2008 2:09 PM Subject: Re: [R] Fw: Logistic regresion - Interpreting (SENS) and (SPEC) John Sorkin wrote

[R] The Quality & Accuracy of R

2009-01-23 Thread Muenchen, Robert A (Bob)
Hi All, We have all had to face skeptical colleagues asking if software made by volunteers could match the quality and accuracy of commercially written software. Thanks to the prompting of a recent R-help thread, I read, "R: Regulatory Compliance and Validation Issues, A Guidance Document for t

Re: [R] The Quality & Accuracy of R

2009-01-26 Thread Muenchen, Robert A (Bob)
That's a great idea. I know of no commercial vendors who provide such detailed info. Bob -Original Message- From: Gabor Grothendieck [mailto:ggrothendi...@gmail.com] Sent: Monday, January 26, 2009 7:52 PM To: Muenchen, Robert A (Bob) Cc: R-help@r-project.org Subject: Re: [R] The Qu

[R] SAS Institute Adding Support for R

2009-02-12 Thread Muenchen, Robert A (Bob)
Hi Folks, SAS Institute is adding official support for R: http://support.sas.com/rnd/app/studio/Rinterface2.html Cheers, Bob = Bob Muenchen (pronounced Min'-chen), Manager, Research Computing Support U of TN Office of Infor

Re: [R] Zoo or TS

2009-02-22 Thread Robert W. Baer, Ph.D.
You have not really made it clear what you are trying to do, and I don't see the zoo vs ts involvement in your question. Also, your test data and code snippet you give are not quite consistent. Thus, my advice is really a long-shot guess. Assume your data looks like: Time Date Rank Topic Titl

[R] Barplot w/ single stacked bar

2008-01-24 Thread Muenchen, Robert A (Bob)
Hi All, I can get the barplot function to do many types of plots, stacked or otherwise. However, I cannot get it to do a *single* stacked bar. I've searched several books & listserv archives to no avail. I suspect I'm missing the obvious from the help file! I can reach my goal in ggplot2, althoug

Re: [R] Barplot w/ single stacked bar

2008-01-24 Thread Muenchen, Robert A (Bob)
al Message- > From: Marc Schwartz [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 24, 2008 11:32 AM > To: Muenchen, Robert A (Bob) > Cc: [EMAIL PROTECTED] > Subject: Re: [R] Barplot w/ single stacked bar > > Muenchen, Robert A (Bob) wrote: > > Hi All, > > >

Re: [R] [OT] Open source archive program on windows

2008-01-27 Thread Muenchen, Robert A (Bob)
This is a popular one: http://www.7-zip.org/ Cheers, Bob > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > project.org] On Behalf Of Duncan Murdoch > Sent: Sunday, January 27, 2008 6:37 PM > To: David Scott > Cc: [EMAIL PROTECTED] > Subject: Re: [R] [OT] Open sour

Re: [R] Form Pairs of Variables for a paired t-test

2008-01-30 Thread Muenchen, Robert A (Bob)
That's a dandy little program but the apply with lapply blew my mind! I had to pick it apart to figure out what it was doing. Perhaps others will find this expanded version useful: # Make up some repeated measures data with measures at 4 times. t1<-c(1,2,3,4,5) t2<-c(2,3,3,5,5) t3<-c(3,3,4,4,4)

Re: [R] How many R packages?

2008-02-12 Thread Muenchen, Robert A (Bob)
fferent packages in this context? Thanks, Bob > -Original Message- > From: Henrique Dallazuanna [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 12, 2008 9:58 AM > To: Muenchen, Robert A (Bob) > Cc: [EMAIL PROTECTED] > Subject: Re: [R] How many R packages? > >

[R] How many R packages?

2008-02-12 Thread Muenchen, Robert A (Bob)
Hi All, I searched around to find the number of R packages currently available, but didn't find anything, so I choose all repositories & told it to install. The list contained about 2,856 (correcting roughly for those installed). But the list includes repetitions such as 19 names that begin with "

[R] Non-visible functions are asterisked

2008-03-08 Thread Muenchen, Robert A (Bob)
Dear R-Helpers, I suspect I'm about to ask a FAQ, but I haven't been able to find an answer in the FAQ, AItR or an R Site Search. When I look at the methods of summary (below) it says, "Non-visible functions are asterisked". I looked at the help file for summary.princomp, which did not comment on

Re: [R] Non-visible functions are asterisked

2008-03-08 Thread Muenchen, Robert A (Bob)
Thank you all very much! Bob > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > project.org] On Behalf Of Muenchen, Robert A (Bob) > Sent: Saturday, March 08, 2008 10:49 AM > To: [EMAIL PROTECTED] > Subject: [R] Non-visible functions are aste

[R] When to quote a package name

2008-03-10 Thread Muenchen, Robert A (Bob)
Dear HelpeRs, I'm confused about the role of quotes around package names on the library and detach functions. Books on R use both approaches: library(Hmisc) describe(mydata) detach(package:Hmisc) and library("Hmisc") describe(mydata) detach("package:Hmisc") The help file for detach says "quote

Re: [R] read SAS file

2008-11-13 Thread Robert W. Baer, Ph.D.
You need to load the foreign package first. library(foreign) - Original Message - From: "b g" <[EMAIL PROTECTED]> To: Sent: Monday, November 10, 2008 12:28 PM Subject: [R] read SAS file Looked at a lot of documentation and listserv postings and still can't solve this problem. I ne

Re: [R] 2-Y-axes on same plot

2008-12-11 Thread Robert W. Baer, Ph.D.
Joe Trubisz wrote: Hi... Is this possible in R? I have 2-sets of data, that were collected simultaneously using 2-different data acquisition schemes. The x-values are the same for both. The y-values have different ranges (16.4-37.5 using one method, 557-634 using another). In theory, if yo

[R] Cutting & pasting help examples into script window

2007-09-20 Thread Muenchen, Robert A (Bob)
Hi All, When I cut & paste help file examples into a script window, about half the time it pastes as a single long line. The steps I follow are: 1. Open a help file e.g. ?data.frame. 2. Select the examples at the bottom. 3. Choose File: Copy. 4. Return to the console. 5. Choose File: New script

Re: [R] Cutting & pasting help examples into script window

2007-09-20 Thread Muenchen, Robert A (Bob)
Stephan Grosse replied: > > What I do not understand is why you not just type example(yourcommand)? > > Stefan That's a good question. I want to play around with variations of the examples rather than run them exactly as they are. Thanks, Bob __ R-h

Re: [R] Cutting & pasting help examples into script window

2007-09-20 Thread Muenchen, Robert A (Bob)
Does this look like a bug? If so, is there a different way to report it? Thanks, Bob > -Original Message- > From: Dirk Eddelbuettel [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 20, 2007 10:17 AM > To: Muenchen, Robert A (Bob) > Subject: Re: [R] Cutting & pa

Re: [R] Cutting & pasting help examples into script window

2007-09-20 Thread Muenchen, Robert A (Bob)
paste into Notepad was selected. Very strange! Bob P.S. almost the testing has been with the ?data.frame and ?summary examples. > -Original Message- > From: Duncan Murdoch [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 20, 2007 7:59 PM > To: Muenchen, Robert A (Bob)

[R] Summary vs fivenum results for Q3

2007-10-09 Thread Schaefer, Robert L. Dr.
mand. Bob +++++ Robert L. Schaefer, Professor of Statistics Department of Mathematics and Statistics Miami University Oxford, Ohio 45056 (513) 529-3533 (513) 529-5818 (sec) [EMAIL PROTECTED] HTTP://WWW.USERS.MUOHIO.ED

[R] JGR makes help more helpful

2007-10-17 Thread Muenchen, Robert A (Bob)
Hi All, A few weeks ago I suggested that it would be nice to be able to submit lines from the help files for execution. You can cut and paste them into the console, or enter example(function) to run them all. However, I often find myself wanting to run just a line or two, or even parts of a line t

Re: [R] producing output as *.spo (spss output format)

2007-11-12 Thread Muenchen, Robert A (Bob)
You probably don't want to spend time figuring out the .spo format. From SPSS 16 on, that format is obsolete and replaced by the Unicode XML-based .spv file. SPSS 16 users need a separate Legacy Viewer to read .spo files. -Bob = Bob Muenchen

Re: [R] "Save to File..." option on File menu

2007-09-12 Thread Muenchen, Robert A (Bob)
Hi Talbot, I just had that question a couple of weeks ago. Here's the thread: RSiteSearch("Saving results from Linux command line") Thomas Lumley concluded with: There could still be functions that divert a copy of all the output to a file, for example. And indeed there are. sink("transcript.t

Re: [R] What is the HEX code for "transparent" color?

2024-06-06 Thread Robert Knight via R-help
ailing list -- To UNSUBSCRIBE and more, see >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. -- Robert Knight tel 270-306-1658 fax (270) 288-0474

[R] Moving average with loess

2012-03-08 Thread Faryabi, Robert (NIH/NCI) [F]
need two variables for fitting. Best, Robert __ 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

Re: [R] Re : Moving average with loess

2012-03-09 Thread Faryabi, Robert (NIH/NCI) [F]
ith-lowess Which I cannot decipher it. Do you have any suggestion? On 3/9/12 1:42 AM, "Pascal Oettli" wrote: Hi Robert, You can try ?lowess Regards, Pascal - Mail original - De : "Faryabi, Robert (NIH/NCI) [F]" À : "r-help@r-project.org" Cc : Envoyé l

[R] Binning continuous data

2012-02-29 Thread Faryabi, Robert (NIH/NCI) [F]
the first variable accordingly and map them to a categorical value. Is there an R command that does the binning? Thanks, Robert __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http

Re: [R] Creating a script in Rstudio

2024-12-06 Thread Robert Baer via R-help
list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide https://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- --- Robert W. Baer, Ph.D. Professor of Physiology Kirksville Colle

Re: [R] POS tagging generating a string

2018-11-06 Thread Robert David Burbidge via R-help
ract a column of verbs from the result and rbind it to the original data.frame. Btw, I don't this solution is efficient, I would guess that the processing that scan does in the verbs function is duplicating work already done in the tagPOS function by annotate, so you may want to return a list

Re: [R] saveRDS() and readRDS() Why?

2018-11-07 Thread Robert David Burbidge via R-help
ze for low-level control of saving/reading objects. Rgds, Robert On 07/11/18 08:13, Eric Berger wrote: What do you see at the OS level? i.e. on windows DIR rawData.rds on linux ls -l rawData.rds compare the file sizes on both. On Wed, Nov 7, 2018 at 9:56 AM Patrick Connolly wrote: From

Re: [R] saveRDS() and readRDS() Why?

2018-11-07 Thread Robert David Burbidge via R-help
) # linux rawData <- unserialize(file = "rawData.rds") HTH On 07/11/18 08:45, Patrick Connolly wrote: On Wed, 07-Nov-2018 at 08:27AM +, Robert David Burbidge wrote: |> Hi Patrick, |> |> From the help: "save writes a single line header (typically |> "RDXs

Re: [R] saveRDS() and readRDS() Why?

2018-11-07 Thread Robert David Burbidge via R-help
ing a VirtualBox shared folder to transfer from Windows to Linux. Could you provide details of your machines? Rgds, Robert On 07/11/18 07:56, Patrick Connolly wrote: From a Windows R session, I do object.size(rawData) 31736 bytes # from scraping a non-reproducible web address. sa

Re: [R] saveRDS() and readRDS() Why? [solved, kind of]

2018-11-08 Thread Robert David Burbidge via R-help
an machines. On 08/11/18 07:27, Patrick Connolly wrote: Many thanks to Berwin, Eric, Robert, and Jan for their input. I had hoped it was as simple as because I typed saveRDS("rawData", file = "rawData.rds") on the Windows side. but that wasn't the case. Robert Burbridg

Re: [R] Help with Centroids

2018-11-13 Thread Robert David Burbidge via R-help
;>>>>>>>>>>>> lat <- c(9161,9162,9163,9164,10152,10154) floor(lat/10)*10 <<<<<<<<<<<<<<<< Please provide further details on what you are trying to do. Rgds, Robert On 13/11/2018 09:51, sasa kosanic wrote: Dear All,

Re: [R] POS tagging generating a string

2018-11-13 Thread Robert David Burbidge via R-help
On 13/11/2018 12:31, Elahe chalabi wrote: Hi Robert, Thanks for your reply but your code returns the number of verbs in each massage. What I want is a string showing verbs in each massage. The output of my code (below) is: # A tibble: 4 x 2   DocumentID verbs    1 478920 has|been

Re: [R] Help with Centroids

2018-11-14 Thread Robert David Burbidge via R-help
ether-finding-the-center-of-geographic-points-in-r/ Rgds, Robert On 14/11/2018 11:13, sasa kosanic wrote: >  Dear Robert, > Thank  you for your very much for your reply. Please see attached pdf  > fille. > I hope now it is more clear what I am trying to do: > calculate new latitude

Re: [R] subset English language using textcat package

2018-11-19 Thread Robert David Burbidge via R-help
Look at the help docs and examples for textcat and sapply: print(as.character(data$x[sapply(data$x, textcat)=="english"])) Although textcat defaults classify "This book is amazing" as dutch, so you may want to read the help for textcat and change the profile db ("p") or "method". On 19/11/20

Re: [R] POS counting number of verbs

2018-11-05 Thread Robert David Burbidge Ltd via R-help
t;]   POStags <- unlist(lapply(a3w$features, `[[`, "POS"))   POStagged <- paste(sprintf("%s/%s", s[a3w], POStags), collapse = " ")   list(POStagged = POStagged, POStags = POStags) } count_verbs <-function(x) {   pos_tags <- tagPOS(x)$POStags   sum(grepl(&quo

<    4   5   6   7   8   9