[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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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 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] 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] 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] 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] 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] 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] 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] 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] Dealing with missing EOL at end of file

2008-09-17 Thread Dennis Fisher
approach to the entire problem? 2. Is there any risk in having two EOL characters at the end of the file (i.e., need I test for the presence of EOL at the end of the file or can I append EOL to any file with no potential harm? Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866

[R] readLines fails to read entire file

2008-06-09 Thread Dennis Fisher
by working with the files separately. However, this is not optimal. Is there a work-around that enables me to read this file (and ignore the offending character)? 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] Odd behavior of remove command

2008-07-15 Thread Dennis Fisher
) : variablefunction2 was not found Any thoughts as to the problem? 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 [[alternative HTML version deleted

[R] Removing script file

2008-07-29 Thread Dennis Fisher
and returns: file.remove(x) [1] TRUE and the file is deleted In Windows XP, it returns: [1] FALSE and the file is not deleted. I realize that this is an OS issue rather than an issue with execution of the command. Is there some means to delete the script from within R? Dennis Dennis Fisher

[R] Executing a telnet session from R

2008-04-06 Thread Dennis Fisher
. How do I enter the password into the command? 2. How do I execute the commands on the other machine? 3. Finally, how do I execute the 'logout' command (this should not differ from #2)? Thanks in advance for any help on this. Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866

[R] strsplit and sapply

2008-04-11 Thread Dennis Fisher
]] [1] e ff Now I need to access the [1] portions of [[n]] - (a, bb, ). I suspect that sapply is the correct tool here but the syntax eludes me. Can anyone direct me to the correct syntax? Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866

[R] Random number generation

2008-05-10 Thread Dennis Fisher
()) sample(1000:, size=1) Also, the same problem occurs if I use runif instead of sample. Thoughts? 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 [[alternative HTML version deleted

[R] Executing a command at interrupt

2008-05-22 Thread Dennis Fisher
. Is there some means in R to execute a final command. .Last does not accomplish this under my set of circumstances. 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 [[alternative HTML version deleted

[R] Lengthy delay in sourcing a large function

2008-06-02 Thread Dennis Fisher
with this issue? 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 [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

[R] Startup speed for a lengthy script

2008-06-06 Thread Dennis Fisher
difference in the implementation. With the GUI, the commands are pushed, i.e., the GUI opens R, then sends a continuous stream of code. Does anyone have any idea as to why the delay should be so different in the two settings? Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866

[R] R errors when trying to read a file

2009-05-11 Thread Dennis Fisher
the conditional is evaluated but before the readLines command is executed? If so, is there any means to prevent an error condition? Any help will be greatly appreciated. Thanks. Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-415-564-2220

[R] length(grep(...

2009-05-19 Thread Dennis Fisher
Colleagues R2.8.1 in OSX I often combine two commands as follows: length(grep(TEXT, OBJECT)) 0 to see if a particular snippet of text exists within an object. Is there a single command that would accomplish this? Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 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

[R] recovering status after q(status=n) in Windows

2007-11-26 Thread Dennis Fisher
it from the OS. However, there are reasons why this is not desirable. 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 [[alternative HTML version deleted

[R] Capturing info from system calls in Windows

2008-01-26 Thread Dennis Fisher
] 0 As you can see, Windows replies no input files; however, that info is not captured in TEST. I presume that this is because standard error is dealt with different in Windows compared to Unix-line platforms. Any thoughts on how to capture standard error in Windows? Dennis Dennis Fisher

[R] Confusion regarding environments invoked by source command

2009-03-23 Thread Dennis Fisher
as to how I am managing environments but I cannot figure out a solution. 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-415-564-2220 www.PLessThan.com __ R-help@r

[R] Calculating confidence limits for the difference between means

2008-10-22 Thread Dennis Fisher
. I suspect that several participants in this board have implemented code to so this. I hope that someone is willing to share the code. 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] Unexpected behavior of difftime in relationship to daylight savings time

2008-11-03 Thread Dennis Fisher
01:17:00, 2008-11-02 01:16:00) Time difference of 1.016667 hours Can anyone explain 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 [[alternative HTML version deleted

[R] Unexpected behavior of clocktime related to daylight savings time

2008-11-07 Thread Dennis Fisher
difftime(2008-11-02 01:18:00, 2008-11-02 01:17:00) Time difference of 1 mins Not expected: difftime(2008-11-02 01:17:00, 2008-11-02 01:16:00) Time difference of 1.016667 hours Can anyone explain this? Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753

Re: [R] Unexpected behavior of clocktime related to daylight savings time

2008-11-08 Thread Dennis Fisher
to show that DST takes effect as 1:16, not 1:100)? 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 On Nov 7, 2008, at 8:05 AM, Prof Brian Ripley wrote: On Fri, 7 Nov 2008, Dennis Fisher wrote: Colleagues, I

[R] identifying what labels have been created in a plot

2009-01-30 Thread Dennis Fisher
for any suggestions. 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

[R] Replacing tabs with appropriate number of spaces

2008-12-09 Thread Dennis Fisher
number of spaces (e.g., if the string preceding the tab has 29 characters, add 3 spaces), then paste(..., sep=) However, I am sure a more elegant approach exists. Can anyone offer one? Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-415

[R] opening a PDF document

2008-12-14 Thread Dennis Fisher
) is successful. Is there a comparable command line command for Windows or Linux? 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

[R] Follow-up on openPDF command

2008-12-15 Thread Dennis Fisher
of which identifies the OS. The SYSTEM command is specific for the OS (e.g., system in OS X and Linux, shell in Windows; intern=T in all cases). If anyone has suggestions for improvement, I would be delighted to receive them. Dennis Dennis Fisher MD P (The P Less Than Company) Phone: 1

[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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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

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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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

[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] 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] 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] 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] 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] 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] 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

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

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

[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 __

[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] 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] 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

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] 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

[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

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:

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
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

  1   2   >