Sharpie wrote
evalWithoutInterrupts - function(expr, envir = parent.frame())
{
.Call(do_evalWithoutInterrupts, expr, envir)
}
With a C-level implemention:
SEXPR do_evalWithoutInterrupts(SEXP expr, SEXP envir)
{
SEXP result;
BEGIN_SUSPEND_INTERRUPTS{
result = eval
Dirk Eddelbuettel wrote
b) having BLAS as a defined interface is wonderful for swapping default
(unaccelerated) BLAS for accelerated BLAS like Atlas, Goto,
OpenBLAS,
MKL, ... Several of these BLAS have in fact been available for
either
Debian or Ubuntu in some form
Is there a way to suspend user interrupts for the duration of a function
call? There is a point in one of my packages where values are being written
to a Filehash database. If the user is unlucky enough to send an interrupt
while this code is active, then they have to:
- Hunt down a lock file
Sharpie wrote
If not, would it work to move the function call into a C function that
uses `eval` inside a block protected by BEGIN_SUSPEND_INTERRUPTS?
Just to clarify, if there is no functionality at the R level for evaluating
an expression without interrupts, would it be possible
Paul Murrell wrote
I think the problem is that I just failed to anticipate this situation
(i.e., the current documentation and behaviour both assume xlim[1]
xlim[2] and ylim[1] ylim[2]).
Will take a look at where to apply a fix (EITHER allow the API to be
more flexible [allow
I noticed some undocumented and inconsistent behavior in device_Raster when a
plot is produced with reflected axes such as:
image(volcano, xlim = c(1,0), useRaster = TRUE)
image(volcano, ylim = c(1,0), useRaster = TRUE)
The `pdf` device will perform horizontal and vertical reflections,
Deepayan Sarkar-3 wrote
I believe only Debian/Ubuntu package it (and this would have been more
appropriate for r-sig-debian). I'll coordinate with Dirk et al to
update the relevant files.
-Deepayan
The bash completion script is also used by the Homebrew package manager on
OS X.
aftar wrote:
Hi
Can we use BLAS in R X64 for windows?
Regards
Aftar
You are already using BLAS in R as R includes its own BLAS library. On
Windows the 64-bit DLL is located at R_HOME\bin\x64\Rblas.dll.
If you are asking about swapping that out for an optimized BLAS, you will
Paul Gilbert wrote:
Is it possible in R to call a fortran routine that sets variables in a
common block and expect the values to persist when a call is made from R
to a second routine that uses the common block?
If not (as I suspect), is it possible to use a common block in a group of
Byron Ellis-2 wrote:
Hi all (especially R-core) I suppose,
With the introduction of the new functional programming functions into
base I thought I'd ask for a Curry() function. I use a simple one that
looks this:
Curry = function(FUN,...) { .orig = list(...);function(...)
Yihui Xie-2 wrote:
Hi,
I guess this issue must have been brought forward long time ago, but I
still hope you can consider under Windows (during installation):
1. put R's bin path in the PATH variable of the system so that we can
use the commands R and Rscript more easily;
On one
Hello, I was just tweaking the R build for the Homebrew package manager and I
thought it would be nice to enable bash completion. I noticed that
Debian-based systems install `/etc/bash_completion.d/R` but could not find a
source for this file in the `etc` folder of the R source.
Is the R bash
) and one package that
has the beginnings of some LLVM bindings.
-Charlie
On 4/21/11 10:02 PM, Sharpie lt;ch...@sharpsteen.netgt; wrote:
smcguffee wrote:
You are right, I looked and I did find the R source code. However, it's
largely written in R! I mean, I don't know how to trace the R
smcguffee wrote:
You are right, I looked and I did find the R source code. However, it's
largely written in R! I mean, I don't know how to trace the R code where
INSTALL is recognized and follow it to a c or c++ level command. For
example
these are hits in .R files, not c files, and I
Dear R devel list,
Good morning; I'm with the Sage (http://www.sagemath.org) project.
(Some of you might have seen my talk on this at last summer's useR
conference).
Thanks for stoping by Karl! I have to say that I am a big fan of the Sage
project---it is a very good idea and I really
Duncan Murdoch-2 wrote:
I have just committed some code to the rgl package on
https://r-forge.r-project.org/projects/rgl/ to allow rgl images to be
inserted into Sweave documents. (This is not in the CRAN version yet.)
It makes use of the custom graphics driver support added by Brian
Tal Galili wrote:
Hello dear R developers,
I recently found out that it is not possible to limit update.packages() to
update only a few packages at a time.
The patch offered simply adds a 'subset' parameter and the statement
bounded
within if(!missing(subset)) to implement it.
The
After half a day of tinkering, the best reproducible example I can come up
with involves using Roxygen to generate man files for the tikzDevice:
# Install roxygen from CRAN and grab tikzDevice source code
R --vanilla --slave -e install.packages('roxygen')
git clone git://github.com/Sharpie
Friedrich Leisch wrote:
On Tue, 14 Dec 2010 12:40:04 +0100,
Romain Francois (RF) wrote:
Hello,
Sweave lets you use alternative drivers through the driver argument,
and
several packages take advantage of that and define custom Sweave
driver
for various purposes. Most of
)
On Mon, Oct 18, 2010 at 3:17 PM, Sharpie ch...@sharpsteen.net wrote:
I am working on dumping raster data from R into PNG files using
rasterImage(). I am working with a test matrix from the rasterImage()
example and using it to produce a PNG image with the following code:
# From the example
Donald Paul Winston wrote:
Who decides what features are in R and how they are implemented? If there
is someone here who has that authority I have this request:
A report() function analogous to the plot() function that makes it easy to
generate a report from a table of data. This should
Romain Francois wrote:
Hi,
It installs just like any other R package, there is no need for a
Makefile.
$ R CMD RInside_0.2.3.tar.gz
Should probably be:
R CMD INSTALL RInside_0.2.3.tar.gz
But are we misleading the OP a little bit about what RInside can help him
do? His original
Dirk Eddelbuettel wrote:
On 20 August 2010 at 08:02, Sharpie wrote:
| So, unless I am gravely mistaken, RInside is just a nice cross-platform
| replacement for the RDCOM interface. It won't solve the problem of
needing
I wrote RInside, and I am unaware of any attempts of mine
Donald Paul Winston wrote:
Aren't you the guy who created Rserve?
I'd like to develop a web app so clients can perform exploratory data
analysis with their browser with no installed software, not even java (I
don't like applets). I thought R would be excellent for this but I need
some
Prof Brian Ripley wrote:
Well, it is not Fortran 77 but Fortran 95, and so needs to be given a
.f95 extension to be sure to work.
I think most compilers only distinguish two fortran file extensions: .f or
.f90. .f denotes fixed-form source code while .f90 denotes free-form. Some
Hello R developers,
I sincerely apologize if the answer to this question is clearly documented
somewhere, but I was unable to figure it out over my morning coffee.
I just downloaded today's release of R 2.11.0 and installed it on my Windows
7 64 bit VM. I also downloaded the latest version of
Duncan Murdoch-2 wrote:
You can use the Rtools for the stuff other than the compilers. You need
the MinGW 64 bit versions of the compilers; they are not nicely packaged
yet, but the instructions for finding them are in the new version of the
R-admin manual, in the section 3.3, Building
jgarcia-2 wrote:
Yes That's it! Thanks a lot!!
Changing UNIT=5 in the F95 code by UNIT=7 solves the collision.
Thank you very much Charlie, I've spent a lot of hours with this.
I'm glad it worked!
Google seems to indicate that units 0, 5, 6, 100, 101 and 102 are special in
the first method (with SHLIB) not work
either?
I realize I could stick to the SHLIB method, which Charlie (The Sharpie)
Sharpsteen wrote up in fantastic detail here:
http://n4.nabble.com/Writing-own-simulation-function-in-C-td1580190.html#a1580423
But there's so much more stuff I'll need
Jeff Brown wrote:
Hi,
I'm trying to learn to use .C, which lets one invoke compiled C code from
within R. To do that, one has to first get the C code into R as a shared
object, which (I think) means first compiling it (with COMPILE or SHLIB)
and then loading it (with dyn.load()).
pengyu.ut wrote:
http://google-styleguide.googlecode.com/svn/trunk/google-r-style.html
Here is the R style, which does not recommend using tabs. Although it
might take some time to forbidden the use of tabs, it will eventually
be a good practice that benefits everyone in the future.
31 matches
Mail list logo