Displaying 18 results from an estimated 18 matches for "pdfviewer".
2004 Apr 21
2
Assigning functions in Rprofile
...tem("echo $DISPLAY",intern=T))==0) # no X
{options(htmlhelp=FALSE)
ret <- "no X"}
else {system("mozilla") # we have X - I'm starting this to get a new
# window for the R session, without starting a new window every
time
options(pdfviewer="/usr/local/bin/acroread",browser="mozilla")
help.start()
ret <- "X"}
ret
}
----
Robert King, Statistics, School of Mathematical & Physical Sciences,
University of Newcastle, Australia
Room V133 ph +61 2 4921 5548
Robert.King at newcastle.edu....
2009 May 25
1
vignette problem
Dear R People:
I'm using R-2.8.1 on Ubuntu Jaunty jackalope (or whatever its name
is), and having a problem with the vignette function:
> vignette("snowfall")
sh: /usr/bin/xpdf: not found
>
Has anyone run into this, please?
Or is this for the Debian R list, please?
Thanks,
Erin
--
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
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 function to do the above together.
> viewpdfhelp <- function(topic, reader = getOption("...
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
2006 Nov 07
2
How to link to vignette from .Rd file
I am building a package for various noncentral hypergeometric distributions.
I want to include some heavy mathematical formulas. It appears that the
build and INSTALL commands produce only .chm files and not .pdf files
from my .Rd files under Windows. This means that it cannot show
complicated mathematical formulas.
The solution might be to include a .pdf file as a vignette. I tried
that,
2006 Nov 07
2
How to link to vignette from .Rd file
I am building a package for various noncentral hypergeometric distributions.
I want to include some heavy mathematical formulas. It appears that the
build and INSTALL commands produce only .chm files and not .pdf files
from my .Rd files under Windows. This means that it cannot show
complicated mathematical formulas.
The solution might be to include a .pdf file as a vignette. I tried
that,
2010 Apr 27
1
TikzDevice and texi2dvi
...\\int_{", min(xi),
"}^{", max(xi), "}p(x)dx\\approx", round(int[['value']],3),
'$', sep=''))
#Close the device
dev.off()
# Compile the tex file
tools::texi2dvi('normal.tex',pdf=T)
# optionally view it:
# system(paste(getOption('pdfviewer'),'normal.pdf'))
2009 Jun 15
1
ubuntu configuration problem "Couldnt get a file descriptior referring to the console"
...rogram that tries to spawn a pdf viewer
fails with this somewhat uninformative error message:
> RShowDoc("frame", package="grid")
> Couldnt get a file descriptor referring to the console
I've traced this back to a setting in /etc/R/Renviron:
## Default PDF viewer
R_PDFVIEWER=${R_PDFVIEWER-'/bin/open'}
That setting causes the trouble--if it is changed to a valid pdf
viewer, then the strange error message does not appear. If your
system has the OpenDesktop mime system in place, this setting will
work:
# Default PDF viewer
R_PDFVIEWER=${R_PDFVIEWER-'/usr/bi...
2009 May 25
1
[R] vignette problem
Dear R Debian People:
I put this on the "big list" too. I'm having a problem with the
vignette function.
> vignette("snowfall")
sh: /usr/bin/xpdf: not found
>
>
This is on Ubuntu Jaunty jackalope, R-2.8.1
thanks,
Erin
--
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: erinm.hodgess
2009 Oct 06
1
vignette() failure
Hi,
I can't pinpoint exactly since what R version I first noticed this
error, but are others seeing this?
R> vignette("grid")
R> sh: : command not found
instead of having the vignette displayed in the proper viewer? This is
with:
R> sessionInfo()
R version 2.9.2 (2009-08-24)
x86_64-pc-linux-gnu
locale:
2008 Dec 16
0
Follow-up on "openPDF" command
...lt;- function(PDFFILENAME)
{
OPENPDFCOMMAND <- "open" # applies to OS X
if (!UNIX) OPENPDFCOMMAND <- "start" # applies to Windows
if (LINUX)
{
OPENPDFCOMMAND <- getOption("pdfviewer") # S-
Plus does not set this option
# also, R appears to not set it in SUSE
TESTTHESE <- c("xpdf", "evince",
"acroread")
if (is.null(OPENPDFCOMMAND)) # look for
application named ......
2010 May 14
1
Problem with vignette printing
Dear R-users,
I am trying to figure out why I cannot print vignettes in my new R
installation (R.11 on opensuse 11.2). Apparently, vignette objects are
properly created but could not be printed:
> z<-vignette('grid')
> str(z)
List of 3
$ file : chr "/usr/lib/R/library/grid/doc/grid.Snw"
$ pdf : chr "/usr/lib/R/library/grid/doc/grid.pdf"
$ topic: chr
2016 Apr 27
0
(windows) opening document with particular exe file
Hello dear R, I dont have specific task on mind just learning R.
1) Is it possible to open a document for example path1\myfile.pdf with
program path2\pdfviewer.exe ?
How would I do it in win? Does it differ in linux?
2) Is it possible to run a program and supply to it some streams? The
streams are for example txt file or web address.
One specific task which comes to mid: I would like to draw in inkscape
programmatically with script. Is it somehow possi...
2009 Oct 10
1
Setting a mirror "permanently" on R on ubuntu (PR#13995)
Dear all,
I seem to have many problems as I run R on my ubuntu system.
want to set a mirror so that anytime I use the command "install.packages",
it does not ask me for which mirror to use but go direct.
This is because of the error I keep on getting below and I dont know how to
solve it.
Please help.
Kind regards,
Lazarus
> library(epicalc)
Loading required package: foreign
2009 Sep 04
1
Viewing pdfs from inst/doc
Writing R extensions says:
In addition to the help files in Rd format, R packages allow the inclusion
of documents in arbitrary other formats. The standard location for these is
subdirectory inst/doc of a source package, the contents will be copied to
subdirectory doc when the package is installed. Pointers from package help
indices to the installed documents are automatically created.
2008 Nov 15
1
unable to view vignette in R
Hello All R-Gurus:
ISSUE:
Cannot view R vignettes due in Ubuntu Linux (a debian variant).
note: this issue has been posted to this list before with no responses given
see https://stat.ethz.ch/pipermail/r-help/2007-September/141178.html
DETAILS:
I am trying to view an R vignette.
Here is the situation: I issue the openvignette(), then select the
vignette I wish to view...and the system returns:
2003 Apr 16
2
R-1.7.0 is released
...e `gr' argument (contributed
by Adrian Trapletti).
o PDF files produced by pdf() have more extensive information
fields, including the version of R that produced them.
o On Unix(-alike) systems the default PDF viewer is now determined
during configuration, and available as the 'pdfviewer' option.
o pie(...) has always accepted graphical pars but only passed
them on to title(). Now pie(, cex=1.5) works.
o plot.dendrogram (`mva' package) now draws leaf labels if present
by default.
o New plot.design() function as in S.
o The postscript() and PDF() drive...
2003 Apr 16
2
R-1.7.0 is released
...e `gr' argument (contributed
by Adrian Trapletti).
o PDF files produced by pdf() have more extensive information
fields, including the version of R that produced them.
o On Unix(-alike) systems the default PDF viewer is now determined
during configuration, and available as the 'pdfviewer' option.
o pie(...) has always accepted graphical pars but only passed
them on to title(). Now pie(, cex=1.5) works.
o plot.dendrogram (`mva' package) now draws leaf labels if present
by default.
o New plot.design() function as in S.
o The postscript() and PDF() drive...