[R] Extracting values from Surv function in survival package

2024-05-15 Thread Dennis Fisher
2, SUBDATA[, EXP.STRAT]=2 5 5168 81 NA SUBDATA$ARM=2, SUBDATA[, EXP.STRAT]=3 1 1 22 NA NA it should be easy to get “events”. Any thoughts? Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone / Fax: 1-866-PLessThan (1-8

[R] adding "Page X of XX" to PDFs

2023-12-02 Thread Dennis Fisher
iginal PDF contains a timestamp on each page -- the new version would have a different timestamp -- so I would prefer to not use this approach. Has anyone thought of some terribly clever way to solve this problem? Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone / Fax:

[R] Timezone question

2023-08-17 Thread Dennis Fisher
R 4.3.1 OS X Colleagues Is there a simple way to determine the timezone offset for my present location. For example, during standard time in the US, the offset from GMT is 8 hours in California. Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone / Fax: 1-866-PLessTh

[R] need help with plotmath and/or plotting unicode characters

2023-06-08 Thread Dennis Fisher
is solved: mtext(side=3, paste0("N ", UNICODE, " ", XX, ": ", YY)) PLOTMATH: mtext(side=3, bquote(N <= .(XX) ~":" ~ .(YY))) This comes close: N ≤ 2 : 13 but I want to remove the space between the 2 and ":" Dennis Dennis Fisher

[R] printing a data.frame without row numbers

2023-03-27 Thread Dennis Fisher
WITHOUT the row numbers: COL1 COL2 1 10 29 38 47 56 Is there any simple way to accomplish this, short of writing my own print method or outputting line-by-line using cat? Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone / Fax: 1-866

[R] VT-100 terminal escape sequences

2023-03-05 Thread Dennis Fisher
the [?25h text to disappear. If the problem originates in XOJO, I assume that there is nothing that can be done in R to solve the problem. But, if there is something that can be done in my R code, it would be useful to know about it. Dennis Dennis Fisher MD P < (The "P Less Than&

[R] Printing special characters

2023-01-16 Thread Dennis Fisher
strings, then using plotmath)? Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone / Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.

Re: [R] Adding page numbers to existing PDFs

2022-10-21 Thread Dennis Fisher
Bert et al. I searched with slightly different text and found various packages that might be relevant: pdftools staplr QPDF However, as far as I can tell, none of these offers the specific functionality that I need. Dennis Dennis Fisher MD P < (The "P L

[R] Adding page numbers to existing PDFs

2022-10-21 Thread Dennis Fisher
in Python using reportlab.pdfgen — however, the file size increases prohibitively. Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone / Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com __ R-help@r-project.org mailing list -- T

Re: [R] segfault from systemfonts::system_fonts

2020-11-03 Thread Dennis Fisher
Duncan Thanks for responding -- but your response did not help my mood. Executing: .Call("_systemfonts_system_fonts_c") triggered the segfault (as you proposed). Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone / Fax: 1-866-PLessThan (1-866-753-

[R] segfault from systemfonts::system_fonts

2020-11-03 Thread Dennis Fisher
s in systemfonts without problems -- only system_fonts triggers the segfault. Another similar setup on OS X does not trigger the same problem, so the problem is more likely something in my system rather than a problem in R. Does anyone have any ideas on how one might address this? Dennis Dennis

Re: [R] Package recommendations for outputting table with cell formatting

2020-10-23 Thread Dennis Fisher
Patrick Doing this in Excel is certainly an option. But I would like to learn how to do it in R. Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone / Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com > On Oct 23, 2020, at 6:15 PM, Patrick (Malone Quantit

[R] Package recommendations for outputting table with cell formatting

2020-10-23 Thread Dennis Fisher
d work; outputting directly to Word would be even better. I expect that several packages can accomplish this. I am looking for recommendations as to which package (or combination) of packages is best to accomplish this. Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone / Fax:

[R] Adding text to existing PDF's created with R

2020-10-07 Thread Dennis Fisher
join the separator pages and the original PDFs using python's join command. But I have not been able to figure out how to add page numbers to the existing PDF's. Any help would be appreciated. Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone / Fax: 1-866-PLessThan (1

Re: [R] Removing a space from a string

2020-07-29 Thread Dennis Fisher
that it contains no spaces. The offending entity here is textreadr:read_dicx That addresses how the spaces arose. But, my question was not about that — rather I was looking for a general fix when that situation arises. Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone

Re: [R] Removing a space from a string

2020-07-28 Thread Dennis Fisher
any idea as to the source. Thanks for your regular expression suggestion. Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone / Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com <http://www.plessthan.com/> > On Jul 28, 2020, at 5:11 PM, Richard O'Keefe

Re: [R] Removing a space from a string

2020-07-28 Thread Dennis Fisher
Only the spaces in STRING. However, if I inadvertently delete the space between STRING and NN, I can add it back in. Dennis Fisher MD P < (The "P Less Than" Company) Phone / Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com <http://www.plessthan.com/> > On Ju

Re: [R] Removing a space from a string

2020-07-28 Thread Dennis Fisher
It is possible that there will be > 1 space. But, most likely only one (i.e., a solution for one space will suffice; a solution for > 1 space would be even better) Dennis Fisher MD P < (The "P Less Than" Company) Phone / Fax: 1-866-PLessThan (1-866-753-7784) www.

[R] Removing a space from a string

2020-07-28 Thread Dennis Fisher
; I would like a general approach to deleting a space, but only if it appears before the period. Any suggestions on a regular expression for this? Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone / Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.c

[R] Did the output from summary(lm(...)) change

2020-01-24 Thread Dennis Fisher
the P value from: summary(lm(YVAR ~ XVAR))$coeff but I am curious as to whether my memory is flawed. Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone / Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com <http://www.plessthan.com/> [[alter

[R] Problem related to multibyte string in CSV file

2019-11-14 Thread Dennis Fisher
is there any simple way to accomplish this? Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone / Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see ht

Re: [R] Identifying presence of Java

2019-11-10 Thread Dennis Fisher
for their suggestions. Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone / Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com <http://www.plessthan.com/> > On Nov 10, 2019, at 11:49 AM, Abby Spurdle wrote: > > shell ("Java -version 2>&1&quo

Re: [R] Identifying presence of Java

2019-11-09 Thread Dennis Fisher
alled whereas R is looking for 11.0.1 Any idea how to fix this? Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone / Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com > On Nov 9, 2019, at 9:35 AM, Dirk Eddelbuettel wrote: > > > Dennis, > > R doe

Re: [R] Identifying presence of Java

2019-11-09 Thread Dennis Fisher
is not being displayed. Is there a way to capture that output? If so, I can certainly figure out how to parse it. Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone / Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com <http://www.plessthan.com/> > O

[R] Identifying presence of Java

2019-11-09 Thread Dennis Fisher
s) but I cannot capture what is displayed on the console. I have also tried “system2” with various TRUE/FALSE permutations without success. Any clever ideas? Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone / Fax: 1-866-PLessTha

Re: [R] Problem with geterrmessage()

2018-02-22 Thread Dennis Fisher
Luke Thanks — I revised the code to: ERRORMESSAGE <- try(source(USERSCRIPTFILE, local=T), silent=T) print(ERRORMESSAGE) now returns: $value [1] 0 $visible [1] FALSE Not clear what to make of that. Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone / Fax:

[R] Problem with geterrmessage()

2018-02-22 Thread Dennis Fisher
gure out how to do so. Any suggestions would be welcome. Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone / Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and

[R] Help with regular expressions

2018-02-12 Thread Dennis Fisher
ssion code to accomplish this? Thanks. Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone / Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https

Re: [R] Timezone problem with 3.4.2

2017-11-30 Thread Dennis Fisher
Mark Thanks for pointing this out. I did a default installation of R. Does this mean that I need to reinstall from the command line? Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone / Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com <http://w

[R] Timezone problem with 3.4.2

2017-11-30 Thread Dennis Fisher
unknown timezone 'zone/tz/2017c.1.0/zoneinfo/America/Los_Angeles' There is nothing odd about the date/time settings on the computer. I then tried: > Sys.timezone() [1] NA Previously, there was not a problem with timezones. Can I override this? Any thoughts? Dennis Dennis Fisher MD P &l

[R] Using quantmod to obtain current Dow Jones index

2017-09-06 Thread Dennis Fisher
e Open High Low Volume ^DJI N/A N/A N/A N/A N/A N/A N/A Two questions: 1. Is there some way to obtain the current DJI using quantmod? 2. If not, can someone suggest alternatives? Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone / Fax: 1-8

[R] Efficient means to link two data frames

2016-09-29 Thread Dennis Fisher
would then append the corresponding “Value” in the TestValue column The result would be: TestDay TestValue 1 4 103 2 1184 3 15 109 I can accomplish this with brute force but I suspect that there is some clever day to vectorize this. Any help would be appr

[R] Regression expression to delete one or more spaces at end of string

2016-08-02 Thread Dennis Fisher
e, characters other than the trailing space were deleted but the trailing space remained. Guidance on the correct syntax would be appreciated. Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone / Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com __

Re: [R] Accessing objects manipulated in a function

2016-05-14 Thread Dennis Fisher
command. Problem solved. Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone / Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com > On May 14, 2016, at 9:45 AM, Jeff Newmiller <jdnew...@dcn.davis.ca.us> wrote: > > I think you have boxed yourself into

Re: [R] Multibyte strings

2015-09-26 Thread Dennis Fisher
using text files (*.TXT) and the > data should be submitted using SAS transport files (*.XPT). Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com > On Sep 26, 2015, at 5:52 A

[R] Multibyte strings

2015-09-25 Thread Dennis Fisher
would be to edit out multibyte strings. Is there a simple way to find and replace them? Or is there some other clever approach that bypasses the problem? Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessTh

Re: [R] Accessing defunct package

2015-09-25 Thread Dennis Fisher
than editing the object to remove errant text, is there some general way to prevent this error? Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com > On Sep 25, 2015, at 1:00 PM,

[R] Accessing defunct package

2015-09-25 Thread Dennis Fisher
t’ Other than reinstalling an old version of R (< 3.0.0), is there some way that I can use the package? Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com

[R] Implementation of contrasts

2015-07-07 Thread Dennis Fisher
(they yielded results markedly different from SAS) I have searched the web extensively but the explanations of contrasts in R are not particularly understandable. Can anyone help me understand the specifics of this situation? Thanks in advance. Dennis Dennis Fisher MD P (The P Less Than Company

[R] Vectorizing a task

2015-04-14 Thread Dennis Fisher
: paste0(c(, paste(paste(ALLSTART, ALLEND, sep=:), collapse=,), )) creates the text for START.to.END, but I can’t figure out how to evaluate that expression. I could build the vector step-by-step but that seems quite inefficient. Any suggestions? Dennis Dennis Fisher MD P (The P Less Than

[R] duplicated function

2014-11-18 Thread Dennis Fisher
suggestion would yield unintended consequences, it can certainly be ignored. Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com [[alternative HTML version deleted

[R] Displaying = in axis values

2014-04-15 Thread Dennis Fisher
? Thanks. Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

[R] Getting rid of spaces in plot math

2014-03-31 Thread Dennis Fisher
R 3.0.2 OS X Colleagues I am trying to label a graphic: Cortisol (µg/ml) A simplified version of the code is: plot(1) ; mtext(bquote(Cortisol (~mu~g/ml))) This code inserts spaces around the mu: Cortisol ( µ g/ml) How can I suppress those spaces? Dennis Dennis Fisher

[R] Capturing output of a C executable

2014-02-02 Thread Dennis Fisher
be better if I did not need to modify the C code. Does anyone have any ideas of how I can capture this output within R? Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com

[R] Handling large SAS file in R

2014-01-28 Thread Dennis Fisher
what you guys think KR Hans Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com [[alternative HTML version deleted]] __ R-help@r-project.org mailing

[R] Encoding issue

2014-01-06 Thread Dennis Fisher
does not appear to detect it consistently. Perhaps I am not escaping things correctly or perhaps my understanding of this encoding is flawed. Can anyone provide some useful pointers here? Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866

[R] Transposing the output of 'table'

2013-10-06 Thread Dennis Fisher
(TABLE)) However, I bet that a more clever approach exists? Any takers? Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com __ R-help@r-project.org mailing

[R] Cannot read XPT file using foreign package

2013-10-04 Thread Dennis Fisher
to another format. However, I would like to understand why the foreign package is unable to process the file. Any help would be greatly appreciated. Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com

Re: [R] Cannot read XPT file using foreign package

2013-10-04 Thread Dennis Fisher
there be an issue with the version of SAS (which appears to be 6.06) -- they are now up to version 9 (for Windows - I don't know the version # for UNIX). Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784

[R] Accessing standard errors for coefficients in nlme

2013-08-31 Thread Dennis Fisher
but this provides only the Value column. I also tried: str(summary(lme(…))) to see if it provided any insights (none, unfortunately). How can I access those values? Any help would be greatly appreciated. Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784

[R] sendmail -- issue with mime_part

2013-08-15 Thread Dennis Fisher
is appended to SOMENAME. If, for example, I wanted the file to be named SOMENAME.csv, the command -- name=SOMENAME.csv would yield SOMENAME.csv.txt. Is there some means to prevent addition of the .txt extension? Any help would be appreciated. Dennis Dennis Fisher MD P (The P Less Than

[R] Unexpected behavior with abbreviation of an argument to paste

2013-01-27 Thread Dennis Fisher
). Is there something special about collapse that I am missing? Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com __ R-help@r-project.org mailing list https

[R] Impact of cex changing as a function of mfrow

2012-09-02 Thread Dennis Fisher
a suggestion for how to overcome this (other than using brute force). Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com # In a layout with exactly two rows and columns the base value of ‘cex

Re: [R] Impact of cex changing as a function of mfrow

2012-09-02 Thread Dennis Fisher
. I was hoping that invoking some other option in mtext, such as padj, would accomplish my goal of needing only to multiply the line= value by the value returned from my function. Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1

[R] Formatting numbers for display

2012-08-02 Thread Dennis Fisher
. For the dput-ers, use the following as potential input: VALUES - c(123456789, 12345678, 1234567.9, 123456.89, 12345.789, 1234.6789, 123.56789, 12.456789, 1.3456789, 0.123456789, 0.0123456789, 0.00123456789) Thanks for any thoughts. Dennis Dennis Fisher MD P (The P Less Than Company) Phone

[R] Kerning of italic text in plotmath

2012-05-15 Thread Dennis Fisher
, xlab=, ylab=) mtext(side=3, line=-0, Some Text) mtext(side=3, line=-1, expression(italic(Some) ~~ Text)) mtext(side=3, line=-2, expression(italic(Some) ~~ italic(Text))) Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784

[R] Rotating margin text

2012-04-10 Thread Dennis Fisher
and las does not offer this option. Is there some other means to rotate the text string? Thanks in advance. Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com [[alternative HTML version

Re: [R] Plotting a registered sign

2012-03-01 Thread Dennis Fisher
of plotmath. Could someone explain? 2. How would one learn that \342 corresponds to the copyright sign in the symbol font? (i.e., is there a list of all possible characters) Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784

[R] Plotting a registered sign

2012-02-29 Thread Dennis Fisher
R 2.14.0 OS X Colleagues Probably a simple question but it alludes me at the moment. I want to embed a registered sign in the text in a legend. The text would look like: SOMETEXT® with ® superscripted. Thanks in advance. Dennis Dennis Fisher MD P (The P Less Than Company) Phone

[R] read.csv error: invalid multibyte string

2011-12-31 Thread Dennis Fisher
with degree. read.csv reads the 11K rows of the new file in a fraction of a second. Can someone explain why reading the text connection is so much slower than reading a file? Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784

[R] Nonlinear regression aborting due to error

2011-10-11 Thread Dennis Fisher
. Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

[R] Removing a single element from an array

2011-09-18 Thread Dennis Fisher
. I can accomplish this with a second command: LIST- LIST[LIST != filename.to.be.excluded] This is cumbersome -- is there some more efficient code to accomplish this? Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1

[R] Setting Windows environment variables via a batch file

2011-08-23 Thread Dennis Fisher
? Thanks in advance. Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

[R] Reading XML files masquerading as XL files

2011-08-10 Thread Dennis Fisher
, then use read.csv. However, there are many files so I would love to have a solution that does not require this brute force approach. Are there any packages that would allow me to read these files without the additional steps? Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866

[R] UNIX diff function

2011-07-13 Thread Dennis Fisher
of a more clever approach to this (or perhaps some function already exists). Any help would be appreciated. Thanks. Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com

[R] Applying toupper to only portions of text strings

2011-05-26 Thread Dennis Fisher
Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

[R] Adding margin text to lattice graphics

2011-04-09 Thread Dennis Fisher
that accomplishes my goal? Or a different implementation of this same command? Any help would be greatly appreciated. Also, because of my naivete with lattice graphics, I may be asking the question in entirely the wrong way -- please feel free to redirect me. Dennis Dennis Fisher MD P (The P Less Than

[R] Adding text to page margin with lattice graphics

2011-04-07 Thread Dennis Fisher
is a function of itself? Any help in interpreting the function would be appreciated. Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com __ R-help@r

[R] Probing a function

2011-03-28 Thread Dennis Fisher
: function (...) UseMethod(readWindowsShortcut) environment: namespace:R.utils providing no insight to me as to the commands in the function. So, how do I (or, can I) access the code in that function? Thanks in advance Dennis Dennis Fisher MD P (The P Less Than Company) Phone

[R] Finding the common portion of strings

2011-03-25 Thread Dennis Fisher
know what that SOMETHINGCOMMON is. Is there an efficient means to find the common string of characters between all of the objects? Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com

[R] Unexpected behavior of windows() command followed by print(LATTICEPLOT)

2011-03-22 Thread Dennis Fisher
assume that the problem relates to printing options for lattice objects. Can someone direct me to how to solve this? Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com

[R] Environment variable PATH in Windows

2011-03-04 Thread Dennis Fisher
in Windows? Thanks in advance. Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

[R] Submissions that include an entire previous digest

2010-12-12 Thread Dennis Fisher
both Subject: R-help Digest, Vol XX, Issue YY and End of R-help Digest, Vol XX, Issue YY) to prevent this problem? Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com

[R] grep triggering error on unicode character

2010-10-11 Thread Dennis Fisher
containing XXX. If I can do so, I can remove the offending lines before I execute the tolower command. However, I am stumped as to how to resolve either problem. Any help would be appreciated. Thanks. Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784

[R] Formatting of time strings

2010-09-10 Thread Dennis Fisher
. Any help would be appreciated. Thanks. Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com __ R-help@r-project.org mailing list https://stat.ethz.ch

[R] Type 3 sum of squares

2010-08-16 Thread Dennis Fisher
that the coding of nesting in the formula is correct: DATA$SEQ %in% DATA$ID Any advice on this would be appreciated. Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com

[R] Unable to retrieve residual sum of squares from nls output

2010-08-13 Thread Dennis Fisher
:List of 2 ..$ maxiter : num 1000 ..$ warnOnly: logi TRUE - attr(*, class)= chr nls However, none of these elements appears to contain the residual sum of squares. Help! Thanks. Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1

[R] Constructing arguments for plotmath

2010-08-01 Thread Dennis Fisher
the registered sign ('\u00ae') to appear as a superscript. Any help would be appreciated. Dennis (R 2.11; OS X [platform should not be an issue here]) Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com

[R] Adding lines to two graphs alternately

2010-07-28 Thread Dennis Fisher
. In other words, I am trying to add to both two panels in an alternating manner -- do some calculations, add a line to panel 1, then add a line to panel 2, then do more calculations. Is this possible? Dennis (OS X, R 2.11) Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1

[R] Rank ANCOVA

2010-07-27 Thread Dennis Fisher
function for R? Thanks in advance. Not that it matters in this situation but the platform is OS X; R version is 2.11. Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com

[R] Registered / trademark signs

2010-07-20 Thread Dennis Fisher
that works in both OS X and Windows (≥ XP) and with R versions ≥ 2.11 Thanks in advance. Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com __ R-help@r

[R] Inserting an image into a PDF file

2010-07-11 Thread Dennis Fisher
to accomplish this? (OS X, R 2.11.1) Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

[R] Reading JPEG file, converting to HEX

2010-05-16 Thread Dennis Fisher
, which does not appear to be what I need. Any thoughts? Thanks in advance. Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com __ R-help@r-project.org

[R] Unexpected call to require

2010-05-05 Thread Dennis Fisher
. But, the script does return that message. Does anyone recognize this specific message, i.e., what is triggering the messages? Thanks in advance. Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784

[R] Determining whether plot.new has been called

2010-04-28 Thread Dennis Fisher
? Thanks in advance. Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

[R] string width calculation

2010-03-27 Thread Dennis Fisher
- so I need to normalize them to the width of the figure (if outer=T, use width of the page) Unfortunately, spacing is not perfect. Perhaps I misunderstand how adj is applied or I am apply. Can anyone help me to understand how adj is applied? Thanks in advance. Dennis Dennis Fisher MD P

[R] shading an area of a graphic

2010-03-24 Thread Dennis Fisher
, the delineation is a curve (which I can describe by an equation). In theory, I could divide the x-axis into a large number of regions, then draw a series of polygons side by side, the top / bottom borders of which are lines. Is there a more elegant solution? Dennis Dennis Fisher MD P (The P Less

[R] Printing Unicode characters in a PDF document

2010-03-20 Thread Dennis Fisher
=n) text(1,1, \u3BC) The mu appears as expected, presumably indicating that the problem relates to devices. For various reasons, I would like to avoid using plotmath (expression). Thanks for any assistance. Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866

[R] Writing dataframes to SAS XPT format

2010-03-17 Thread Dennis Fisher
). Has anyone developed such a function? If so, would you be willing to share it? Better yet, post it to CRAN so that it is available to all users. Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com

[R] Identifying special characters in a text file

2010-02-11 Thread Dennis Fisher
approach to this problem. Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

[R] Failure to produce italics in jpeg

2010-01-23 Thread Dennis Fisher
this. Any ideas? Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

[R] Reducing the size of a large script top speed onset of execution

2010-01-09 Thread Dennis Fisher
an explanation for this behavior; also, any ideas as to how to speed the process at the command line would be appreciated. Thanks for any suggestions. Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784

[R] Use of apply rather than a loop

2009-12-04 Thread Dennis Fisher
this markedly but I am not facile with them. Any help would be appreciated. Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com __ R-help@r-project.org mailing list

[R] Help with complicated regular expression

2009-11-13 Thread Dennis Fisher
exists. Any help with regular expressions would be appreciated. Thanks. Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com __ R-help@r

[R] Determining which file is newer

2009-10-23 Thread Dennis Fisher
Testfile4421FALSE 755 2009-10-23 08:59:09 2009-10-23 08:59:09 What is the simplest means to compare these two objects? R2.9.1 in OSX, Windows, Linux Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866

[R] Deleting a column in a dataframe by name

2009-09-29 Thread Dennis Fisher
this? Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-415-564-2220 www.PLessThan.com __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http

[R] Adding to the middle of a vector

2009-09-07 Thread Dennis Fisher
], NewElement, Vector[5:10]) However, I suspect that there is a more elegant solution. Any proposals? Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-415-564-2220 www.PLessThan.com __ R-help@r-project.org

[R] Moving Rterm.exe to another location

2009-09-03 Thread Dennis Fisher
a folder other the bin? Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-415-564-2220 www.PLessThan.com __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] Moving Rterm.exe to another location

2009-09-03 Thread Dennis Fisher
uwe that is brilliant - i was not aware of that command. the solution is now apparent: as you suggest, i can access that PID, write it to a file, then search for that file, reads it contents, etc. thanks. dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866

[R] Finding a folder at the root level of an unknown drive

2009-06-06 Thread Dennis Fisher
reports only successes? Thanks in advance. Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-415-564-2220 www.PLessThan.com __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

  1   2   >