similar to: How to set directory Rscript runs in/Sweave output directory

Displaying 20 results from an estimated 2000 matches similar to: "How to set directory Rscript runs in/Sweave output directory"

2008 Oct 16
1
Rscript -e, Sweave and tempdir()
Hello R-Help I have a question about the "behind the scenes" behaviour of the Rscript -e command and particularly its interaction with Sweave and tempdir(). We are trying to deploy R as a web service to do water quality analyses and have been writing software to call Sweave via Rscript eg: cmd> Rscript -e Sweave('sweavefile.Rnw') One problem we have been having is that
2008 Sep 29
1
problem running Sweave as a web service with anti-virus software
Hello R mailing list We are trying to use R and Sweave, running as a web service on a server to prepare statistical reports but are having problems with our anti-virus software apparently prohibiting execution due to what we think is Sweave trying to run an executable in one of the system's temporary folders. As background, we use the following Rscript command to invoke Sweave (the text in
2008 Jul 28
1
Is there a way to avoid loading dependendent packages?
Hello R help list I have been using the smoothScatter function within the "geneplotter" package to make some graphs using a Sweave Rnw script called via Rscript in a DOS/Windows batch file. The Rscript will ultimately be called by a web service with time-out constraints, hence things need to run as swiftly as possible. The geneplotter package is currently loaded each time R is invoked
2008 Jul 31
0
Is conditional evaluation of R code chunks possible in Sweave ?
Hi R mailing list Does anyone know of a good way to conditionally evaluate R code chunks when Sweaveing? What I'd kind of like to be able to do is set a number of variables in a list and if variable.a=TRUE then process code chunk labelled "methodA", if variable.b=TRUE then process code chunk labelled "methodB" etc <<label=setvars>>= variable.a <- TRUE
2009 Feb 16
0
problem with gls finding model terms without specifying data=named.object
Hello R-help I am having trouble getting gls to find the R objects that comprise a linear model when the data=named.object option(option!) is not specified. In the gls() help it states data is "an optional data frame containing the variables named in model, correlation, weights, and subset. By default the variables are taken from the environment from which gls is called". An example:
2009 Apr 23
1
how to control significant digits(?) on axis labels
Dear R mailing list I would like some help on how to get R to display the same number of significant digits (?) for *all* tick marks on axis labels (yet be flexible enough to handle different data sets that vary by 10-1000X). Consider this simple example: #---------------------------# x <- seq(0,2,by=0.5) xlim <- range(pretty(x,n=5)) ylim <- xlim
2010 Mar 22
2
Problem with factors in lm() when using Rscript but not GUI
Hello R-help I am having a curious problem. I am using a batch file to call an R script and am getting an error when performing a lm() fit using factorial data only when running in batch mode (see below). I do not get the error when executing the same code in GUI mode in R 2.10.1. Nor do I get the error when using Rscript version 2.9.2.... ####################################### #windows
2008 Jun 02
0
Missing "spline_coef" DLL and Rob Hyndmans monotonic interpolator
Hello R help I have been trying to use Rob Hyndman's monotonically increasing spline function. But like another user or two seem have a problem with a missing DLL (namely "spline_coef"). None of the previous help postings seemed to have any solutions to this problem. As per a Ripley suggestion I have deleted all previous versions of R and reinstalled R 2.7.0 and the problem
2013 Apr 04
1
R CMD check --outdir=path gives unknown option '--outdir'
For 'R CMD check', it appears that option '--outdir' is not recognized and generates warning "unknown option '--outdir'". R CMD check --help says: Usage: R CMD check [options] pkgs [...] Options: [...] -o, --outdir=DIR directory used for logfiles, R output, etc. (default is 'pkg.Rcheck' in current directory,
2008 Oct 03
2
A strange behaviour of file.path in Windows? (PR#13119)
Full_Name: Enrico Pegoraro Version: 2.7.2 OS: Windows (Vista or Xp PRO) Italian Submission from: (NULL) (87.4.189.202) If you send these lines of code: outdir="c:/pippo" file.path(outdir,"pluto.html") R replies correctly: [1] "c:/pippo/pluto.html" But if you change the first steps to: outdir="" file.path(outdir,"pluto.html") R replies
2013 May 20
1
R CMD check: unknown option ‘--outdir==RCHECK’
Dear R devel I am experiencing a problem using R CMD check. I tried to specify the argument outdir, but get every time the error message: Warning: unknown option ‘--outdir==RCHECK’ This happens both on R 2.15.2 Linux, as well as R 3.0.1 Windows, with latest Rtools. Is it just that I am not passing the argument the right way, or is there an issue with R CMD check? I tried to write the argument
2013 May 21
1
R CMD check: unknown option ?--outdir==RCHECK?
Hi, I believe this is kind of a long standing bug though. In R-3.0.1, but this also happened in previous versions, the long version '--outdir' is not recognised: For `R CMD check --outdir=mydir pkg_0.1.tar.gz` we get: Warning: unknown option ‘--outdir=mydir’ But with `R CMD check -o mydir pkg_0.1.tar.gz` we get: * using log directory ‘/home/renaud/Documents/projects/mydir/pkg.Rcheck’
2013 Aug 28
1
Error when using buildVignettes()
Dear all, When running function 'testQAReport()', which uses function 'buildVignettes()' to create a pdf-file I get the following error: > source("testQAReport.R") > testQAReport() Error in .get_package_metadata(pkgdir) : Files 'DESCRIPTION' and 'DESCRIPTION.in' are missing. Since I did not get this error in earlier versions of R, could you
2010 Jun 06
1
R CMD in 2.11.1 error
Hi, I have a set of user defined package which I have installed in 2.8.1 for quite some time. I installed 2.11.0 and 2.11.1 a couple of days ago while still having 2.8.1 version in my system. For the package, package.skeleton works fine in R 2.11. However, it comes problem when I run Rcmd check/intall. The intall.out shows below. I further tested that I reran R-2.8.1/bin/R CMD check in
2016 Nov 21
2
Re: [PATCH v2 4/5] v2v: ova: don't extract files from OVA if it's not needed
On Saturday, 12 November 2016 16:37:52 CET Tomáš Golembiovský wrote: > We don't have to always extract all files from the OVA archive. The OVA, > as defined in the standard, is plain tar. We can work directly over the > tar archive if we use correct 'offset' and 'size' options when defining > the backing file for QEMU. > > This leads to improvements in speed
2013 Aug 30
1
Problem with texi2pdf(..,clean=TRUE)
Dear all, To create a *.pdf file from a *.Rnw file I do: olddir <- getwd(); setwd(outdir); tryCatch({Sweave("QAReport.Rnw"); tools::texi2pdf("QAReport.tex", clean=TRUE) }, finally = setwd(olddir) ); This works fine, however 'clean=TRUE' does only work when: outdir <-
2013 Feb 20
4
Error in setwd(outDir) : cannot change working directory
I installed R on my Windows laptop in C:\Program Files\R\R-2.15.2 and am able to open RGUI (640bit), see packages and run commands. However, when I test the installation and run the basic tests and all the tests on the standard and recommended packages i.e.: library("tools") testInstalledBasic("both") testInstalledPackages("base", errorsAreFatal
2003 Mar 31
2
Using R2HTML
Hello, I''m using R2HTML library to make a HTML page output (both data frames and graphics): HTMLStart(outdir=paste(getwd(),"/prove html", sep = ""),filename="index", echo = F, HTMLframe = T, withprompt = "HTML> ", CSSFile = "R2HTML.CSS", Title = "Indici di attivit?") ...
2009 Jul 15
1
Read PNG file and display with more than 256 colors RGDAL
Hello list I am trying to use a Googlemaps tile (png file, 640 X 640 px tile) as a background to a plot and have been using the rgdal library to read in the PNG file (modified from code in the RGoogleMaps package). This works OK. My problem is is that the SGDF2PCT function in rgdal seems to be limited to 256 colors and this is introducing (I think) some degradation to the image which appears on
2008 Nov 17
1
Rcmd install problem: "cannot open the connection" and "No such file or directory"
Dear all, On Windows XP with R 2.8.0, I get the error message below when I try install a package from the command line. (Installing as a local zip-file from the menu in the GUI works fine.) Could anybody point me towards the source (and solution) to the problem? Regards Søren --------------------------------------------------------------------------- C:\Dokumenter\Stat\RLSdevel>rcmd