More information for you.
In order to test some ideas I had I first attempted to compile the gafit
package which is just a single file - this compiled fine (this is a C
package).
I then added the iostream library to it as so:
#include iostream
and altered the extension from c to cpp so it
False alarm, those errors were due to the old iostream R.h ordering required -
so not a lead after all.
Tom
[EMAIL PROTECTED] wrote:
More information for you.
In order to test some ideas I had I first attempted to compile the gafit
package which is just a single file - this compiled fine
On 10/26/06, Duncan Murdoch [EMAIL PROTECTED] wrote:
On 10/25/2006 11:02 PM, Gabor Grothendieck wrote:
On 10/25/06, Duncan Murdoch [EMAIL PROTECTED] wrote:
On 10/25/2006 8:14 PM, Gabor Grothendieck wrote:
Suppose we have a function such as the following
F - function(f, x) f(x)+1
On 10/26/06, Duncan Murdoch [EMAIL PROTECTED] wrote:
[...]
Actually, there is a way, but it's undocumented (i.e., use at your own
risk). It's the eval.with.vis function. This is an internal function
Yes... and there are three problems here:
1) To spot the undocumented function one is
On 10/26/06, Philippe Grosjean [EMAIL PROTECTED] wrote:
On 10/26/06, Duncan Murdoch [EMAIL PROTECTED] wrote:
[...]
Actually, there is a way, but it's undocumented (i.e., use at your own
risk). It's the eval.with.vis function. This is an internal function
Yes... and there are three
Perhaps there could be a set of functions that are made available
without the promise of future compatibility but with the promise
that they will change less frequently than if they were not documented
and if they are changed the changes will be highlighted
to make it easier for the users of the
Duncan Murdoch wrote:
[...]
At the last useR meeting, Thomas Baier made an excellent suggestion:
someone should put together an API specifically for R GUIs. I think
eval.with.vis would have to be part of such an API; there are dozens of
other currently undocumented or unavailable
I don't see how this solves the problem.
as.missing - force
f - function(y, x=1) {cat(missing(x)) ; x}
g - function(x) f(3,x)
g(1)
FALSE[1] 1
g()
TRUEError in f(3, x) : argument x is missing, with no default
I think I still have to put all the logic in g() to figure out if the
On Thu, 26 Oct 2006, Henrik Bengtsson wrote:
I'm observing the following on different platforms:
parse(text='\\x7F')
expression(\177)
parse(text='\\x80')
Error: invalid multibyte string
Yes. It's an invalid multibyte string. In UTF-8 a single byte is a valid
character string only if it
Thomas Lumley [EMAIL PROTECTED] writes:
On Thu, 26 Oct 2006, Henrik Bengtsson wrote:
I'm observing the following on different platforms:
parse(text='\\x7F')
expression(\177)
parse(text='\\x80')
Error: invalid multibyte string
Yes. It's an invalid multibyte string. In UTF-8 a
Peter Dalgaard [EMAIL PROTECTED] writes:
Hmm...
as.character(v)
[1] NA NA NA
This does look like a leftover from times when there was no character
NA in the language. It is the kind of thing you need to be very
careful about fixing though. (I have a couple of scars from
as.character on
On Wed, 25 Oct 2006, Duncan Murdoch wrote:
On 10/25/2006 8:14 PM, Gabor Grothendieck wrote:
Suppose we have a function such as the following
F - function(f, x) f(x)+1
which runs function f and then transforms it. I would like the
corresponding function which works the same except
Hi again,
Here is a very simplified version of a class hierarchy
defined in the Biobase package (Bioconductor). I post
here because this seems to be an S4 related problem:
setClass(A, representation(name=character))
setMethod(initialize, A, function(.Object) [EMAIL PROTECTED] - I'm
On 10/26/2006 10:29 AM, Philippe Grosjean wrote:
But, please, do not give credit for first idea to someone else on such
a topic... It is long enough that I fight for better R GUIs (for
instance, http://www.r-project.org/GUI), that this looks offending to me!
Sorry, I didn't mean to claim
Herve Pages wrote:
...
sessionInfo()
R version 2.4.0 (2006-10-03)
x86_64-unknown-linux-gnu
locale:
In Section Package subdirectories in Writing R Extensions [2.4.0
(2006-10-10)] it says:
Only ASCII characters (and the control characters tab, formfeed, LF
and CR) should be used in code files. Other characters are accepted in
comments, but then the comments may not be readable in e.g. a UTF-8
Full_Name: Allan Drummond
Version: 2.3.1
OS: Mac OS X 10.4.8
Submission from: (NULL) (65.96.163.97)
When a file is sourced as the first, or near the first, step using R Gui on
Intel Macbook Pro running OS X 10.4.8, the R File to Source dialog reappears
upon switching away from and back to R Gui.
17 matches
Mail list logo