Displaying 20 results from an estimated 600 matches similar to: "knitr without R studio"
2003 May 21
2
Graphics device history recording problem (Previous and Next utilities)
I use 1.7.0 version under Windows XP.
Problem:
When graphics device history recording function turned
on, suppose I source a file containing lines:
plot(graph1)
plot(graph2)
I see the graph2 in the graphic device, assuming
graph2 is the last plot in the file. Now using
"Previous" under history menu, I get graph1 as
expected. But after that, using "Next" does not show
graph2.
2008 Jan 30
2
Concatenate xyplots
Dear R-community,
I created 5 different xyplots and graphed all of them with the print command on one page (e.g.
print(graph1, split=c(1,1,1,5), more = T)
... print(graph5, split=c(1,5,1,5), more =T)
Using the above commands separates each graph by a white space. However, since the graphs do share the same x-axis, I was wondering if there is a way to concatenate graph1 through 5 so
2011 Jul 12
4
qplot and for loops
I have 4 columns and 56 rows of made up data that I want to plot as a series
of bar graphs. The idea is to create one bar graph for each of the 4 columns
using a for loop. I tried the following command in RStudio and when I type x
in the console I get just the 4th graph instead of all four graphs. I did
not define what x is before hand. I was not sure what it would be. Any
suggestions on how you
2010 Nov 19
1
How to print "graph1.png" "graph2.png" "graph3.png" ... ?
Dear All,
I want to print out "graph1.png" "graph2.png" "graph3.png" ... How
can I print it out?
Thank you,
2009 Aug 25
1
Clogit or LRM?
Hello
I believe that I'm getting very close in my modeling application.
I've come across a challenge that I am unable to solve and would really
appreciate the group's opinion.
I've been using the val.prob function from the Design library (Thanks
Frank!!) to both evaluate and visualize my model.
From the scores and graph, it appears as my model is very accurate in
2015 Sep 12
3
rgl/webGL complains about Javascript, even in recent online docs?
On 12/09/2015 7:37 AM, Duncan Murdoch wrote:
> On 11/09/2015 10:14 PM, Dominick Samperi wrote:
>> Hello,
>>
>> The recently created online "rgl Overview" at
>> https://cran.r-project.org/web/packages/rgl/vignettes/rgl.html
>> illustrates a problem that I am trying to resolve.
>>
>> At the bottom of each image block on that page appears the
2015 Sep 12
2
rgl/webGL complains about Javascript, even in recent online docs?
Hello,
The recently created online "rgl Overview" at
https://cran.r-project.org/web/packages/rgl/vignettes/rgl.html
illustrates a problem that I am trying to resolve.
At the bottom of each image block on that page appears the
advisory: You must enable Javascript to view this page properly.
I am using Safari under MacOS with Javascript and WebGL
both enabled, so it must be the
2009 Nov 06
4
Guardar gr=?US-ASCII?Q?=E1?=ficos en formato para powerpoint
Hola,
Por favor, necesito guardar en un mismo documento tres gráficos y que
éste se pueda abrir en powerpoint para poder insertar las tres gráficas
allí.
Con jpeg() sólo se me guarda la última gráfica.
¿Alguien me puede ayudar?.
Muchas gracias
2013 Mar 26
1
Execution halted when I use knitr and Rscript with opts_chunk
Hello all,
I wrote a bash script in Mac OS that takes my .rnw file, knit it and then
makes a .pdf. To knit my file, I'm using the command
Rscript -e "library(knitr); knit('file.rnw', encoding='utf8')"
and everything works fine. However, I don't want the ## characters in my
final document. I tested, using R prompt, the following commands
library(knitr)
2004 Apr 03
2
a fix for rotated PDF graphs
Hi,
I have found references for the following problem in the list
archives, but no nice solution. So I decided to post one I came up
with.
The problem is that graphs output as eps files, for example using
ps.options(onefile=FALSE, paper="special", width=8, height=8,
horizontal=FALSE, pointsize=12)
get rotated when I convert them to pdf using epstopdf. Both ghostview
and
2015 Sep 12
1
rgl/webGL complains about Javascript, even in recent online docs?
FYI, one platform where I have not been able to get interactive rgl
working is iOS 8.
iOS 8 is supposed to support WebGL, and Javascript is enabled.
On Sat, Sep 12, 2015 at 4:33 PM, Dominick Samperi <djsamperi at gmail.com> wrote:
> Thanks for the pointers and the quick fix.
>
> Perhaps the generated HTML code should issue a
> message like "Javascript load problem"
2017 Sep 06
4
post_processor in rmarkdown not working
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 file before it is
compiled. For some reason the post_processor() is not run. The
post_processor() does work when I run it manually on the tex file.
Any suggestions on what I'm doing wrong? Below is the relevant snippet of
the code. The full code is
2013 Jan 28
1
Setting inline hook to a function identical to default in knitr turns of exponential formatting
Hello List,
while dealing with a questin of 'xiaodao' (
http://r.789695.n4.nabble.com/Problem-with-large-small-numbers-in-knitr-tp4653986.html)
I noticed that copying the default inline hook function obtained by
knit_hooks$get("inline")
into a knit_hook$set(inline = <...>) call turns off exponential
fomatting in the resulting .tex file.
I used a stripped version of
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 file before it is
> compiled. For some
2004 Feb 03
3
R: plotting multiple functions
Hi all
Another simple question.
I would like to plot three graphs one the same plot with different
colours. Say red, blue and black. Here are the functions.
r1<-1+5*cos(2*pi*seq(1:100)/20)+rnorm(100)
r2<-1+7*sin(2*pi*seq(1:100)/20)+rnorm(100)
r3<-1+7*sin(2*pi*seq(1:100)/20)+5*cos(2*pi*seq(1:100)/20)+rnorm(100)
Regards
Allan
2017 Sep 07
0
post_processor in rmarkdown not working
On 06/09/2017 5:41 AM, Thierry Onkelinx wrote:
> 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 file before it is
> compiled. For some reason the post_processor() is not run. The
> post_processor() does work when I run it manually on the tex file.
>
> Any suggestions on what
2013 Jun 20
0
Produce HTML reference in knitr using rmd
Hello guys,
I'm new to knitr and to R in general. I'm using RStudio and knitr, both the
latest version.
I am trying to produce an html page with multiple graph, which has a url
reference to each of them that bring us lower on the page. For those produce
separately it is pretty easy, since I just include the html location like I
did for graph 1.
But in a loop, I am struggling to
2017 Sep 07
3
post_processor in rmarkdown not working
Dear Duncan,
Thanks for chiming in. Could you explain how you set debug() on
post_processor()? I've tried adding debug(post_processor) to rsos_article()
or adding debug(post_processor) when after post_processor was defined in
the debugger. Neither work for me.
All supporting files are available within the package. The code below
should be reproducible on your machine.
2012 May 01
0
knitr + markdown: simplemente útil
Hola:
Ya se ha comentado aquí algo sobre knitr, creo que la
alternativa a Sweave (al que le tengo un gran cariño).
La cosa va muy bien y lejos, os comento muy breve
y os adjunto dos ficheros para muestra.
Estoy buscando una forma de escribir potente y
ágil para que los alumnos trabaje al cien por cien
sin necesidad de aprender LaTeX (aqltugc).
Para eso había encontrado markdown pero
¿cómo hacer
2012 Mar 28
2
Making Knitr work
Might not be the best place to ask, but i could get lucky..
I have setup an eclipse environment to write sweave files lately and wanted to switch to knitr. I could get it to work on easy files, but my earlier written sweave file fails to be knit properly.
Here is the error message:
Quitting from lines 273-276: Error in setwd(base.dir) : kann Arbeitsverzeichnis nicht wechseln (it says: cannot