Displaying 20 results from an estimated 57 matches for "output_file".
2009 Aug 20
3
[PATCH ovirt-node-image] fixes for edit-livecd
Patch set fixes issues with image size increase when using edit-livecd
Also address issue with ext4 root fs
2017 Sep 06
4
post_processor in rmarkdown not working
...rocessor/R/rsos_article.R
https://github.com/inbo/INBOmd/blob/post_processor/inst/rmarkdown/templates/rsos_article/skeleton/skeleton.Rmd
is an Rmd is a MWE that fails compile because the post_processor() is not
run.
Best regards,
Thierry
post_processor <- function(
metadata, input_file, output_file, clean, verbose
) {
text <- readLines(output_file, warn = FALSE)
# set correct text in fmtext environment
end_first_page <- grep("\\\\EndFirstPage", text) #nolint
if (length(end_first_page) == 1) {
maketitle <- grep("\\\\maketitle", text) #nolin...
2017 Sep 07
0
post_processor in rmarkdown not working
Are you sure that you want to read in the output_file in
text <- readLines(output_file, warn = FALSE)?
best regards,
Heinz
Thierry Onkelinx wrote/hat geschrieben on/am 06.09.2017 11:41:
> Dear all,
>
> I'm trying to write a post_processor() for a custom rmarkdown format. The
> goal of the post_processor() is to modify the latex...
2009 Aug 03
0
[PATCH node-image] Fix edit-livecd to re-create ext2 filesystem each time
...he filesystem
manually. Type <enter> when done, and the script
re-packages the ISO.
+ -s Size of ext2 filesystem in MB (default is existing size)
-h display this help and exit
EXAMPLES
@@ -69,14 +70,16 @@ set -e
CODE=
OUTPUT_FILE=
+SIZE=
err=0 help=0
-while getopts :b:hi:o:p: c; do
+while getopts :b:hi:o:p:s: c; do
case $c in
i) CD=$OPTARG;;
b) PARAMS=$OPTARG;;
o) OUTPUT_FILE=$OPTARG;;
p) CODE=$OPTARG;;
+ s) SIZE=$OPTARG;;
h) help=1;;
'?') err=1; w...
2017 Sep 07
3
post_processor in rmarkdown not working
...l
sequence. l.128 \EndFirstPage"
I still get the error with the current version of the code. Running the
post_processor manually works.
eval(parse(
text = readLines(
"
https://raw.githubusercontent.com/inbo/INBOmd/post_processor/R/rsos_article.R
"
)[72:92]
))
post_processor(output_file = "skeleton.tex")
system("pdflatex skeleton.tex")
Best regards,
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
Forest
team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance
Kliniekstraat 25
1070 Anderlech...
2006 Jul 05
2
Protecting Static content
Hi,
I want to build a rails backed site which, in addition to some dynamic
content, also comprises a number of static content files. There are
some static html pages, some powerpoint presentations, and some PDF
documents.
I want to make sure that the user is logged in before they can access
the protected content. I''ve gone through the ''Agile development with
2017 Sep 07
0
post_processor in rmarkdown not working
...ibrary/Frameworks/R.framework/Versions/3.3/Resources/library/INBOmd/rmarkdown/templates/rsos_article/resources/template.tex
--natbib --bibliography sample.bib
Latexmk: This is Latexmk, John Collins, 19 Jan. 2017, version: 4.52c.
Error in output_format$post_processor(yaml_front_matter, utf8_input,
output_file, :
unused arguments (yaml_front_matter, utf8_input, output_file, clean,
!quiet)
Called from: output_format$post_processor(yaml_front_matter, utf8_input,
output_file,
clean, !quiet)
so we see pandoc being run, then Latexmk, then the post_processor call.
It seems a little odd that Latexm...
2017 Sep 07
2
post_processor in rmarkdown not working
...R.framework/Versions/3.3/Resources/library/INBOmd/rmarkdown/templates/rsos_article/resources/template.tex
> --natbib --bibliography sample.bib
> Latexmk: This is Latexmk, John Collins, 19 Jan. 2017, version: 4.52c.
> Error in output_format$post_processor(yaml_front_matter, utf8_input,
> output_file, :
> unused arguments (yaml_front_matter, utf8_input, output_file, clean,
> !quiet)
> Called from: output_format$post_processor(yaml_front_matter, utf8_input,
> output_file,
> clean, !quiet)
>
> so we see pandoc being run, then Latexmk, then the post_processor call....
2012 Jun 15
1
Rename output file in Swaeve and Tex
HI,
I am working on R and Latex.
R CMD Sweave Test.Rnw (this generates Rnw.Tex file )
R CMD pdflatex Test.tex (It generated Test.pdf)
Is there any way to change the name of of output file (Test.pdf). I want it
to pass the output file name as parameter.
R CMD Sweave Test.Rnw Output_File
R CMD pdflatex Output_File.tex
So output file name will be Output_File.pdf
Regards
--
View this message in context: http://r.789695.n4.nabble.com/Rename-output-file-in-Swaeve-and-Tex-tp4633479.html
Sent from the R help mailing list archive at Nabble.com.
2014 Dec 15
2
(no subject)
Hi,
I noticed the diff wasn't showing the "-" at the start of a deleted file
and the details of the second file when attributes are different.
This change should fix them.
thanks.
2017 Sep 07
0
post_processor in rmarkdown not working
...9;t get useful output, because the LaTeXing failed (I don't have
the rsos.cls), but perhaps you've already fixed this problem, or perhaps
it is intermittent?
Duncan Murdoch
> Best regards,
>
> Thierry
>
> post_processor <- function(
> metadata, input_file, output_file, clean, verbose
> ) {
> text <- readLines(output_file, warn = FALSE)
>
> # set correct text in fmtext environment
> end_first_page <- grep("\\\\EndFirstPage", text) #nolint
> if (length(end_first_page) == 1) {
> maketitle <- gre...
2017 Sep 08
0
post_processor in rmarkdown not working
...esources/
>> library/INBOmd/rmarkdown/templates/rsos_article/resources/template.tex
>> --natbib --bibliography sample.bib
>> Latexmk: This is Latexmk, John Collins, 19 Jan. 2017, version: 4.52c.
>> Error in output_format$post_processor(yaml_front_matter, utf8_input,
>> output_file, :
>> unused arguments (yaml_front_matter, utf8_input, output_file, clean,
>> !quiet)
>> Called from: output_format$post_processor(yaml_front_matter, utf8_input,
>> output_file,
>> clean, !quiet)
>>
>> so we see pandoc being run, then Latexmk, th...
2015 Sep 29
2
OpenCL toolset (for AMD GPU)
...library headers from libclc
> (http://libclc.llvm.org/) to compile most OpenCL code.
>
> Here is an example command:
>
> clang -include /path/to/libclc/headers/clc.h -I /path/to/libclc/headers -Dcl_clang_storage_class_specifiers -target amdgcn--amdhsa -mcpu=carrizo $INPUT_FILE -o $OUTPUT_FILE
Hi Tom,
to piggy-pack on this question. To load this kernel in OpenCL, is it sufficient to just pass $OUTPUT_FILE
to clCreateProgramWithBinary?
Also, assuming this is enough. Is the code quality for recent AMD GPUs quality-wise on the level of what AMD's closed-source driver would generate....
2006 Aug 08
2
send_file problem
I''m attempting to use send_file to send an image file from
public/images. The file is world readable.
I keep getting the following error:
A ActionController::MissingFile occurred in account#current_logo:
Cannot read file public/images/logo.png
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/streaming.rb:55:in
`send_file''
I''ve tried supplying
2008 Jul 03
1
Exporting a Graph that has lines()
I'm trying to export a graph (any form is good). I'm trying to export one
that uses plot() then lines(). however, it seems that the jpeg format and
the pdf format only takes the first line plot, and doesn't even consider the
additional plots. My code is the following:
output_file<-paste(filez,".pdf",sep="")
pdf(output_file)
plot((x_data) ~ (y_data), main = filez)
lines (x,z,col="red")
dev.off()
The pdf only comes out with the graph of the plot, and not of the lines.
Does anyone know how to export multiple graph items on one plot?
Thanks!
-...
2000 Aug 14
0
OggEnc manpage
..." Process this file with
.\" groff -man -Tascii oggenc.1
.\"
.TH oggenc 1 "August 13, 2000" "" "Vorbis Tools"
.SH NAME
oggenc \- encode audio into the Ogg Vorbis format
.SH SYNOPSIS
.B oggenc
[
.B -hrq
]
[
.B -m
.I mode
]
[
.B -o
.I output_file
]
[
.B -n
.I pattern
]
[
.B -c
.I extra_comment
]
[
.B -a
.I artist
]
[
.B -t
.I title
]
[
.B -l
.I album
]
.I input_file \fR...
.SH DESCRIPTION
.B oggenc
reads audio data in either raw or WAV format and encodes it into an
Ogg Vorbis stream. If the input file "-&qu...
2006 Apr 08
0
[WIP] rebuild initramfs when content changes
...e
grep ^file "$1" | cut -d ' ' -f 3
fi
elif [ -d "$1" ]; then
dir_filelist "$1"
else
echo " ${prog}: Cannot open '$1'" >&2
exit 1
fi
}
prog=$0
root_uid=0
root_gid=0
file_list=
cpio_file=
cpio_list="/dev/stdout"
output_file=""
input_seen=
arg="$1"
case "$arg" in
"-l")
file_list="list_"
shift
;;
"-o")
shift
output_file="$1"
cpio_list="$(mktemp /tmp/cpiolist.XXXXXX)"
shift
;;
esac
while [ $# -gt 0 ]; do
arg="$1"...
2014 Dec 15
0
[PATCH] diff/diff.c: diff output to show correct file handles and presence symbol
...(+), 2 deletions(-)
diff --git a/diff/diff.c b/diff/diff.c
index 8b0fda0..6a374af 100644
--- a/diff/diff.c
+++ b/diff/diff.c
@@ -608,7 +608,7 @@ static void
deleted (guestfs_h *g, struct file *file)
{
output_start_line ();
- output_string ("+");
+ output_string ("-");
output_file (g, file);
output_end_line ();
}
@@ -669,7 +669,7 @@ changed (guestfs_h *g1, struct file *file1,
output_end_line ();
output_start_line ();
output_string ("+");
- output_file (g1, file1);
+ output_file (g2, file2);
output_end_line ();
/* Display stats f...
2015 Sep 29
2
OpenCL toolset (for AMD GPU)
Hi LLVM,
I would like to compile OpenCL kernel for a specific AMD GPU target. Is it
possible with the current clang/LLVM?
I started by using `clang -x cl` but it looks like at least some OpenCL
specific headers are missing (e.g. uint2 is not recognized as a type).
Any links to documentation / tutorials very welcome. Thanks.
- Paweł
-------------- next part --------------
An HTML attachment was
2009 Apr 02
2
FLAG DAY: vdiskadm translate
...e a vmdk file and directly
translate the data into a zvol without having to import
it first to a vdisk and then export it to the zvol.
# vdiskadm help translate
translate - translate virtual disk data to a different type
USAGE:
vdiskadm translate [-i type[:opt]] -I input_file -x type[:opt] -d output_file
TYPES AND OPTIONS SUPPORTED
vmdk:sparse
vmdk:fixed
vdi:sparse
vdi:fixed
vhd:sparse
vhd:fixed
raw
EXAMPLE:
vdiskadm translate -I app.vmdk -x raw -d /dev/zvol/dsk/pool1/t1
------------
The -i option is only needed if vdiskadm can''t detect the type o...