Re: [R] ubuntu 14.04

2014-09-24 Thread Timothy W. Cook
Works great for me. On Wed, Sep 24, 2014 at 3:58 PM, carol white wrote: > Hi, > Can R be run on ubuntu 14.04 LTS without problem or is there any > incompatibility? > > Thanks > > Carol > > [[alternative HTML version deleted]] > > __ > R-help@r-

Re: [R] ATTN: Urgent Guidance Needed on scraping tweets for last 10 years using TwitteR / search twitter function.

2014-07-30 Thread Timothy W. Cook
The Twitter API doesn't provide data that far back. There are services that have archived the data and charge a fee depending upon your needs. You can search for Twitter archives to find a vendor. This page may help you with getting started using the Twitter API and the services available. https

Re: [R] Paper on Analytics using R

2014-07-11 Thread Timothy W. Cook
A quick Google Scholar search turned up the (below paper. It has been cited 38 times so that should give you plenty of references. More than likely you are looking for use cases in your own context; correct? http://goo.gl/Vcx4j1 On Fri, Jul 11, 2014 at 3:17 AM, Katherine Gobin wrote: > Dear

Re: [R] command

2014-06-06 Thread Timothy W. Cook
GIYF http://goo.gl/yUAIJl On Fri, Jun 6, 2014 at 5:42 AM, kafi dano wrote: > Hi > > for all user in R > > please send me the command of least absolute value (LAV ) in R programming > > TQ. > > > Kafi Dano Pati > Ph.D candidate ( mathematics/statistics) > Department of mathematical Science/ f

Re: [R] R License

2014-05-24 Thread Timothy W. Cook
On Sat, May 24, 2014 at 9:57 AM, Juan Ulises Bohorquez Carvajal < juan.bohorq...@ecopetrol.com.co> wrote: > Hello, I work in the area of ​​Geomatics in Ecopetrol, Ecopetrol is an > Oil & GAS company with 10,000 employees. The licensing of R allows me to > use it in production at my company o

[R] XML pkg. Namespace message

2014-05-19 Thread Timothy W. Cook
I am getting messages like: Namespace prefix ccd on el-418bd009-f19a-4107-bc7b-2abb83748bbb is not defined Namespace prefix mlhim244 on interval-type is not defined when retrieving nodesets like this: pct <- getNodeSet(root, '//ccd:el-6acf3ae9-222c-4f71-8120-76375db84177', nsDEF) nsDEF is defin

Re: [R] unable to collate and parse R files for package -- unexpected end of input

2014-05-18 Thread Timothy W. Cook
Yep, found it. I was missing a carriage return in the generator so the closing '}' was ending up on the line above with a comment. Thanks again. On Sun, May 18, 2014 at 5:40 PM, Timothy W. Cook wrote: > Thanks Duncan. Exactly what I needed. A push in the right direction to

Re: [R] unable to collate and parse R files for package -- unexpected end of input

2014-05-18 Thread Timothy W. Cook
Thanks Duncan. Exactly what I needed. A push in the right direction to finding it. I've already found the file and I am sure to find the problem child soon. Cheers, Tim On Sun, May 18, 2014 at 5:24 PM, Duncan Murdoch wrote: > On 18/05/2014, 12:54 PM, Timothy W. Cook wrote: > >

[R] unable to collate and parse R files for package -- unexpected end of input

2014-05-18 Thread Timothy W. Cook
This is the error I get attempting to build and install a package I wrote. I am using R Studio (but I did try with R CMDs as well). The file that is blamed in the error is the last file alphabetically. If I remove that file. I get the same error on the remaining last file alphabetically. So my

Re: [R] Parsing XML file to data frame

2014-05-05 Thread Timothy W. Cook
I didn't find an attached XML file. Maybe the list removes attachments? You might try posting to StackOverflow.com if this is the case. On Fri, May 2, 2014 at 2:17 PM, starcraz wrote: > Hi all - I am trying to parse out the attached XML file into a data frame. > The file is extracted from Had

Re: [R] List of Dataframes

2014-04-22 Thread Timothy W. Cook
On Tue, Apr 22, 2014 at 12:24 AM, Jim Holtman wrote: > also > > do.call(rbind, result) > > Thanks Jim. I appreciate it. > Sent from my iPad > > On Apr 21, 2014, at 16:47, "Timothy W. Cook" wrote: > > > Okay, all day on this and I send the ms

Re: [R] List of Dataframes

2014-04-22 Thread Timothy W. Cook
On Mon, Apr 21, 2014 at 10:01 PM, arun wrote: > Hi, > #or you could use: > do.call(rbind,result) > > > A.K. > > Excellent. Thank you. That also saves a library requirement sine I am not using plyr anywhere else. Cheers, Tim > > On Monday, April 21, 2014 4

Re: [R] List of Dataframes

2014-04-21 Thread Timothy W. Cook
Okay, all day on this and I send the msg. and almost immediately discover that: dat <- ldply(result) solves the problem. On Mon, Apr 21, 2014 at 5:40 PM, Timothy W. Cook wrote: > I am processing an arbitrary number of XML files and extracting specific > nodes. I then create a

[R] List of Dataframes

2014-04-21 Thread Timothy W. Cook
I am processing an arbitrary number of XML files and extracting specific nodes. I then create a dataframe for each nodeset. I return a list containing these dataframes. Example: > str(result)List of 2 $ :'data.frame': 1 obs. of 5 variables: ..$ data-name : chr "Etiologic diagnosi

Re: [R] XML getNodeSet

2014-04-19 Thread Timothy W. Cook
6-258f9e645c46 is not defined I haven't quite found the solution for this namespace problem. I have tried a few functions/examples from the XML package but they usually return a list instead of a character vector. But the result dataframe from the XML is correct and that is my initial goal. C

Re: [R] XML getNodeSet

2014-04-17 Thread Timothy W. Cook
version.string R version 3.0.1 (2013-05-16) nickname Good Sport Executed inside R Studio Version 0.98.501 On Thu, Apr 17, 2014 at 12:35 PM, Timothy W. Cook wrote: > R newbie, experienced software developer. > > I have a bit of confusion regarding using this function. See the XML > fra

[R] XML getNodeSet

2014-04-17 Thread Timothy W. Cook
R newbie, experienced software developer. I have a bit of confusion regarding using this function. See the XML fragment at the end of the post. This works as far as retrieving the nodeset: > fileName <- '/home/tim/MLHIM/git/EpiS3/test_ccd/inst/examples/001.xml' > doc <- xmlInternalTreeParse(fil