search for: plessthan

Displaying 20 results from an estimated 114 matches for "plessthan".

2010 Feb 12
1
Identifying special characters in a text file
...these characters and exit gracefully with a warning. I discovered that the following works: any(is.na(strsplit(readLines(FILE), ""))) I am wondering whether anyone has a better 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
2009 Nov 13
5
Help with complicated regular expression
...123 ) WORD(1 ) WORD\t ( 21\t) WORD \t ( 1 \t ) etc. I don't need to substitute anything, only to identify if such a string 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
2020 Oct 24
5
Package recommendations for outputting table with cell formatting
...putting 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: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com
2023 Jan 16
3
Printing special characters
...c" When I include the string in a graphic using: mtext(STRING, ?) it appears as: "EVENT ... 30 sec" Is there a simple work-around (short of reformatting all the 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
2009 Sep 29
3
Deleting a column in a dataframe by name
...a known name from a dataframe. I could write: FRAME <- FRAME[, names(FRAME) != NAMETODELETE] or FRAME <- FRAME[, !names(FRAME) %in% c(NAME1, NAME2, ETC)] Is there some simpler means to accomplish 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
2011 Mar 29
2
Probing a function
...t;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: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com
2011 Apr 10
3
Adding margin text to lattice graphics
...lementation 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" Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com
2005 Oct 18
6
Subsetting a list
...ot; "C2" The command TEST[[-3]] yields: Error: attempt to select more than one element How can I accomplish delete one or more elements from this list? I am running R2.2.0 on a Linux platform. 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]]
2023 Dec 01
5
adding "Page X of XX" to PDFs
...l 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: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com
2018 Feb 13
3
Help with regular expressions
...,THETA5 ,THETA6 ,THETA7 ,SIGMA(1.1) ,SIGMA(2.1) ,SIGMA(2.2)? Can someone provide the regular expression 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
2007 Sep 04
2
Recursive concatenation
...ot; I recall that there is a trick using "c" or "paste" permitting me to form all combinations of c("A", "B", "C") and 1:3. But, I can't recall the trick. 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]]
2011 Mar 25
2
Finding the common portion of strings
..."SOMETHINGCOMMON" and the position varies. But, I don't 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
2017 Dec 01
0
Timezone problem with 3.4.2
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://www.plessthan.com/> > On Nov 30, 2017, at 6:42 PM, R. Mark Sharp <rmsharp at me.com> wrote: > > From Peter Dalgaard announcement earlier today. > > > CHANGES IN R 3.4.3: > > INSTALLATION on a UNIX-ALIKE: > &g...
2008 Apr 11
3
strsplit and sapply
...ed to access the [1] portions of [[n]] - ("a", "bb", "dddd"). 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-753-7784) Fax: 1-415-564-2220 www.PLessThan.com [[alternative HTML version deleted]]
2018 Feb 22
2
Problem with geterrmessage()
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: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com > On Feb 22, 2018, at 12:45 PM, luke-tierney at uiowa.edu wrote: > > Only the default error handler puts the error message in a buffer > where it can be retrieved with geterrmessage. try() replaces the > default error handler. Either look at th...
2011 May 26
4
Applying "toupper" to only portions of text strings
...could loop through each element, strsplit at the character, apply toupper to the first component, then paste each element together. But, I hope that there is a simpler means to accomplish this. 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
2023 Mar 27
3
printing a data.frame without row numbers
...ITHOUT the row numbers: COL1 COL2 1 10 2 9 3 8 4 7 5 6 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-PLessThan (1-866-753-7784) www.PLessThan.com
2020 Oct 24
0
Package recommendations for outputting table with cell formatting
Will this need to be done many times? If not, it might be just as easy to apply conditional formatting to cells after they're already in Excel. On Fri, Oct 23, 2020 at 8:28 PM Dennis Fisher <fisher at plessthan.com> wrote: > > R 4.0.2 > OS X > > Colleagues > > I have the unfortunate need to create a large number of tables (destined for a Word document). I need to color cells depending on the contents, e.g., blue if the value is < 0.5, red if the value is > 1.5. > If the o...
2007 Aug 03
3
Sourcing commands but delaying their execution
...look like: SERIES OF COMMANDS source("FileMerged") # but withhold execution of some of the commands MORE COMMANDS COMMAND TO EXECUTE THE WITHHELD COMMANDS Does R offer some option to accomplish 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
2017 Dec 01
2
Timezone problem with 3.4.2
...es' 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 < (The "P Less Than" Company) Phone / Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com