Re: [R] parsing pdf files

2010-01-10 Thread Mark Wardle
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. -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK

Re: [R] parsing pdf files

2010-01-10 Thread Mark Wardle
://pdfbox.apache.org/commandlineutilities/ExtractText can be run from command line so potentially could be automated. Mark 2010/1/10 Mark Wardle m...@wardle.org: If you can use a R - java interface, you could use itext to do this as long as the PDF is fairly sane. see http://itextpdf.com

Re: [R] Lattice in a loop does not produce output

2009-08-18 Thread Mark Wardle
Try printing the plot created. print(xyplot(...)) -- Dr. Mark Wardle Specialist registrar, Neurology (Sent from my mobile) On 18 Aug 2009, at 13:13, Alex van der Spek am...@xs4all.nl wrote: I cannot understand why xyplot does not work within a simple for loop. This works up

Re: [R] read.csv from a remote machine

2009-08-04 Thread Mark Wardle
I would use sshfs or an alternatively remote file system access. Ssh to your Linux box and then mount the mac os x filesystem via sshfs, or afs for example. Alternatively, can't you copy the data to the Linux box using sftp first? -- Dr. Mark Wardle Specialist registrar, Neurology (Sent

Re: [R] Dump plots to powerpoint?

2009-07-07 Thread Mark Wardle
://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. -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK __ R-help@r

Re: [R] OK - I got the data - now what? :-)

2009-07-06 Thread Mark Wardle
__ 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 code. -- Dr. Mark Wardle Specialist registrar, Neurology

Re: [R] OK - I got the data - now what? :-)

2009-07-05 Thread Mark Wardle
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] How to use current value of variable in function definition?

2009-07-03 Thread Mark Wardle
2009/7/2 Peter Dalgaard p.dalga...@biostat.ku.dk: Mark Wardle wrote: [...] Otherwise, it sounds like a recipe for obfuscation! What are you trying to do really? Not really obfuscation, there are legitimate reasons to want this sort of behaviour. See demo(scoping) for a related example

Re: [R] How to use current value of variable in function definition?

2009-07-02 Thread Mark Wardle
, minimal, self-contained, reproducible code. -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK __ 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] Drawing schematics

2009-05-29 Thread Mark Wardle
-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK __ R-help@r-project.org mailing list

Re: [R] question about using a remote system

2009-05-29 Thread Mark Wardle
. thanks, Erin On Thu, May 28, 2009 at 1:54 AM, Mark Wardle m...@wardle.org wrote: Hi. Do you need an interactive session at the remote machine, or are you simply wanting to run a pre-written script? If the latter, then you can ask ssh to execute a remote command, which conceivably could

Re: [R] question about using a remote system

2009-05-28 Thread Mark Wardle
, reproducible code. -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK __ 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

Re: [R] Object-oriented programming in R

2009-05-28 Thread Mark Wardle
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] Problem accessing row number from subset on a dataframe

2009-05-26 Thread Mark Wardle
. __ 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 code. -- Dr. Mark Wardle Specialist registrar

Re: [R] Problem accessing row number from subset on a dataframe

2009-05-26 Thread Mark Wardle
and support on the R forums. And, well actually, I would like to get the row number(s) and then delete or not via the row number. Again, I really appreciate the response... --- On Tue, 5/26/09, Mark Wardle m...@wardle.org wrote: From: Mark Wardle m...@wardle.org Subject: Re: [R] Problem accessing

Re: [R] create string of comma-separated content of vector

2009-05-19 Thread Mark Wardle
guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] SQL Queries from Multiple Servers

2009-05-15 Thread Mark Wardle
. -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK __ 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

Re: [R] R graph into MS Word: which format to use?

2009-04-20 Thread Mark Wardle
-contained, reproducible code. -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK __ 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

Re: [R] Faced Problems with RODBC package 1.2-5 and 1.2-4 for windows

2009-01-28 Thread Mark Wardle
. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK

Re: [R] OT: Adding verbatim R code text into LaTeX documents: texttt; verb or url?

2009-01-27 Thread Mark Wardle
/contrib/listings/listings.pdf bw Mark -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK __ 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

Re: [R] using Sweave with a master file that has several iputted .tex files

2009-01-27 Thread Mark Wardle
__ -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK __ 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

Re: [R] Avoiding multiple outputs using RODBC package

2008-12-14 Thread Mark Wardle
been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK

Re: [R] merge two data sets

2008-06-04 Thread Mark Wardle
. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ -- Dr. Mark Wardle Specialist registrar

Re: [R] Sweave / Latex per-chapter output

2008-05-22 Thread Mark Wardle
. For more information please visit http://www.messagelabs.com/email __ -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK __ R-help@r-project.org mailing list https

[R] Lattice book

2008-04-30 Thread Mark Wardle
-_-978-0-387-75968-5 http://www.amazon.co.uk/exec/obidos/ASIN/0387759689/ref=ord_cart_shr?%5Fencoding=UTF8m=A3P5ROKL5A1OLE Well done and many congratulations. My order is being processed as we speak! Best wishes, Mark -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK

Re: [R] how to write a table to pdf

2008-04-15 Thread Mark Wardle
visit http://www.messagelabs.com/email __ -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] How to include files in .R?

2008-04-04 Thread Mark Wardle
visit http://www.messagelabs.com/email __ -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] Multiple plots question

2008-03-21 Thread Mark Wardle
__ -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK __ 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

Re: [R] factanal and plotting?

2008-03-17 Thread Mark Wardle
, reproducible code. -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK __ 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

Re: [R] help

2008-03-09 Thread Mark Wardle
__ -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK __ 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

Re: [R] data frame question

2008-02-10 Thread Mark Wardle
... -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK __ 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

Re: [R] is it safe to replace every - by = in R code?

2008-01-14 Thread Mark Wardle
Thank you (all) for the helpful explanations! My own R code tends to simpler constructs, but now perhaps we can start having obfuscated code competitions: something common in Perl, but I have not seen in R (yet). Anyone up for the challenge? Best wishes, Mark -- Dr. Mark Wardle Specialist

Re: [R] is it safe to replace every - by = in R code?

2008-01-13 Thread Mark Wardle
was specified it uses positional matching and the first position is argument a. Thus its the same as f(10). Note that f(b-10) isthe same as f( (b - 10) ) which may make it clearer. Of course! Straightforward! Many thanks, Mark -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK

Re: [R] run setwd at the launch of R

2008-01-06 Thread Mark Wardle
. For more information please visit http://www.messagelabs.com/email __ -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK __ R-help@r-project.org mailing list https

Re: [R] modify a data.frame within a function

2007-12-15 Thread Mark Wardle
. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ -- Dr. Mark Wardle

Re: [R] Getting estimates from survfit.coxph

2007-12-10 Thread Mark Wardle
__ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ -- Dr. Mark Wardle

[R] Getting estimates from survfit.coxph

2007-12-09 Thread Mark Wardle
0.95LCL 0.95UCL simple.msa=Not MSA 120 80 8 6 11 simple.msa=MSA 19 17 2 1 4 -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] Getting estimates from survfit.coxph

2007-12-09 Thread Mark Wardle
On 09/12/2007, Frank E Harrell Jr [EMAIL PROTECTED] wrote: Dieter Menne wrote: Thank you both! Best wishes, Mark -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] Export in pdf, png, jpg, eps, etc...

2007-11-27 Thread Mark Wardle
. For more information please visit http://www.messagelabs.com/email __ -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK __ R-help@r-project.org mailing list https

Re: [R] question about multiple comparison in ANOVA

2007-11-21 Thread Mark Wardle
datasets utils methods base other attached packages: [1] multcomp_0.992-6 mvtnorm_0.8-1lattice_0.16-5 RODBC_1.2-2 loaded via a namespace (and not attached): [1] grid_2.6.0 -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK

Re: [R] Query an Access database based on a date attribute

2007-11-13 Thread Mark Wardle
there is a problem with your SQL. Best wishes, Mark -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK __ 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

[R] Fwd: Produce a multiple formats graphic

2007-11-06 Thread Mark Wardle
-- Forwarded message -- From: Mark Wardle [EMAIL PROTECTED] Date: 6 Nov 2007 16:01 Subject: Re: [R] Produce a multiple formats graphic To: Cuvelier Etienne [EMAIL PROTECTED] You have several options: 1. Write a function that creates your plot, and call that function repeatedly

Re: [R] Package Installer Fails in OSX 10.5 Leopard

2007-10-27 Thread Mark Wardle
least=list. it is late (here)! On 28/10/2007, Mark Wardle [EMAIL PROTECTED] wrote: Hi. Sorry to hear you are having problems. I'm not installing Leopard just yet, as I cannot live without a working system running R, PostgreSQL, Filemaker, and Adobe applications. At least two on that least

Re: [R] Package Installer Fails in OSX 10.5 Leopard

2007-10-27 Thread Mark Wardle
Email Security System. For more information please visit http://www.messagelabs.com/email __ -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK __ R-help@r-project.org

Re: [R] Error in if loop

2007-10-21 Thread Mark Wardle
} else { u=0 } Hope this helps. Best wishes, Mark -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK __ 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] Error in if loop

2007-10-21 Thread Mark Wardle
and if? generally if there is more than one syntax within the 'if' I use 'if' loop otherwise I use 'ifelse' loop. Is it the only difference between them? Mark Wardle [EMAIL PROTECTED] wrote: On 21/10/2007, stat stat wrote: I have created a if loop as follows: name = e if (name == v) { u = 0

Re: [R] A read.table mystery (data for Filemaker Mac)

2007-10-13 Thread Mark Wardle
On 12/10/2007, Emmanuel Charpentier [EMAIL PROTECTED] wrote: Mark Wardle a écrit : 1. Which version of Filemaker? NB: Framemaker is a different program (desktop publishing), so do be a little precise! Dunno. The file is named export.fm7 ; one might be tempted to infer Filemaker 7

Re: [R] confusion with R syntax

2007-10-11 Thread Mark Wardle
try x[2:4][3] then you get the third index of the vector created by 2:4 ie y - x[2:4] z - y[3] Best wishes, Mark -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] A read.table mystery (data for Framemaker Mac)

2007-10-11 Thread Mark Wardle
been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK

Re: [R] Help with functions (iterations)

2007-09-30 Thread Mark Wardle
__ -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK __ 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] How to read stored functions

2007-09-25 Thread Mark Wardle
please visit http://www.messagelabs.com/email __ -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman