similar to: Follow-up on "openPDF" command

Displaying 20 results from an estimated 1000 matches similar to: "Follow-up on "openPDF" command"

2008 Dec 15
3
opening a PDF document
Colleagues, I am interesting in opening a PDF document via the command line from both Windows, OS X, and Linux ( R version 2.8.0). I found a command openPDF in Biobase. However, I would rather execute the command myself. For example, in OS X: > system("open filename.pdf") is successful. Is there a comparable command line command for Windows or Linux? Dennis Dennis Fisher
2007 Dec 27
1
warning on gamma option in par(args) or calling par(= new)?
Dear All, I have the following function tstpar <- function(n = 200, want.pdf = FALSE, pdfFileName = NULL){ oldpar <- par(no.readonly = TRUE) on.exit(par(oldpar)) steps <- seq(from = 1, to = 8, by = 1) h <- 10; w <- 6 if(want.pdf){pdf(file = pdfFileName, onefile = TRUE, paper = "letter", width = w, height = h)} par(mfrow = c(4,2)) for(i
2004 Apr 21
2
Assigning functions in Rprofile
I use the ugly hack shown below as my .Rprofile (mainly because I couldn't find any other way to spawn a new mozilla window on starting R or calling help.start(), but then send all the help html documents to that new window). With a recent change from a cvs checkout to the released 1.9.0 I find that the new hs() appears if there is nothing of that name in .RData, but if there is the old hs()
2011 Apr 19
0
PDF help for linux
Dear R, Usually when I want to read pdf help for R functions under Linux, I do the following steps > help("par",help_type="pdf") > system(paste(getOption("pdfviewer"),"par.pdf")) which works well. First question, can I let "help" to save the pdf file to a different place other than current working directory? Now I want to write a small
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: > >
2010 Feb 12
1
Identifying special characters in a text file
Colleagues R 2.10.1 on a Mac I read in textfiles using readLines, then I process those files, then I use R to execute another program. Occasionally those files contain characters other than letter / numbers / routine punctuation marks. For example, a bullet (option-8 on a Mac) triggers the problem. Although R can read and process those characters, the other program cannot so I would like to
2011 Mar 25
2
Finding the common portion of strings
Colleagues R: 2.12.2 OS X I have a set of text objects in the form (I am showing 3 of what is more likely to be 20 or so): OBJECTS <- c("abcSOMETHINGCOMMONegf", "xSOMETHINGCOMMONyz", "SOMETHINGCOMMONnme") As you can see, all contain "SOMETHINGCOMMON" and the position varies. But, I don't know what that "SOMETHINGCOMMON" is. Is there an
2009 Jun 15
1
ubuntu configuration problem "Couldnt get a file descriptior referring to the console"
Greetings to everybody in r-sig-debian land. I hope I have found the right place to ask this. If not, please refer me on... I run R 2.9 on Ubuntu 9.04. I believe many people have seen this problem, but because the error message is hard to understand, they have not traced it back to the R install in the distribution. I think it ought to be fixed in the R packaging process, but I do not know if
2010 Jul 20
1
Registered / trademark signs
Colleagues, What is the easiest means to embed a: ? (registered) or ? (trademark) sign in text in a graphic. I would like to use mtext and avoid plotmath, if possible. Ideally, the sign should be superscripted but I can easily sacrifice that. Optimally, I need a solution that works in both OS X and Windows (? XP) and with R versions ? 2.11 Thanks in advance. Dennis Dennis Fisher MD P <
2011 Mar 29
2
Probing a function
R 2.12.2 Windows 7 Colleagues, I just took advantage of the function: readWindowsShortcut in R.utils. It accomplished my goals and I was interested in learning its inner workings. So, I typed the function at the command line (without arguments or parentheses). R returned: function (...) UseMethod("readWindowsShortcut") <environment: namespace:R.utils> providing no
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
2010 May 05
1
Unexpected call to "require"
Colleagues I am executing a length script in R (20K lines). At one point, it returns: > Loading required package: tcltk > Loading Tcl/Tk interface ... done > Loading required package: Hmisc > Loading required package: survival > Loading required package: stats > Loading required package: graphics > Loading required package: splines > Attaching package: 'Hmisc'
2023 Jan 16
1
Printing special characters
Use the Cairo PDF device? On January 16, 2023 12:18:48 AM PST, Dennis Fisher <fisher at plessthan.com> wrote: >R 4.2.2 >OS X > >Colleagues > >A file that I have read includes strings like this: > "EVENT ? 30 sec" >When I include the string in a graphic using: > mtext(STRING, ?) >it appears as: > "EVENT ... 30 sec" > >Is there a
2011 Mar 04
1
Environment variable PATH in Windows
Colleagues, I am trying to understand how R (2.12.1) obtains the PATH environment variable in Windows (7 or Vista). Startup {base} directs one to: "R_ENVIRON" -- which equals "" in my systems R_HOME/etc/Renviron.site -- which does not exist Next, it directs to: R_HOME/etc/Rprofile.site -- which also does not exist (the expected behavior in a "factory-fresh"
2012 Sep 27
1
Speeding up time conversion
R 2.15.1 OS X.7.4 Colleagues, I have a large dataset (27773536 records, the file is several GB) that contains a column of date / time entries in the format: "2/1/2011 13:25:01" I need to convert these to numeric values (ideally in seconds; the origin [e.g., 1970-01-01] is not important). I am using: as.numeric(strptime(DATA$DATADTM, "%m/%d/%Y %H:%M:%S")) It takes 21
2020 Oct 07
1
Adding text to existing PDF's created with R
R 4.0.2 OS X Colleagues Does R have the capability of adding text (e.g., page numbers) to an existing PDF (previously created with R) -- other than adding this text, the PDF should be unchanged (except for a new filename). The intent is as follows: I have multiple PDFs that I eventually merge into a single PDF, separating each one with a separator page. The content of the separator pages
2010 Mar 24
1
shading an area of a graphic
Colleagues OS 10.5 R: 2.10.1 I have a simple x-y plot for which I would like to shade the lower (or upper) part of the interior region (i.e., the area bounded by the axes). If the delineation between top and bottom were linear, it would be use to use the polygon function. However, the delineation is a curve (which I can describe by an equation). In theory, I could divide the x-axis into a
2010 Oct 11
1
grep triggering error on unicode character
Colleagues, [R 2.11; OS X] I am processing a file on the fly that contains the following text: XXX?? [email clients may display this differently -- the string is three X's followed by two instances of the letter a with an acute accent] I read the file with: X <- readLines(FILENAME) In this instance, the text of interest is on line 213. When I examine line 213, it reads: XXX\xe1\xe1
2023 Jan 16
1
Printing special characters
?s 08:31 de 16/01/2023, Jeff Newmiller escreveu: > Use the Cairo PDF device? > > On January 16, 2023 12:18:48 AM PST, Dennis Fisher <fisher at plessthan.com> wrote: >> R 4.2.2 >> OS X >> >> Colleagues >> >> A file that I have read includes strings like this: >> "EVENT ? 30 sec" >> When I include the string in a graphic
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