Displaying 20 results from an estimated 1000 matches similar to: "Delete files with system command on Windows 7"
2009 Dec 17
2
Sweave Makefile issue
Dear R-specialists,
I am trying to create a Makefile that will first convert all my .Rnw
files into .tex files and then, that will run the LaTeX compiler to
produce a pdf document. This issue has been discussed before. Hence,
I've basically adapted a Makefile I found at
http://n4.nabble.com/R-Sweave-R-and-complex-latex-projects-td810020.html#a810023
to make it compatible with a Windows
2012 Jan 25
1
Re: docs: Remove outdated LaTex documentation.
On Wed, 2012-01-25 at 15:55 +0000, Xen patchbot-unstable wrote:
> # HG changeset patch
> # User Keir Fraser <keir@xen.org>
> # Date 1327506767 0
> # Node ID 4271634e4c86568b6bf2241ebf9be4a82ab430bf
> # Parent a2a8089b1ffbf5757ca3191cb8f74a5f1ed7fed1
> docs: Remove outdated LaTex documentation.
Nice.
> @@ -82,7 +70,7 @@
> $(MAKE) -C xen-api clean
>
2010 Sep 15
1
running 'make' failed during vignette creation ('R CMD build') on Windows
Hi,
This is a follow-up to the problem reported here:
https://stat.ethz.ch/pipermail/r-devel/2010-September/058460.html
After I updated R-2.12 to 2010-09-13 r52905 on the Bioc build system,
some of the packages that have a Makefile in <pkg>/inst/doc still
don't build on Windows. For example, 'R\bin\R.exe CMD build adSplit'
gives:
* checking for file
2010 Aug 02
1
read the middle of a file
Hello,
The other day Justin Peter presented a mini program to plot a topographic map with an overlay of the worldHires. I seemed interesting so I checked the ETOPO5 site and find that there is a new file ETOPO1 with a 1 minute grid. I downloaded it and tried a similar procedure. Now the ETOPO1.gz is 1 Gb and the uncompressed file is 5 Gb. They do not fit into my laptop. I tried the following
2010 Jun 28
2
How to run Bibtex with pdfLatex in StatEt/MikTex on Windows ?
Hello,
I'm running R2.10, Eclipse, StatEt and MikTex 2.8 to create Sweave
documents, and everything seems to work great, until today...
I was trying to add citations from a Bibtex file, but I just got [?]
citations. However, if I open the .tex file that StatEt created in
MikTex and run the latex+bibtex+pdflatex command, the citations are present.
Does anyone know how to either configure
2008 May 21
4
Sweave / Latex per-chapter output
Dear R-help,
I am using Sweave and pdflatex to generate a large report from data
contained in my database (Postgres via RODBC). Currently, I work with
a single R/Sweave file, containing several "chapter" indications for
the Latex engine. My master tex file sets the document class, and
includes the introduction, the main Sweave file, and a conclusions and
reference file. I use a makefile
2002 Oct 30
4
Sweave in packages
Dear R folks,
One of the fantastic new tools in R is `Sweave'. I have tested it so much that I
know it works and produces fine documentation, and with (GNU) Emacs/ESS it is
nice to work with, too. I started to have a look at including some Swoven (is
that a strong verb?) documentation with my R package, but it seems that there is
no model to copy among those packages that I have installed in
2016 Dec 18
4
setjmp/longjmp and volatile stores, but non-volatile loads
On 30/09/16 20:10, Reid Kleckner wrote:
> On Mon, Sep 19, 2016 at 4:42 AM, Jonas Maebe <jonas-devlists at watlock.be
> <mailto:jonas-devlists at watlock.be>> wrote:
>
> So, can I use invoke and landingpad without using any of the other
> exception handling intrinsics? (in combination with a dummy personality
> function) Or will LLVM in all cases insist on
2006 Jul 14
3
Migration not updating fields
So I have this fairly basic migration bit of code
class AddCounterCache < ActiveRecord::Migration
def self.up
add_column ''products'', ''backlog_items_count'', :integer, :default =>
0
end
def self.down
remove_column ''products'', ''backlog_items_count''
end
end
What I want to do in that is automatically
2011 Oct 13
3
Create order of numbers based on a given vector
Hello!
If I have a vector vec <- c(FALSE, FALSE, TRUE, FALSE, TRUE, TRUE, FALSE
FALSE)
I can I create the following order of numbers based on vector vec:
1, 2, 2, 3, 3, 3, 4, 5
Whenever there is a FALSE I increase the number (starting with 1).
Whenever there is a TRUE I set the same number as the previous FALSE has
been assigned to.
I would be happy for any input
Cheers,
Syrvn
--
View
2011 Oct 06
3
Duplicate elements of a vector
Hi,
let's assume I have the following vector a:
1 5 23
How can I use R to duplicate the elements so that my new vector looks like:
1 1 5 5 23 23
Many thanks,
Syrvn
--
View this message in context: http://r.789695.n4.nabble.com/Duplicate-elements-of-a-vector-tp3879561p3879561.html
Sent from the R help mailing list archive at Nabble.com.
2014 Mar 26
3
[LLVMdev] [cfe-dev] computing a conservatively rounded square of a double
On 03/26/2014 11:36 AM, Geoffrey Irving wrote:
> I am trying to compute conservative lower and upper bounds for the
> square of a double. I have set the rounding mode to FE_UPWARDS
> elsewhere, so the code is
>
> struct Interval {
> double nlo, hi;
> };
>
> Interval inspect_singleton_sqr(const double x) {
> Interval s;
> s.nlo = x * -x;
> s.hi = x *
2014 May 18
2
Writing my first CRAN vignette
In fact my first vignette full stop.
I am intending to use Sweave. I have read the Sweave documentation
and section 1.4 of the extensions manual and apart from (a) do not
use split = TRUE (b) and include all the source components, there
does not seem to be anything CRAN specific.
1 - Am I missing some other documentation?
2 - If I use a package from CTAN would that be considered within the
2010 Sep 03
5
how to get row name of matrix when result is a vector
Hi,
the R code:
a <- matrix(c(1,5,4,3,7,10,34,4,3,8,6,5,12,17,45,3,2,45,46,47,3,4,22,12,21),
nrow=5)
rownames(a) <- c("a","b","c","d","e")
a
a[which(a[,3] < 8), ]
a[which(a[,3] < 6), ]
produces the following output:
> a
[,1] [,2] [,3] [,4] [,5]
a 1 10 6 3 3
b 5 34 5 2 4
c 4 4 12 45 22
d
2011 Aug 23
3
R system command does not work with objects/variables
Hello!
with the R system command I would like to call a perl script which needs an
input directory and an output directory in form of a path. When I put in the
path directly it works. The script line looks as follows:
system("perl '../path1' '../path2' '../path3'")
If I store the path in a variable/object and call the perl script again it
does not run and I
2011 Nov 15
2
Extract pattern from string
Hello,
with Sys.time() you get the following string:
"2011-11-15 16:25:55 GMT"
How can I extract the following substrings:
year <- 2011
month <- 11
day_time <- 15_16_25_55
Cheers,
Syrvn
--
View this message in context: http://r.789695.n4.nabble.com/Extract-pattern-from-string-tp4073432p4073432.html
Sent from the R help mailing list archive at Nabble.com.
2011 Oct 13
8
Remove specific rows in a matrix/data.frame
Hi,
imagine the following matrix/data.frame
Letter Number
a 1
a 1
b 1
b 0
c 0
c 1
d 0
d 0
If the numbers for two identical letters are also identical then I want to
remove either the first or the
second row of that letter. If for a letter the numbers are 1 and 0 I want to
remove the row with the 0.
That means if the code works I would and up with the following
matrix/data.frame
Letter
2012 Feb 23
2
extract subset of data.frame
Hello,
consider the following data.frame df and vector v
df <- data.frame(group = c("A","B","C","D"), value = c(1,2,3,4))
v <- c(2,3)
How can I return a sub data.frame which has only the rows left where value
matches v
df:
group value
B 2
C 3
Cheers
--
View this message in context:
2012 Jan 17
2
How to loop on file names
Dear all,
I need to do the same procedure on several files. But I don't know how
to refer to the file name.
Here is an example of what I am trying to do.
List of files: file1(A,B,C, D1...Dn), file2(A,B,C,E1,...,En),
file3(A,B,C,F1,...,Fn)
Procedure I want to apply on each file:
dft <- melt(df,id=c('A','B','C'))
dft$X <- substr(dft$variable,1,3)
dft$Y <-
2011 Nov 29
2
Help needed in reproducing a plot
Hello,
can anybody tell me how to produce a plot like the one in
http://cran.r-project.org/web/packages/lme4/vignettes/Implementation.pdf
on page 13, Figure 6?
The data is stored in:
library(nlme)
data(Oats)
Cheers
--
View this message in context: http://r.789695.n4.nabble.com/Help-needed-in-reproducing-a-plot-tp4119603p4119603.html
Sent from the R help mailing list archive at