Displaying 20 results from an estimated 5000 matches similar to: "calling sweave function from latex"
2003 Oct 01
3
problem downloading Red Hat R-1.7.1-1.i386.rpm
System info:
Red Hat 9.0
R Version 1.7.0
ESS 5.1.21
Emacs 21.2.1
-------------------
Colleagues
At work I've had to migrate from Mandrake 9.1 to Red Hat 9.0 and I'm
reinstalling R. I am having a problem downloading from
R-1.7.1-1.i386.rpm from /bin/linux/redhat/9/i386. Basically the download
does not complete. I am using mozilla, and when I click on the link the
screen corrupts with
2002 Sep 17
2
legend in image()
System info:
Linux slackware
R Version 1.5.1 (2002-06-17)
ESS 5.1.21
Emacs 21.2.1
-------------------
Colleagues
Is there a way to add a legend to an image plot? I don't see any
reference to legends in the documentation (so I suppose the answer is
no?). Although the documentation says image takes plot() parameters, it
isn't clear to me how the usual use of legend in a plot command
2002 Sep 09
3
loading data from a specified directory
System info:
Linux slackware
R Version 1.5.1 (2002-06-17)
ESS 5.1.21
Emacs 21.2.1
-------------------
Colleagues
I have some text files in a certain directory and want to process them
sequentially. So I want to pass the filename identifier into a function
and loop through the processing of each file in turn.I've called the
file identifier f in this code segment:
image.dvm <- function
2003 Jan 16
1
help.start() setup with netscape
System info:
Mandrake 9.0
R Version 1.6.1
ESS 5.1.21
Emacs 21.2.1
-------------------
Colleagues
I understand that help.start() search function works with netscape and
although it may also work with latest versions of mazilla it doesn't
seem to with the one I'm using (Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.1) Gecko/20020826). I thought that there were instructions for
setting
2003 Oct 12
1
plot/ layout/ overlay problem
System info:
Red Hat 9.0
R Version 1.7.0
ESS 5.1.21
Emacs 21.2.1
-------------------
Colleagues
I have a small problem with positioning overlays using layout.
## Purpose: to plot temperature and salinity profiles
## as a multipanel figure, and
## overlay the the mixed
## layer depths.
Here is the code skeleton:
--------------------
nf <-
2003 May 13
1
how to upgrade R/ linux/ mandrake/ readme suggestion
System info:
Mandrake 9.0
R Version 1.7.0
ESS 5.1.21
Emacs 21.2.1
-------------------
Colleagues
The R-team has done a great job of making it easy to upgrade to current
versions of the R-language using the rpms for linux. I have a minor
suggestion for the readme file <Mandrake-Readme.txt> where the mandrake
linux binaries reside <http://www.cran.r-project.org/>.
The readme at the
2003 Feb 10
0
calling sweave function from LaTex re directories, formatting
System info:
Mandrake 9.0
R Version 1.6.1
ESS 5.1.21
Emacs 21.2.1
-------------------
Colleagues
I have followed suggestions by David Whiting, Friedrich Leisch and Frank
Harrell, but have a few more queries.
1. On formatting:
I added the suggested sweave customization to my .emacs file
; Sweave customisation
(defun Rnw-mode ()
(require 'ess-noweb)
(noweb-mode)
(if (fboundp
2001 Jun 29
2
Re: ESS and R ver 1.3.0/ graph menu/ save PDF
"SM" == S McClatchie <S.McClatchie> writes:
>
> SM> I notice that the new option under R ver. 1.3.0 to save a
> SM> graph as a pdf file from the graph window menu (file/ save as/ SM>
> PDF) works differently (extremely slowly) under ESS, whereas SM> it is
> almost instant from the R- gui.
>
> SM> Does the feature not work
2001 Jan 18
1
ESS Default function template for R
Colleagues
----------------------------------
System info:
R version rw1020 on NT
ESS using emacs ver. 20.4
~/.emacs
; Default function template
(setq ess-insert-function-templates t)
----------------------------------
When loading a new function into the R workspace using ctrl-CD I would
like the default function template to come up, rather than a blank buffer. I
thought I had the Default
2001 Apr 01
1
ylab/ expression/ superscript to a bracket
Colleagues
----------------------------------
System info:
R version rw1022 on NT
ESS v. 5.1.18 using emacs ver. 20.4
----------------------------------
I have some rather unusual units for acoustic volume backscattering
integrated over several metres depth and 10 transmits (which happens to
= 160 m along transect). I need to express these units in a graph label.
My problem
2001 Mar 12
2
residuals from lowess fit
Colleagues
----------------------------------
System info:
R version rw1022 on NT
ESS v. 5.1.18 using emacs ver. 20.4
----------------------------------
I would like to access the residuals from a lowess fit (function lowess() )
as an aid to assessing whether I am over-smoothing or under-smoothing
a dataset (as in Cleveland's book "Visualizing data", section 3.3)
Unless I
2001 Jun 12
2
a problem with rep() ?
Colleagues
----------------------------------
System info:
Version 1.2.3 (2001-04-26) on NT
ESS v. 5.1.18 using emacs ver. 20.4
----------------------------------
I am wondering if there is a problem with the function rep(). Both the
commands using rep() below were expected to produce 8 twos, but only
the second did.
x <- rep(2,40*(1-0.8))
length(x)
y <- rep(2,40*0.2)
length(y)
2000 Nov 29
1
matlab to R / 2
Colleagues,
Thanks for the suggestions concerning reading matlab files into R
1. Regarding documentation for the format of matlab files, please see two
manuals that I picked up from the matlab websites.
The name of the files are:
api_guide.pdf
api_ref.pdf
Use your web browser to access these files in my FTP directory
<ftp://ftp.niwa.cri.nz/incoming/mcclatchie> under the appropriate
2001 May 31
2
windows nt/access other directories/ attach/system
Colleagues
----------------------------------
System info:
R version rw1022 on NT
ESS v. 5.1.18 using emacs ver. 20.4
----------------------------------
As recommended, I keep separate directories for projects, but also use
separate sub-directories for types of data (e.g. different oceanographic
instruments) within projects.
My problem is that I often need to access the objects and data (not
2001 Mar 09
2
Pager size in 1.2.2 Windows
The following sequence of commands (for example):
>my.data<-rnorm(10000, 5, 1)
>my.data
fills my pager buffer beyond its capacity. When I type "my.data", the
pager displays approximately the bottom 7000 cells of the file, but "loses"
the first 3000. Is there a some setting that increases the size of the
pager buffer, or is this a limit in the Windows version?
2001 Jul 04
3
by/ NA/ barplot
Colleagues
----------------------------------
System info:
Version 1.3.0 (2001-06-22) on NT
ESS v. 5.1.18 using emacs ver. 20.4
----------------------------------
I have generated an object (class = by) with NA values and want to plot
the output as a bargraph:
x2 <- by(scl.nos, species, sum)
These data are summed counts of fish by species
> x2
INDICES: AGI
[1] 0.729927
2001 Feb 26
1
trying to find the function banking()
Colleagues
----------------------------------
System info:
R version rw1020 on NT
ESS using emacs ver. 20.4
----------------------------------
Can anyone please tell me where to find the function "banking()"
containing Cleveland's solution to optimising graph aspect ratio? It is
mentioned in Venables and Riply 1994, pg. 112, Ex. 3.7, q. 3.5.
I have not found it (or perhaps
2001 May 31
1
graph/save file/jpeg/slow
Colleagues
----------------------------------
System info:
R version rw1022 on NT
ESS v. 5.1.18 using emacs ver. 20.4
----------------------------------
I notice that saving a file from the menu bar in the graph window to
100% quality jpeg is very slow (more than 2 minutes). Is this something
to be avoided?
I know I can save the graph with postscript() in the script, or cut and
paste into
2002 Sep 17
0
legend in image
System info:
Linux slackware
R Version 1.5.1 (2002-06-17)
ESS 5.1.21
Emacs 21.2.1
-------------------
Colleagues
Thanks very much for advice. I was not aware of the Fields package
(although I've been using Geostat and Spatial). The image.plot()
function in Fields does a lovely job, with an added bonus of fixing the
problem I was having of balancing the number of colour levels with the
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