t the current depth reached?
extern int R_PPStackTop;
(use for debugging purposes only!)
Cheers,
Simon
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
x27;s wrong:
a.cc:54: warning: control reaches end of non-void function
You simply forgot to add return to rh_status so it's returning junk
which crashes (since it's not a valid SEXP).
Cheers,
Simon
Much thanks for your time
Regards
Saptarshi
BT OUTPUT:
#0 0x2b499ca4
script.
Well, what's wrong with:
#!/usr/bin/Rscript --default-packages=base
ginaz:sandbox$ time ./scr
real0m0.045s
user0m0.027s
sys 0m0.017s
.. as opposed to
#!/usr/bin/Rscript --default-packages=base
ginaz:sandbox$ time ./scr
real0m0.201s
user0m0.166s
sys 0m0.034s
On Sep 4, 2009, at 10:20 , Simon Urbanek wrote:
On Sep 3, 2009, at 13:52 , Romain Francois wrote:
On 09/03/2009 05:23 PM, Duncan Murdoch wrote:
On 03/09/2009 9:53 AM, Romain Francois wrote:
Hi,
Is is possible to embed inside an R script, the name of the default
packages to be loaded
n the last line. Also some systems put core
dumps in a dedicated directory, not in the current one. If in doubt,
google for core dumps and your distro - this is not really an R
issue ...
Cheers,
Simon
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
it doesn't tackle the issue - objects can go out of scope by
other means than just rm(), e.g.:
f <- function() { ...; myGreatObject }
f()
# the great object is gone now since it was not assigned anywhere
Sounds like rather common problem people may face, but unfortunately
2";
#etc.
while ($children) { wait; $children--; }
print "Jobs done.\n";
Fino:sandbox$ ./tt
job 1 started
job 2 started
job 1 done
job 2 done
Jobs done.
(replace sleep by your R invocation ... use your imagination to
improve it since it's admittedly very crude but helps to trac
On Sep 8, 2009, at 12:39 , Simon Urbanek wrote:
On Sep 8, 2009, at 12:14 , Patrick Aboyoun wrote:
This is a reissue of a question I had asked a few weeks ago to see
if anyone had any thoughts on the matter.
I am looking to have slot in an S4 class definition that can take
any (S3 or S4
NY" will accept any type in R:
> setClass("foo",representation(a="ANY"))
[1] "foo"
> new("foo",a=factor())
An object of class "foo"
Slot "a":
factor(0)
Levels:
"ANY" is not an S4 class (and neither are various other ty
27;s not something that is or should be available at R
level as it's an internal implementation detail).
Cheers,
Simon
force(code)
}
f({
a <- 1
b <- 2
})
On Wed, Sep 9, 2009 at 10:30 AM, Hadley Wickham
wrote:
Hi all,
Is it possible to determine the environment in which
permissive open source licenses). The point was open
distribution as Peter pointed out so GPL-compatible licenses would be
one possibility (although it also disallows some open source licenses).
Cheers,
Simon
2) r-forge could be left "buyer beware" using DESCRIPTION information
e resulting R) works just fine for me
on lenny (modulo the --prefix).
Cheers,
Simon
but below is
my build script, my console output, and the output of uname -r. I am
currently dependent on the development version of a package, so I'd
like to
get R-devel up and running if possible. I am s
more explicit we have to make it...)
Cheers,
Simon
On Thu, Sep 17, 2009 at 12:19 PM, Dirk Eddelbuettel
wrote:
On 17 September 2009 at 11:32, Gabor Grothendieck wrote:
| Regarding this from this week:
|
| 2.10.0 PACKAGE INSTALLATION (Windows)
| It is possible to install source packages wi
e)
sources, or to gzipped package 'tar' archives. The library tree
[...]
Cheers,
S
On Thu, Sep 17, 2009 at 3:58 PM, Simon Urbanek
wrote:
On Sep 17, 2009, at 12:43 , Gabor Grothendieck wrote:
Thanks. Perhaps someone in the core group can
still provide explicit information on h
pecifies a directory "bar" at
the path "/foo", hence the name is "bar" ("" would make no sense of
course).
Cheers,
Simon
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
o implement your pattern specification (just FWIW it's non-
standard and requirement of trailing slashes does lead to very nasty
problems for the user).
Cheers,
Simon
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
states the behavior as well). The =20=
fact that you are trying to use the wrong tool for your purpose =20
doesn't mean that the tool is broken. I would advise you to ask on R-=20
help how to implement your pattern specification (just FWIW it's non-=20
standard and requirement of trailing slashes does lead to very nasty =20
problems for the user).
Cheers,
Simon
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
specific reason for using JRI (R embedding) there
are more simple solutions such as Rserve based on the same API - but
the choice depends on what exactly your applications is doing)
Cheers,
Simon
__
R-devel@r-project.org mailing list
https://stat.
fferent between gcc (64-bit) and gfortran (32-bit)!
Cheers,
Simon
PS: There is usually no need to compile R from sources on OS X - see
http://r.research.att.com/
for the latest R release in both 32 and 64-bit for Leopard/Snow Leopard.
checking how to get verbose linking output from gcc -
rep"
@d595b0 06 LANGSXP g0c0 []
@80ae44 01 SYMSXP g1c0 [MARK,gp=0x4000] "/"
@1bf8ce8 14 REALSXP g0c1 [] (len=1, tl=0) 1
@1dbf1ac 01 SYMSXP g0c0 [MARK] "nAssets"
TAG: @9450fc 01 SYMSXP g1c0 [MARK] "times"
@1dbf1ac 01 SYMSXP g0c0 [MARK] &quo
MArtin,
On Sep 29, 2009, at 12:17 , Martin Morgan wrote:
Simon Urbanek wrote:
Abhijit,
as for your subject - it's GET_SLOT,
but why don't you just use ParseVector and eval instead of hand-
crafting C code that calls the evaluator? That latter is way more
error prone and the erro
ror issue as
well (although I'd be a bit surprised if konqueror was not 1.1-
capable..).
Thanks,
Simon
Both konqueror and lynx are able to browse the static html files
just fine.
Firefox and Opera work fine with the httpd server on the same
computer.
Does anybody else see similar sym
Thanks, Jeff, good catch. Now committed.
Simon
On Sep 29, 2009, at 18:27 , Jeff Horner wrote:
Simon Urbanek wrote:
[...]
I don't have konqueror at hand, so I have tested and fixed the lynx
case (lynx is acting as an HTTP/1.0 client and expects non-
persistent connection). With some luc
needed. Normally R uses the native encoding of the locale
you're running in. If you are dealing with files from other locales,
you have to tell R accordingly - in most cases it's better to re-
encode the strings (?iconv) than to work with the foreign encoding.
Cheers,
Simon
Ou
line is too old? Maybe you have a readline-replacement
library (e.g. libedit) that poses as readline? Try installing some
recent readline (incl. -dev part) - the current version is 6.0. If
that doesn't help, look at config.log around the rl_completion_matches.
Cheers,
Simon
How sho
b64 -- did you build it just in 32-bit?)
Cheers,
Simon
On Sep 30, 2009, at 16:30 , Peng Yu wrote:
On Wed, Sep 30, 2009 at 9:58 AM, Simon Urbanek
wrote:
On Sep 30, 2009, at 10:13 , Peng Yu wrote:
I compiled R-2.9.2 from source on Cent OS. But the compile R program
does not support command
the function that does it, e.g.,
Rf_NewEnvironment(R_NilValue, R_NilValue, parent)
it's not part of the official API (headers) but it is visible.
For hashed environments it's R_NewHashedEnv().
Cheers,
Simon
__
R-devel@r-project.org mailing
ing through the
headers (and sometimes even through the main sources).
Cheers,
Simon
and an example that creates a new environment and then assigns a
variable named OK an integer vector length 1 with value 0:
SEXP env = NewEnv(R_GlobalEnv);
defineVar(install("OK"),NewI
Saptarshi,
how did you create those lists? Can you send us the code? If not, can
you put up the .RData file? Without a reproducible example this is
hard to debug ...
Thanks,
Simon
On Oct 1, 2009, at 14:26 , Saptarshi Guha wrote:
Hello,
I have list of 600K lists, each sublist a list of
low is way incomplete, you can have the bug pretty much anywhere out
of sight so there is not much we can help you with...
Cheers,
Simon
I can go through the code (below)
Now if instead of A0-A3 and B0-B3, i simply create a RAWSEXP and
copy the the
raw bytes (in kvhold) return this list of t
compiler is GNU Fortran so you may test your
code with that (it also supported OpenMP which effectively supersedes
HPF).
Cheers,
Simon
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
ion that you're heading in a very wrong direction
(but you didn't tell us what you're really up to so that's just a
speculation). It should be entirely irrelevant for you what switches
are used, because packages get all necessary switches from R, so they
never need to worry about them. If you do, then it's highly likely
that you're doing something wrong.
Cheers,
Simon
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
or C) or your C code is not 64-bit clean (i.e.
makes some 32-bit assumptions that are not true in 64-bit environment
- check the use of "long" data types and pointers). Again, the
solution is to fix the code to be clean, it will still be the same for
both 32-bit and 64-bi
include both 32-bit and 64-bit -- which one gets
started depends on the --arch flag, see R docs for details on multi-
arch installations).
Cheers,
Simon
I suspect I need to have a quasiRNG.c file where I will use
preprocessor statement that will select the good version of the
functio
ile that binary at install time.
Cheers,
Simon
Could anyone provide generic information on this topic, or point me to
the right documentation?
All the best,
--
Guillaume Yziquel
http://yziquel.homelinux.org/
__
R-devel@r-project.org mai
oid that when good people has already done an amazing
job :-).
People have proposed that and tried that long time ago, but I don't
think anyone succeeded.
Cheers,
Simon
Cheers, Mikkel Meyer Andersen.
[1]: http://finzi.psych.upenn.edu/Rhelp08/2009-February/187425.html
[2]: http
On Oct 11, 2009, at 9:17 PM, Mikkel Meyer Andersen wrote:
Simon,
Thanks for your answer.
Do you have a link describing the procedure on compiling for iPhone
or is it really just ready out of the box?
You can compile R itself (libR) out of the box just using regular
cross-compilation
(moving to the proper mailing list: R-SIG-Mac - this is not a bug so
far!)
James,
this look like your internet access is stalling R -- it's not really R
freezing but your internet. Try using a different mirror and/or check
your internet connection.
Cheers,
Simon
On Oct 13, 2009,
something is
"usually" used is not necessarily a very good indicator -- it's better
if you know what you're doing ;).
Cheers,
Simon
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
e help links in
2.9 and earlier). But again, unless we know what you're up to we can't
help you with solutions...
Cheers,
Simon
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
ere you create the R object). It's also very trivial to
implement.
Cheers,
Simon
Abhijit Bera
On Sat, Oct 24, 2009 at 10:06 PM, Douglas Bates
wrote:
On Fri, Oct 23, 2009 at 2:02 PM, Abhijit Bera
wrote:
Sorry, I made a mistake while writing the code. The declaration of
Data
sho
useful application on a mobile
device -- IMHO the future is in a thin mobile client accessing the
cloud (which runs R among other things) since there is no point in
trying to use the low-power CPUs for computing.
Cheers,
Simon
__
R-devel@r-
Elt(e);
SEXP arg4Elt = lang1(arg4);
SETCDR(last, arg4Elt);
In general, I'd avoid SETCDR -- why not use CONS/LCONS? That is the
generic way to do this (I'd suggest some reading about the
fundamentals of it) -- langX/listX are just convenience macr
Stephen,
I cannot reproduce it (using Leopard build). Please supply full
information (including sessionInfo() and version of the GUI used) as
required by the posing guide.
Thanks,
Simon
On Nov 11, 2009, at 7:50 , step...@prollenium.com wrote:
>
> --Apple-Mail-56-463481941
>
t; means
that your package works without those packages but can have improved
functionality with them. In your case the example breaks if you don't
have vegan - thus the package doesn't really work without vegan. (As
of why vegan is not there that is my problem ;)) Thanks for the
r
On Nov 20, 2009, at 3:07 PM, Romain Francois wrote:
On 11/20/2009 08:43 PM, Elana Fertig wrote:
Hi All,
I am trying to install the package rjags into a local library on a
machine for which I do not have root permissions.
Using the command: R CMD INSTALL
--configure-args="--with-jags-include=
thinking of CHARSXPs and INTSXPs for the moment...
Those are entirely different - CHARSXP are not vectors but strings
(see mkChar et al., CHAR, ...) and INTSXP are integer arrays (in C
speak) accessed using INTEGER.
Please read R-exts - it's better than
ass = "a")
a <- new_a(1:5)
"[.a" <- function(x, i, j, ...) {
new_a(x[, j, ])
What about
new_a(unclass(x)[, j,])
Cheers,
Simon
}
a[, 5]
Thanks,
Hadley
--
http://had.co.nz/
__
R-devel@r-project.org mailing list
https://st
ithin the dynamic help that could point to any file on the file
system.
That is already implemented but not allowed in unsafe directories for
security reasons (see previous discussion).
Cheers,
Simon
__
R-devel@r-project.org mailing list
this.
You are, of course, wrong because what you're looking at is the Apple
gcc version which is the version of the driver and the cc part (it is
the gcc-42 tree of Apple). The fortran merged unto the Apple gcc
branch is indeed 4.2.4.
Cheers,
On Nov 25, 2009, at 1:03 AM, Saptarshi Guha wrote:
Hello
I was reading the source main/src/gram.y and had one question, how
does R parse
x =
1
According the grammar:
prog: END_OF_INPUT{ return 0; }
| '\n'{ return xxv
Paul,
at a first glance that seems like an issue in your system to me since
the errors come from system headers and not from our code. Which
compilers are you using and which Xcode version?
Cheers,
Simon
On Nov 26, 2009, at 1:16 PM, Homer Paul Benton wrote:
Dear R-gurus,
I'm tryi
>
> and xcode 3.2 (1610)
>
> At the risk of sounding stupid, I compiled the netCDF library and the
> compiliers seemed happy for that. ?!?!
>
NetCDF doesn't use anything from the system so even wrong compilers won't throw
it off.
Cheers,
Simon
> Cheers,
&g
eally looking at is
R_PreserveObject/R_ReleaseObject. I would suggest looking at the many other R
embeddings in other languages that already exist since I don't think you
approach is very viable (but I think I expressed that already before).
Cheers,
Simon
> I'm using C as th
Guillaume,
On Nov 29, 2009, at 13:57 , Guillaume Yziquel wrote:
Simon Urbanek a écrit :
On Nov 28, 2009, at 7:50 PM, Guillaume Yziquel wrote:
FWIW what I think you should be really looking at is
R_PreserveObject/R_ReleaseObject.
OK. Thanks.
I would suggest looking at the many other R
On Nov 30, 2009, at 12:08 , Guillaume Yziquel wrote:
Simon Urbanek a écrit :
You're talking about two entirely different things -- bypassing the
API is a very bad idea, but it has nothing to do with your last
paragraph.
It's very good to hear that it's two different things
On Nov 30, 2009, at 13:14 , Guillaume Yziquel wrote:
Simon Urbanek a écrit :
Because I've been unable to find what exactly applyClosure or eval
requires, when it comes to the structure of the argument LANGSXP.
For example.
LANGSXP is simply a pairlist representing the expression, e.
On Nov 30, 2009, at 16:07 , Guillaume Yziquel wrote:
Simon Urbanek a écrit :
And it goes then to my other question: How can you pass to eval a
LANGSXP where the CAR is an *anonymous* function, no SYMSXP
involved?
You just pass it as value of the call. I suspect the reason it
doesn
caused unwanted side effects (see the constant anti-
aliasing discussions).
Cheers,
Simon
It's always good to have more functionality.
However, I certainly hope that most of the R community stick to vector
graphics (with conservative colour use), unless it is absolutely
necessary to do othe
On Dec 1, 2009, at 8:32 PM, Guillaume Yziquel wrote:
> Simon Urbanek a écrit :
>> You just pass it as value of the call. I suspect the reason it doesn't work
>> is in your code, not in the facility (note that the link above is useless
>> since the constructio
be of any length).
Cheers,
Simon
Duncan Murdoch wrote:
On 01/12/2009 12:50 AM, Jean Couteau wrote:
Thanks for your time Duncan,
I join here the instruction that is not correct, hoping that might
help you. The file is encoded in utf-8 so you should not have any
problem reading it.
I
time to start R once given that you
started R.app 50 times ;). If what you say is true it takes 5 seconds
to verify that it crashes at the same point...
Please use the R-SIG-Mac list as you are asked to and supply details
(at the least the crash report, sessionInfo() and version of the G
a connection API so packages (and
devices) can use it.
Cheers,
Simon
> On 12/05/2009 07:06 PM, Tobias Verbeke wrote:
>>
>> Hi,
>>
>> Gabor Grothendieck wrote:
>>
>>> Its not just the time. Its also the nuisance of having to manage files
>>>
On Dec 6, 2009, at 8:24 AM, Romain Francois wrote:
> On 12/06/2009 01:20 AM, Simon Urbanek wrote:
>> On Dec 5, 2009, at 4:11 PM, Romain Francois wrote:
>>
>>> I agree too, I was just trying to put on the balance the amount of work
>>> that would requir
hat as yet).
>
The bug is that the GUI used a static file instead of the dynamic help. That is
now fixed (the same was also true for the Data Manager, both should be now
fixed, i.e., use the dynamic help instead).
Thanks,
Simon
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
exact example there is an even more efficient way:
dfn <- rep(data.frame(X=rep(0, 4096)), 4096)
dfn <- do.call("cbind", dfn)
it uses only a fraction more memory than the size of the entire
object, but that's for entirely different reasons :). No, it's not
good in general
estions is R-SIG-Mac (see "About R" in the GUI).
Thanks,
Simon
On Dec 15, 2009, at 1:40 PM, y_alperov...@yahoo.fr wrote:
> Full_Name: Yan Alperovych
> Version: R 2.10.1, GUI 1.31
> OS: Mac OS 10.6.2
> Submission from: (NULL) (139.165.27.244)
>
>
> Hello everyone,
Yan,
On Dec 16, 2009, at 10:13 AM, Yan ALPEROVYCH wrote:
> Hello Simon,=20
>=20
> I did read the posting guide, and I did as your colleague from the GUI =
discussion instructed me to (Forwarded text bellow). It's ok, I got my =
lesson.=20
>=20
> The session info:
>=
;>> a shortcut to jump immediately to the utils tests?
>>
>> No, but many sections can be suppressed -- see check --help and the
>> environment variables discussed in the R Internals manual.
>
> Ahh - good hint - help("check") wasn't really fruitful. Howev
g else you simply cannot use it so you have
to use Preserve/Release. As a side note Preserve/Release is merely a
convenience call, it is often more efficient to simply assign the object to
another object you have control of (which is all Preserve really does).
Cheers,
Simon
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
eal with the access so you can
easily perform worse than Preserve/Release if you're not careful.
As a side note - the best way (IMHO) to deal with all those issues is to use
external pointers because a) you get very efficient C finalizers b) you can
directly (and very efficiently) tie li
On Jan 2, 2010, at 4:08 PM, Laurent Gautier wrote:
> On 1/2/10 8:28 PM, Simon Urbanek wrote:
>>
>> On Jan 2, 2010, at 12:17 PM, Laurent Gautier wrote:
>>
>>> On 1/2/10 5:56 PM, Duncan Murdoch wrote:
>>>> On 02/01/2010 11:36 AM, Laurent Gautier wrote:
&g
On Jan 2, 2010, at 5:41 PM, Romain Francois wrote:
> On 01/02/2010 11:12 PM, Duncan Murdoch wrote:
>>
>> On 02/01/2010 3:16 PM, Laurent Gautier wrote:
>>> On 1/2/10 8:53 PM, Duncan Murdoch wrote:
>>>> Simon Urbanek wrote:
>>>>>
On Jan 2, 2010, at 5:41 PM, Romain Francois wrote:
> On 01/02/2010 11:12 PM, Duncan Murdoch wrote:
>>
>> On 02/01/2010 3:16 PM, Laurent Gautier wrote:
>>> On 1/2/10 8:53 PM, Duncan Murdoch wrote:
>>>> Simon Urbanek wrote:
>>>>>
3},
{NULL, NULL, 0}
};
in order to get rid of an unnecessary compiler warning.
Cheers
Simon
+---
| Dr. Simon Anders, Dipl.-Phys.
| European Molecular Biology Laboratory (EMBL), Heidelberg
| office phone +49-6221-387-8632
| preferred (permanent) e-mail: sand...@fs.tum.de
___
R 2.10.1 and hence a
doubly pointless report ...
Cheers,
Simon
> On Mon, 11 Jan 2010, pdemou...@gmail.com wrote:
>
>> Full_Name: Philippe Demoulin
>> Version: R version 2.10.0 (2009-10-26)
>> OS: OSX 10.4.11 on PPC
>> Submission from: (NULL) (80.236.193.215)
f you want to
throw an error in a scalar context than to lose all results because of
one vector entry. And, yes, file.exists("") will indeed return FALSE
(although it is entirely unrelated).
Cheers,
Simon
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
bad as they make it
harder to programmatically determine the true "suggests".
Hence I don't see why your should even pst them ;).
Cheers,
Simon
And NAMESPACE brings up another issue in that being able to do
conditional imports would be very useful for these cases, other
urt pointed out ...
Cheers,
Simon
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
rprisingly).
Cheers,
Simon
On Jan 15, 2010, at 9:15 , kolle...@stat.math.ethz.ch wrote:
The attached code produces corrupted pdfs (test2.pdf, test4.pdf and
test5.pdf). The resulting pdf depends on how many cores are
available on
the machine.
I don't see why there should be any differe
On Jan 18, 2010, at 7:53 , Henrik Bengtsson wrote:
On Mon, Jan 18, 2010 at 1:36 AM, Prof Brian Ripley
wrote:
Not an issue for *this* list!
I used this list to share this with package developers - not
particularly MacOS X users. As a package provider I'd like to know
when packages are not a
n as people read about certain
details (e.g. from GNU FAQ) without understanding the underlying
mechanisms and the implications.
Cheers,
Simon
In closing, do the R developers believe that including a Copyright
notice is imperative with a Copyright License?
If so, what advice do they have
ot; are not loaded at all -- you can load the datasets
package which will make them available, but they are not really "loaded". The
minimal setup is simply
R_DEFAULT_PACKAGES=NULL R --vanilla
However, it's your responsibility to load any packages that your code needs in
that case.
Cheers,
Simon
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
On Jan 31, 2010, at 12:39 PM, Guillaume Yziquel wrote:
> Simon Urbanek a écrit :
>>>
>>> So I gather that just setting R_DEFAULT_PACKAGES to NULL should be OK. But
>>> then, what is the rather complicated stuff in the autoload() function in
>>> littler.
= "B")
[1] "hello"
However, your'e not really using the LinkingTo: facilities for the functions so
it's essentially just helping you to find the header file.
Cheers,
Simon
On Feb 11, 2010, at 4:08 AM, Romain Francois wrote:
> Hello,
>
> I've be
On Feb 11, 2010, at 12:24 PM, Romain Francois wrote:
> Thanks.
>
> On 02/11/2010 05:55 PM, Simon Urbanek wrote:
>> Romain,
>>
>> I think your'e confusing two entirely different concepts here:
>
> Yes. The name "LinkingTo" probably helped my
r story) and we
already have reliable support for storing R objects (more than one in
fact). Despite the fact that some used to claim human readability of
XML in practice it turns out to be false, so I don't see any real
benefits of XML in this context.
Cheers,
Simon
The most reliable way
4) int and long are equivalent so you can
simply use INTSXP. On 64-bit unix platforms (LP64) there is no way to
losslessly use it (other than raw) but in most applications you can
simply use REALSXP as it gives you at least 52-bits of precision which
its sufficient for most applications.
Che
dexed
by an n-column character matrix. The indices are matched
against the dimension names. NA indices are propagated to the
result. Unmatched values and "" are not allowed and result in
an error.
Cheers,
Simon
---On Windows--
x
On Feb 12, 2010, at 7:14 PM, Dominick Samperi wrote:
> On Tue, Jan 19, 2010 at 11:54 AM, Simon Urbanek
> wrote:
> Copyright is the right that the author of an original work holds
> automatically (unless someone else can claim to own his work - e.g. his
> employer etc.)
On Feb 13, 2010, at 5:04 PM, blue sky wrote:
> On Fri, Feb 12, 2010 at 12:06 PM, Simon Urbanek
> wrote:
>>
>> On Feb 12, 2010, at 12:33 , blue sky wrote:
>>
>>> R-exts.pdf dosen't list many types that are supported in C++, for example,
>>> lo
.
Cheers,
Simon
On Mar 2, 2010, at 11:45 , tbr...@virginia.edu wrote:
Full_Name: Timothy Brick
Version: 2.10
OS: Mac OS X (seen on both 10.6 and 10.5)
Submission from: (NULL) (63.255.24.5)
When using install.packages in R on Mac OS X, packages that require
gfortran
throws an error (Example
" would be
ambiguous (in the current R lists are implemented as generic vectors,
not as linked lists).
Cheers,
Simon
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
ever, that this will lead to (possibly silent) errors if you
forget to change it when switching to another R version, so I prefer
to fix the package instead.
Cheers,
Simon
The beta test users install the package using the following script: http://openmx.psyc.virginia.edu/getOpenMx.R
.
Just to calm the discussion a bit - we already have decided to go with
Bugzilla, we created tools for the import of old PRs and the new bug
system is up and running in a test phase. The current downtime is not
directly related to that - the cause is being investigated.
Cheers,
Simon
On
may be worth putting what I wrote below into the FAQ.
Thanks,
Simon
On Thu, 4 Mar 2010, Simon Urbanek wrote:
Hi Michael,
On Mar 3, 2010, at 12:01 , Michael Spiegel wrote:
I am the guy who compiles the OpenMx binaries. We would be
delighted to place our package on CRAN, once the pr
x27;t help it's your connection.
Cheers,
Simon
(The web interface is very
slow and install.packages() is timing out and giving me "service not
available").
Paul
=
=
=
=
=
=
=
=
=
=
=
=
=
=
==
same directory:
R
# load the library you just compiled
dyn.load("foo.so")
# test your code
.C("tranptest", c("file1", "file2"), as.double(1,2,3,4))
Cheers,
Simon
Alex
--- On Mon, 3/8/10, Romain Francois wrote:
From: Romain Francois
Subject: Re: [Rd
pic I think ...
Cheers,
Simon
On Mar 8, 2010, at 12:37 , Dirk Eddelbuettel wrote:
Alex,
Can you _please_ stop spamming r-devel? Romain and I repeatedly
pointed the
existence of the rcpp-devel list out to you. Please consider using it.
There are existing packages that use what you want t
can't tell -- use "R -d gdb" to run R in
a debugger so you can look at the exact spot of the crash. Is it
possible that you get thrown off by the 0-based indexing in C and
opposed to 1-based indexing in R?
in
extern "C" void tranptest(char **fn, double *par) {
you
1001 - 1100 of 1466 matches
Mail list logo