I'm searching for answers to four questions (I've been searching the net for
hours...)
In Windows XP, is it possible to call R functions from a c program? (I've
found examples for Linux/Unix but not Windows)
If so, is there a simple example to get started using gcc with R-2.10.0?
If so, is it
I've looked at this a bit and it seems ok, if not a little convoluted. We're
trying to stay away from com objects, so I was hoping for something more
direct. I've seen some examples (e.g. RInside) but can't get them to work
-too many include files, etc. that I can't find.
--
View this message in
I have - but when I tried their simple example no luck - too many missing
include files to chase down. I'm looking for something more direct, I guess,
that I have a little control over.
--
View this message in context:
http://n4.nabble.com/Calling-R-from-c-in-Windows-XP-tp1693440p1693478.html
This may simply expose my ignorance in this type of coding, but,
unfortunately it's not that simple because I did using the RInside.h and
received several screens of error messages from gcc telling me that it
couldn't find the include file and the scores of additional include files
that rinside.h
, dkStevens wrote:
| This may simply expose my ignorance in this type of coding, but,
| unfortunately it's not that simple because I did using the RInside.h
and
| received several screens of error messages from gcc telling me that it
| couldn't find the include file and the scores of additional
I'm observing odd behavior of the rep(...) procedure when using variables as
parameters in a loop. Here's a simple loop on a vector 'branches' that is
c(5,6,5,5,5). The statement in question is
print(c(ni,rep(i,times=ni)))
that works properly first time through the loop but the second
-3 [via R] wrote:
Cannot reproduce, what is branches? If you can narrow it down to a
commented, minimal, self-contained, reproducible example, you're far
more likely to get help from the list.
dkStevens wrote:
I'm observing odd behavior of the rep(...) procedure when using
variables
)
print(ni)
print(c(ni,rep(i,times=ni)))
# ... some interesting other stuff for my project that gets wrecked
because of this issue
iInd = iInd + branches[i]
}
dkStevens schrieb:
I'm observing odd behavior of the rep(...) procedure when using
variables as
parameters in a loop
This is an interesting approach but it doesn't quite get what I want. The
sample below is what I'm looking for where Eik's Title is compared with the
text line within the plot. My text line was produced by the explicit
text(0.6,1.2,expression(R *'= 13.35, ' *P[m] *'= 2.531, ' *alpha[r] *'=
Well - I am impressed. Between Gabor and Dennis, I now have three for the
price of one - for titles, text lines, and legends. Guys, thanks so much -
I never would have gotten there without your help. This forum has already
paid for itself.
Regards, David
--
View this message in context:
I apologize if this has been asked before but I've look for a long time with
no success. My problem is that I want to annotate a plot with an expression
that combines parameter names with fitted values for from 1 to n parameters
depending on the problem - something like
R = 16.1, P[m] = 4.51,
In trying to create a plotmath expression for plot labeling, such as
R = 6, beta = 15
where I want beta to be the Greek beta and, possibly, R in italics (like one
would get in an explicit expression. The reason for this is that I want to
write a string builder function that takes vectors of
12 matches
Mail list logo