Hi All,
I just started to learn compiling C codes for R usage, and got a problem
when I was playing with my 'hello world' code.
#include
#include
#include
SEXP test( ) {
double x;
x=dnorm(1.0,0.0,1.0,1);
printf(" x value is: %d \n",x);
return(R_NilValue);
}
I got the re
On 4/3/07, Simon Urbanek <[EMAIL PROTECTED]> wrote:
> On Apr 2, 2007, at 8:51 PM, Deepayan Sarkar wrote:
>
> > Hi,
> >
> > I'm trying to understand (mostly from the R-exts manual) how to use
> > the callbacks declared in Rinterface.h. As a first attempt, I'm trying
> > to redefine ptr_R_WriteConsol
Hi Christian,
I can only give you a few reasons why IMO it is very unlikely that anybody
will be able to help you on this, with the current form of your post.
1) Unless you have a really good reason to do so, don't attach a package
to your post. Do your best to provide a few lines of code that
Hi,
I get this error with R-2.5.0 alpha and R-2.6.0 devel:
> source("http://bioconductor.org/biocLite.R";, echo=TRUE)
Error in if (timestamp != srcfile$timestamp) warning("Timestamp of '", :
missing value where TRUE/FALSE needed
Same with 'verbose=TRUE':
> source("http://biocon
Currently, if one wants to test if an argument to an outer function is
missing from within an inner function, this works:
> g5 <- function(a) {
+ inner <- function(a) {
+ if (missing(a))
+ "outer arg is missing"
+ else
+ "found outer arg!"
+ }
+ inner(a)
+ }
> g5(3)
[1] "f
On Apr 2, 2007, at 8:51 PM, Deepayan Sarkar wrote:
> Hi,
>
> I'm trying to understand (mostly from the R-exts manual) how to use
> the callbacks declared in Rinterface.h. As a first attempt, I'm trying
> to redefine ptr_R_WriteConsole in a very trivial manner. Here's my
> code:
>
> ---
On 4/3/2007 4:19 AM, Tong Wang wrote:
> Thank you all for the help . It seems I only need to change the back slash to
> forward slash to get things work .
>
> As to using Cygwin as the shell, I couldn't find an instruction dedicated to
> Cygwin, should I just follow the " Installing
> R under U
On Tue, 3 Apr 2007, Tong Wang wrote:
> Thank you all for the help . It seems I only need to change the back slash to
> forward slash to get things work .
>
> As to using Cygwin as the shell, I couldn't find an instruction
> dedicated to Cygwin, should I just follow the " Installing R under
> Un
On Sun, 1 Apr 2007, John Fox wrote:
> Dear r-devel members,
>
> It's just been brought to my attention that R permits non-unique column
> names in data frames -- e.g., via assignment to names() or colnames(). This
> behaviour is consistent with the help files (as I discovered), but it's not
> cons