[R] Tinn-R explorer used to be my friend

2008-10-03 Thread Farrel Buchinsky
) R>Configure>Permanent(Rprofile.site). Is this a known bug or am I just getting tripped up. Farrel Buchinsky GrandCentral Tel: (412) 567-7870 [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://sta

Re: [R] Tinn-R explorer used to be my friend

2008-10-03 Thread Farrel Buchinsky
inn-R as "Run as administrator". I do not quite understand that because I am an administrator on my machine. But who am I to ask questions --- it works. If you cannot do it I am quite prepared to show you using crossloop. Farrel Buchinsky On Fri, Oct 3, 2008 at 18:04, Farrel Buchinsky

Re: [R] Analyzing Publications from Pubmed via XML

2007-12-13 Thread Farrel Buchinsky
task for me. Is that not true? On Dec 13, 2007 9:12 PM, Rajarshi Guha <[EMAIL PROTECTED]> wrote: > > On Dec 13, 2007, at 9:03 PM, Farrel Buchinsky wrote: > > > I would like to track in which journals articles about a particular > > disease > > are being publi

[R] Analyzing Publications from Pubmed via XML

2007-12-13 Thread Farrel Buchinsky
n RSS feed into a CSV file? -- Farrel Buchinsky GrandCentral Tel: (412) 567-7870 [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide ht

Re: [R] Analyzing Publications from Pubmed via XML

2007-12-14 Thread Farrel Buchinsky
[[i]]) } I am now trying to work through that approach to see what I can come up with. -- Farrel Buchinsky __ 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/

Re: [R] Analyzing Publications from Pubmed via XML

2007-12-14 Thread Farrel Buchinsky
) Does "somefunction" exist? If there are any further questions do you think I should migrate this conversation to the bioconductor mailing list? Farrel Buchinsky __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

[R] converting multiple columns from POSIX* to Date

2008-12-10 Thread Farrel Buchinsky
t I could then search for to find how to do it. Farrel Buchinsky __ 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, mini

Re: [R] converting multiple columns from POSIX* to Date

2008-12-10 Thread Farrel Buchinsky
I will try that but I am somewhat skeptical since when I go class(date.of.birth) I get not just one word but two: "POSIXt" "POSIXct". Will that not mess up the logical test When I tried the following: lapply(as.list(dataframename),class)=="POSIXt" every it

Re: [R] converting multiple columns from POSIX* to Date

2008-12-12 Thread Farrel Buchinsky
the first row but it is also returning the value as numbers rather than dates. I am now playing around with Hadley Wickham's plyr package. So far looking good but still need to work out a few things. Farrel Buchinsky GrandCentral Tel: (412) 567-7870 On Wed, Dec 10, 2008 at 19:08, Marc Sch

Re: [R] converting multiple columns from POSIX* to Date

2008-12-12 Thread Farrel Buchinsky
I got the whole thing to work, with Hadley Wickham's help. is.POSIXt <- function(x) inherits(x, "POSIXt") dates <- sapply(df, is.POSIXt) df[dates] <-lapply(df[dates], as.Date) Farrel Buchinsky On Fri, Dec 12, 2008 at 11:26, Farrel Buchinsky wrote: > > Some

[R] Reading from Google Docs

2008-12-15 Thread Farrel Buchinsky
on a Windows machine. Farrel Buchinsky GrandCentral Tel: (412) 567-7870 __ 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, min

Re: [R] Reading from Google Docs

2008-12-15 Thread Farrel Buchinsky
- auth.R8,183 9/24/2008 12:44:23 1 file(s), 0 folder(s)8,183 bytes =======

Re: [R] Reading from Google Docs

2008-12-15 Thread Farrel Buchinsky
the future, we might" to my attention I can see that I should not have tried it. Farrel Buchinsky GrandCentral Tel: (412) 567-7870 On Mon, Dec 15, 2008 at 19:28, Duncan Temple Lang wrote: > > > Farrel Buchinsky wrote: >> >> Great. I have previously installed 7zip. &g

Re: [R] Reading from Google Docs

2008-12-15 Thread Farrel Buchinsky
parser xmlParent(XML) Get parent node of XMLInternalNode or ancestor nodes xmlStopParser(XML) Terminate an XML parser xmlTreeParse(XML) XML Parser Farrel Buchinsky GrandCentral Tel: (412) 567-7870 On Mon, Dec 15, 2008 at 19:56, Duncan Temple Lang wr

Re: [R] Reading from Google Docs

2008-12-15 Thread Farrel Buchinsky
I took the liberty of replacing all the xmlParse in auth.R with xmlTreeParse. Alas still no joy. getDocs(con) Error in UseMethod("xpathApply") : no applicable method for "xpathApply" Farrel Buchinsky GrandCentral Tel: (412) 567-7870 On Mon, Dec 15, 2008 at 20:00, Farrel B

[R] R "Threatens" SAS According to The NYT

2009-01-11 Thread Farrel Buchinsky
The article was dugg on Digg. http://digg.com/software/Data_Analysts_Captivated_by_R_s_Power_3 If you Digg, why not digg this. Farrel Buchinsky __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the

[R] forward slash vs double backslash R and Tinn-R

2009-01-23 Thread Farrel Buchinsky
aste(Sys.getenv('APPDATA'), '\\Tinn-R\\tmp\\', sep=''), c('', 'search.txt', 'objects.txt', 'file.r', 'selection.r', 'block.r', 'lines.r'), sep='') BUT IT FAILS. Farrel Buchinsky

Re: [R] forward slash vs double backslash R and Tinn-R

2009-01-23 Thread Farrel Buchinsky
the whole slash thing? Farrel Buchinsky On Fri, Jan 23, 2009 at 11:10, Farrel Buchinsky wrote: > I installed the newest version of R and once again ran into problem > with Tinn-R failing when trying to use the R explorer. I had this > problem once before and solved it when I

[R] Differentiate alphanumeric vs numeric strings

2008-04-24 Thread Farrel Buchinsky
e is. What is it and where should I have found it? -- Farrel Buchinsky GrandCentral Tel: (412) 567-7870 [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read th

Re: [R] Differentiate alphanumeric vs numeric strings

2008-04-25 Thread Farrel Buchinsky
"123AS23", "A123", "398457") > > grep("^[[:digit:]]*$", x) # index > [1] 1 4 > > grep("^[[:digit:]]*$", x, value=TRUE) # values > [1] "12345" "398457" > > > > > > > > > On Thu, Apr

[R] using as.POSIXlt on multiple columns or multiple objects

2008-06-04 Thread Farrel Buchinsky
But I got: Error in list(initial$Started, initial$Finished, full.ques$started.ful, : could not find function "list<-" I am clearly missing some basic R issue here. What am I missing? -- Farrel Buchinsky __ R-help@r-project.org

[R] Reading OpenOffice Calc spreadsheet into R

2008-06-16 Thread Farrel Buchinsky
calc files into R? Farrel Buchinsky __ 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, reproducible

Re: [R] Tinn-R not working well with latest R

2008-02-11 Thread Farrel Buchinsky
I can easily get R to open without an error. I simply removed the Tinn-R related lines from the Rprofile.site file C:\Program Files\R-2.6.2\etc\Rprofile.site but then when I try to manually load the svIDE library by entering library(svIDE) from the command line, I get a similar error. So when y

Re: [R] genetics package not working

2008-02-11 Thread Farrel Buchinsky
e lays out exactly the format that is being used. "Farrel Buchinsky" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > >From crawling around the internet it appears to me as if genetics has > >given > way to GeneticsBase and is part of bioconductor. T

[R] Tinn-R not working well with latest R

2008-02-11 Thread Farrel Buchinsky
I recently installed R 2.6.2 and am getting errors on startup that relate to svIDE being loaded by Tinn-R. Loading required package: tcltk Loading Tcl/Tk interface ... done Warning messages: 1: '\A' is an unrecognized escape in a character string 2: unrecognized escape removed from ";for Options\

Re: [R] merging more than 2 data frames

2008-02-13 Thread Farrel Buchinsky
I have created a merged data frame and in turn merged that with another dataframe. I could see how it could become a pain if you had lots of dataframes. I would try running a for loop...but have never done it. "joseph" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi > merge() t

[R] outputting (writing) output into a dataframe

2008-10-28 Thread Farrel Buchinsky
ts but I actually want it to output into a data frame so that I can plot it? Farrel Buchinsky __ 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

[R] Power calculations where two samples are of unequal size

2008-12-09 Thread Farrel Buchinsky
I have used the function power.t.test() (power calculations for one and two sample t tests) but have noted that it handles the samples as being the same size. How does one handle sample sizes that are different. In other words how does one handle unbalanced designs. Farrel Buchinsky

[R] ifelse and dates do not work together: What workaround?

2007-09-27 Thread Farrel Buchinsky
you to the posting guide and its recommended reading of the help page might still be helpful. -- Farrel Buchinsky GrandCentral Tel: (412) 567-7870 __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting gui

[R] Calculating proportions from a data frame rather than a table

2007-10-02 Thread Farrel Buchinsky
th papers. I have thought of going through the reshape package but I suspect that there is an easier way to convert a data frame to a table. Is there? -- Farrel Buchinsky [[alternative HTML version deleted]] __ R-help@r-project.org mailing l

Re: [R] Calculating proportions from a data frame rather than a table

2007-10-02 Thread Farrel Buchinsky
wrote: > > What am I missing here? > > Cannot you just create the table from the data.frame > and apply prop.table()to it? > > --- Farrel Buchinsky <[EMAIL PROTECTED]> wrote: > > > When one has raw data it is easy to create a table > > of one variable ag

Re: [R] Calculating proportions from a data frame rather than a table

2007-10-03 Thread Farrel Buchinsky
here). Can I post an .Rdata file here? If so I would be able to show you what I mean. On 10/3/07, John Kane <[EMAIL PROTECTED]> wrote: > > > --- Farrel Buchinsky <[EMAIL PROTECTED]> wrote: > > > How do you create a table from a data frame? I tried > > as.t

Re: [R] Calculating proportions from a data frame rather than a table

2007-10-03 Thread Farrel Buchinsky
epayan Sarkar <[EMAIL PROTECTED]> wrote: > > On 10/3/07, Farrel Buchinsky <[EMAIL PROTECTED]> wrote: > > Your solution would work if the data frame contained the raw data. In > that > > case the table function as you outlined would be a table crossing all > the >

Re: [R] Calculating proportions from a data frame rather than a table

2007-10-03 Thread Farrel Buchinsky
# > Attention: > This e-mail message is privileged and confidential. If you are not the > intended recipient please delete the message and notify the sender. > Any views or opinions presented are solely those of the author. > > This e-mail has b

Re: [R] Calculating proportions from a data frame rather than a table

2007-10-03 Thread Farrel Buchinsky
Genius! Thank you very much. Yes indeed I should have thought of that. For some reason I have a mental blank about the use of row.names and instead I repeatedly put that kind of data as a column in the data frame. Thank you for the rescue. __ R-help@r-pr

Re: [R] Calculating proportions from a data frame rather than a table

2007-10-03 Thread Farrel Buchinsky
and accross all studies prop.table(addmargins(coinf.table,1),1)# to see proportions for all studies added together On 10/3/07, Farrel Buchinsky <[EMAIL PROTECTED]> wrote: > Genius! Thank you very much. > Yes indeed I should have thought of that. For some reason I have a > mental blan

Re: [R] Reading from Google Docs

2009-03-02 Thread Farrel Buchinsky
an I find someone who will give me a couple of basic steps at a time? I am desperate to say goodbye to individual static Microsoft Access or Microsoft Excel spreadsheets being the repository for my data. Farrel Buchinsky Sent from: Pittsburgh Pennsylvania United States. >> > Yes,

[R] readline() is reading the entire line and not just the user input

2009-03-16 Thread Farrel Buchinsky
fied R user? ") Are you a satisfied R user? > ANSWER [1] "ANSWER <- readline(prompt=\"Are you a satisfied R user? \")" My R environment: Windows XP with service pack 3; R 2.8.1, tinn-R 2.2.0.2 Farrel Buchinsky _

Re: [R] readline() is reading the entire line and not just the user input

2009-03-18 Thread Farrel Buchinsky
Indeed. I can also get it to work if I type directly in Rterm. But not when running from Tinn-R. If this is a Tinn-R problem (relating to however command lines get from Tinn-R to the Rterm) then perhaps I should post it in the Tinn-R problem. Farrel Buchinsky Sent from: Pittsburgh Pennsylvania

[R] two different date formats in the same variable

2009-03-23 Thread Farrel Buchinsky
ternatively how would one code (presumably using regular expressions) a transforamtion or substitution only on the errant entries and thereby turn 06/25/04 into 06/25/2004 and 03/03/59 into 03/03/1959? sessionInfo() R version 2.8.1 (2008-12-22) i386-pc-mingw32 Farrel Buchinsky ___

Re: [R] Reading from Google Docs

2009-03-31 Thread Farrel Buchinsky
= "http://docs.google.com/feeds/documents/private/full/-/spreadsheet";) assignment of an object of class "NULL" is not valid for slot "access" in an object of class "GoogleSpreadsheet"; is(value, "character") is not TRUE Tried google searching and got

[R] Reading from Google Spreadsheets with RGoogleDocs

2009-04-01 Thread Farrel Buchinsky
I cannot read google spreadsheets. I get the following error: assignment of an object of class "NULL" is not valid for slot "access" in an object of class "GoogleSpreadsheet"; is(value, "character") is not TRUE RGoogleDocs is on the cusp of brilliance. How can I troubleshoot this apparently last

[R] Printing data as a narrative or form letter rather than as a table

2009-04-16 Thread Farrel Buchinsky
lots of questions, we spoke for 2 hours, they lived in Norway until 2 years ago, date.enrolled=01/23/2009, wt=10 ... (by the way...all fictitious) Farrel Buchinsky Sent from Pittsburgh, Pennsylvania, United States [[alternative HTML version deleted

[R] Do you use R for data manipulation?

2009-05-05 Thread Farrel Buchinsky
Is R an appropriate tool for data manipulation and data reshaping and data organizing? I think so but someone who recently joined our group thinks not. The new recruit believes that python or another language is a far better tool for developing data manipulation scripts that can be then used by sev

[R] RGoogleDocs: can now see documents but cannot get content.

2009-05-18 Thread Farrel Buchinsky
sheet and con = sh...@connection. I have tried many ways but just get: Error in !includeEmpty : invalid argument type Windows Vista (with UAC disabled) R 2.9.0 Farrel Buchinsky [[alternative HTML version deleted]] __ R-help@r-project.org mailing

[R] Converting a list to a data frame or columns at the least

2009-05-26 Thread Farrel Buchinsky
rbind(strsplit (teacher$Date.and.Time.of.Lesson," ")) do.call(rbind(data.frame(strsplit (teacher$Date.and.Time.of.Lesson," " Farrel Buchinsky [[alternative HTML version deleted]] __ R-help@r-project.org mailing list h

Re: [R] RGoogleDocs: can now see documents but cannot get content.

2009-05-27 Thread Farrel Buchinsky
I already downloaded 0.2-2 -If my memory serves me correctly. If we just go by date, have you updated the files on the server since May 18? Farrel Buchinsky Google Voice Tel: (412) 567-7870 Sent from Pittsburgh, Pennsylvania, United States On Wed, May 20, 2009 at 12:28, Duncan Temple Lang wrote

Re: [R] RGoogleDocs: can now see documents but cannot get content.

2009-06-17 Thread Farrel Buchinsky
Where do I get 0.2-2 from?If I go to http://www.omegahat.org/RGoogleDocs/ I can only find Last Release: 0.2-1<http://www.omegahat.org/RGoogleDocs/RGoogleDocs_0.2-1.tar.gz> (08 May 2009) Farrel Buchinsky Google Voice Tel: (412) 567-7870 On Wed, May 20, 2009 at 12:28, Duncan Temple Lang

Re: [R] Reading from Google Docs

2009-06-18 Thread Farrel Buchinsky
.gz almost everywhere. I also once got * checking for file 'RGoogleDocs/DESCRIPTION' ... No and there it stopped Farrel Buchinsky Google Voice Tel: (412) 567-7870 On Mon, Mar 2, 2009 at 22:16, Gabor Grothendieck wrote: > Download and install each of R, Rtools and MiKTeX. > Ea

Re: [R] Reading from Google Docs

2009-06-18 Thread Farrel Buchinsky
What do you mean by "cd the.directory.containing.RGoogleDocs" Do you mean the directory where I downloaded the RGoogleDocs_0.2-2.tar.gz to? Or do you mean that I must create a directory called RGoogleDocs under Library and then change to that directory? Farrel Buchinsky Google Voice Tel:

Re: [R] Reading from Google Docs

2009-06-19 Thread Farrel Buchinsky
y download directory or should I do it in C:\Program Files\R\R-2.9.0\library or should I manually create C:\Program Files\R\R-2.9.0\library\RGoogleDocs and do it all there or will the Rcmd INSTALL RGoogleDocs_0.2-2.tar.gz command do that for me. Yes, you assumed correctly. I am using Windows XP. Farrel

Re: [R] Reading from Google Docs

2009-07-08 Thread Farrel Buchinsky
particular there is a choice of the types of documentation to be installed. Farrel Buchinsky Google Voice Tel: (412) 567-7870 2009/6/19 Uwe Ligges > See the manual "R Installation and Administration" for information on how > to install source packages on Windows. > > Uwe L

Re: [R] Reading from Google Docs

2009-07-08 Thread Farrel Buchinsky
Forgive my naivte, but how do I make windows find tar. In other words from where do I issue the command and what is the command. Farrel Buchinsky Google Voice Tel: (412) 567-7870 On Wed, Jul 8, 2009 at 10:09, Duncan Murdoch wrote: > On 08/07/2009 10:02 AM, Farrel Buchinsky wrote: > >

Re: [R] Reading from Google Docs

2009-07-08 Thread Farrel Buchinsky
Does changing the path in Windows work in real time or does one need to restart the computer for the changes to take effect. Farrel Buchinsky Google Voice Tel: (412) 567-7870 On Wed, Jul 8, 2009 at 12:04, Gabor Grothendieck wrote: > Its safer just to temporarily add it to your p

Re: [R] Reading from Google Docs

2009-07-08 Thread Farrel Buchinsky
erogative to distribute his work as he wishes? Farrel Buchinsky Google Voice Tel: (412) 567-7870 On Wed, Jul 8, 2009 at 12:59, Farrel Buchinsky wrote: > Does changing the path in Windows work in real time or does one need to > restart the computer for the changes to take effect. > Farrel B

[R] Getting value rather than formula in RGoogleDocs

2009-07-08 Thread Farrel Buchinsky
Spreadsheets as a csv then that does not happen. I am using the following line of code in R y2009<-sheetAsMatrix(ts2$y2009,header=TRUE, as.data.frame=TRUE, trim=TRUE) Farrel Buchinsky Google Voice Tel: (412) 567-7870 [[alternative HTML version dele

Re: [R] Reading from Google Docs

2009-07-08 Thread Farrel Buchinsky
getting with version 0.2-1.You then sent me link to 0.2-2 (in source code) which is what worked. Is it possible that that the windows binary version you put in omegahat was 0.2-1 and not 0.2-2? I did not know how to tell what version had been installed. Farrel Buchinsky Google Voice Tel: (412) 567

[R] space in column name

2009-07-19 Thread Farrel Buchinsky
do if I want to do something such as this > alltime[grep("MIDDLE EAR EXPLORE",alltime$CPT Desc,] Error: unexpected symbol in "alltime[grep("MIDDLE EAR EXPLORE",alltime$CPT Desc" Farrel Buchinsky Sent from Pittsburgh, Pennsylvania, United States [[alternative

Re: [R] space in column name

2009-07-19 Thread Farrel Buchinsky
No" "Ref.Pv.Name" "DOS" "Pt.Last.Name" "Pt.First.Name" "MRN" "CPT" "CPT.Desc" "DxCd1" "DxCd2" "DxCd3" "DxCd4" [15] "DOE"

Re: [R] RGoogleDocs: getDocs() - "problems connecting to get the list of documents"

2009-08-14 Thread Farrel Buchinsky
It is working for me. Are you using the latest version as in Version: 0.2-2? Blackett, Matthew wrote: > > Hi > > I have been using RGoogleDocs successfully for some time now but something > seems to have happened which is preventing me from accessing my data in > google spreadsheets. > > I get