Displaying 20 results from an estimated 5000 matches similar to: "Generating .R and .Rd files with Sweave/noweb?"
2004 Dec 09
2
http://bugs.r-project.org down?
I haven't been able to connect to http://bugs.r-project.org the last
few days. Is there a problem with the site (or am I having a
problem :-) ?
--
Bj??rn-Helge Mevik
2003 Oct 16
1
princomp with more coloumns than rows: why not?
As of R 1.7.0, princomp no longer accept matrices with more coloumns
than rows. I'm curious: Why was this decision made?
I work a lot with data where more coloumns than rows is more of a rule
than an exception (for instance spectroscopic data). To me, princomp
have two advantages above prcomp: 1) It has a predict method, and 2)
it has a biplot method.
A biplot method shouldn't be too
2005 May 22
1
R-exts.texi: nuke-trailing-whitespace has changed name (PR#7888)
Full_Name: Bj?rn-Helge Mevik
Version: 2.1.0
OS: GNU/Debian 3.0 Linux
Submission from: (NULL) (80.111.104.162)
In Appendix B R coding standards of the Writing R Extensions manual, Emacs/ESS
users are encouraged to use
(add-hook 'ess-mode-hook
(lambda ()
(ess-set-style 'C++)
;; [snip]
(add-hook 'local-write-file-hooks
2002 Jul 17
1
editing Sweave files in xemacs with ess (noweb), auctex and reftex
I am having some trouble getting reftex, in particular the bibtex
related features, to work properly in xemacs when editing text in Sweave
files. I have added
(defun Rnw-mode ()
(noweb-mode)
(if (fboundp 'R-mode)
(setq noweb-default-code-mode 'R-mode)))
(add-to-list 'auto-mode-alist '("\\.Rnw\\'" . Rnw-mode))
(add-to-list 'auto-mode-alist
2000 Sep 20
2
Image analysis in R?
As far as I can tell, there are no facilities in the "base" R for image
analysis. Is there any extension or package for R that implements
image analysis? I'm thinking of features such as
o Reading and writing image files,
o displaying indexed or "true color" images,
o resizing, cropping, etc, of images,
o filters for manipulating images (smoothing, edge detection, etc)
o
2004 Jul 20
5
Precision in R
Greetings.
I'm trying to recreate in R some regression models I've done in SAS,
but I'm not getting the same results. My advisor suspects this may be
due to differences in precision between R and SAS. Does anyone know
where I can find specifications for R's type double? (It doesn't seem
to be in the R Language Definition.) Thanks in advance for any help
anyone can
2015 Aug 24
3
Build optimized R : openblas, MKL, ATLAS
On Mon, Aug 24, 2015 at 11:29 AM, Bj?rn-Helge Mevik
<b.h.mevik at usit.uio.no> wrote:
> arnaud gaboury <arnaud.gaboury at gmail.com> writes:
>
>> - Intel MKL: this is part of Intel Parallel Studio and is a paid
>> software. Now, there is the MKL package distributed by
>> Revolutionanalytics, but I am not certain how this can be distributed
>> for free. Is
2009 Feb 13
4
PCA functions
Hi All, would appreciate an answer on this if you have a moment;
Is there a function (before I try and write it !) that allows the input of a
covariance or correlation matrix to calculate PCA, rather than the actual
data as in princomp()
Regards
Glenn
[[alternative HTML version deleted]]
2007 Nov 14
3
When to use LazyLoad, LazyData and ZipData?
Dear developeRs,
I've searched the documentation, FAQ, and mailing lists, but haven't
found the answer(*) to the following:
When should one specify LazyLoad, LazyData, and ZipData?
And what is the default if they are left unspecified?
(*)Except that
1) If the package you are writing uses the methods package, specify
LazyLoad: yes, and
2) The optional ZipData field controls whether the
2014 Dec 12
5
SUGGESTION: Force install.packages() to use ASCII encoding when parse():ing code?
Duncan Murdoch <murdoch.duncan at gmail.com> writes:
> users of other languages may want to have messages and variable names
> in their native language, and ASCII might not be enough for that.
Allowing for messages in non-ASCII encodings would probably be a good
idea, but I think allowing non-ASCII variable names is dangerous.
--
Regards,
Bj?rn-Helge Mevik
2005 Dec 14
3
R-beta: configure problem (tcltk) on 64 bit Red Hat EL
Dear developeRs,
I use Red Hat Enterprise Linux WS release 4 (Nahant Update 2) on an
x86_64 machine (two Intel P4 CPUs with 64 bit support), and
R-beta_2005-12-12_r36712.tar.gz.
If I run configure without any options, it does not list tcltk among
the supported interfaces:
./configure
[...]
R is now configured for x86_64-unknown-linux-gnu
Source directory: .
Installation directory:
2015 Aug 22
2
Build optimized R : openblas, MKL, ATLAS
I want to build R optimized, with either MKL, OpenBLAS or ATLAS.
My OS: Fedora 22
Hardware: CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian
CPU(s): 8 Thread(s) per core: 2 Vendor ID: GenuineIntel Model name:
Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
I am a little confused when it comes to choose a method and would like
to hear your experiences. If I am right, I have 3 possibilities:
-
2003 Nov 13
1
Can't get Sweave syntax highlighting with Emacs
I can't get Emacs to automatically do syntax highlighting of
Sweave files. I have followed Friedrich's suggestion for code
to insert into my .emacs file. The complete section from my .emacs
file is given below. When I load a *.Snw file, font is white until I press
M-x, then the first code and document chunks get highlighted, but not
the rest of the file. Latex and Noweb menus are
2005 Sep 04
2
Help: PLSR
Hello,
I have a data set with 15 variables (first one is the response) and
1200 observations. Now I use pls package to do the plsr as below.
trainSet = as.data.frame(scale(trainSet, center = T, scale = T))
trainSet.plsr = mvr(formula, ncomp = 14, data = trainSet, method = "kernelpls",
model = TRUE, x = TRUE, y = TRUE)
from the model, I wish to know the
2008 Dec 18
1
Tip for removing -c99 when compiling with icc
Dear developeRs,
As of icc 10, the -c99 option is deprecated, and generates a lot of
warnings when compiling R or R packages.
If you use CC="icc -std=c99" instead of just CC="icc", R's configure
will not add the -c99 option, and the code seems to compile and run just
fine.
(Please don't hesitate to let me know if this is a bad idea. :-)
--
Regards,
Bj?rn-Helge
2005 Jan 13
1
Setting the width and height of a Sweave figure
Hello R-people,
I have a function which plots two figures next to each other
using if(dev.cur()==1) x11(width=14,height=7) to create a new window
and set the size of the window automatically if no device is open.
This works fine in interactive mode but I don't know how Sweave gets the
parameters for the figures, and right now the default behavior causes
this figure to be square and the
2013 Jul 26
1
How to best implement package options?
Dear developeRs,
I have a package, pls, that implements package options. The users are
supposed to use a function pls.options() to manipulate them.
If a user changes the options, they are stored in .GlobalEnv. I was
recently informed that this is against current CRAN submission policies,
so I need to change that.
I have looked at several different packages that implement package
options, and
1999 Aug 20
2
Referencing R in journal paper?
I'm using R for calculations and plots in a statistical paper. Is
there a canonical reference to use in the bibliography? (Or is it not
common to acknowledge computer programs in journal papers?)
--
Bj?rn-Helge Mevik <bhm at math.uio.no>
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2008 Jul 03
1
--enable-BLAS-shlib conflict with --with-lapack in configure?
Dear developeRs,
I'm trying to build R (2.7.1, on an x86_64 running Linux, but I believe
I have observed this on x86 and with earlier versions of R as well)
using external BLAS and LAPACK libraries _and_ generating libR.so,
libRblas.so and libRlapack.so.
Without --enable-BLAS-shlib, configure is able to find and use the
external LAPACK library:
./configure \
2015 Sep 04
1
Build R with MKL and ICC
On Fri, Sep 4, 2015, 9:24 AM Bj?rn-Helge Mevik <b.h.mevik at usit.uio.no>
wrote:
arnaud gaboury <arnaud.gaboury at gmail.com> writes:
> After a few days of reading and headache, I finally gave a try at
> building R from source with Intel MKL and ICC. Documentation and posts
> on this topic are rather incomplete, sometime fantasist et do not give
> much explanations about