planation and pointers to the old info
I'd missed, Martin. The as.character.Date tip in particular was very
helpful in adapting my code to work with this change.
--
Andrew Piskorski
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/l
3 LTS"
$ R --vanilla
R version 4.3.2 beta (2023-10-22 r85392) -- "Eye Holes"
> v2 <- structure(as.Date(c('2021-10-06','2021-10-08')) ,names=c('a','b'))
> v2
ab
"2021-10-06" "2021-10-08"
> class(v2)
[1] "Date"
> as.cha
xp(B * x), algorithm = "default", :
step factor 0.000488281 reduced below 'minFactor' of 0.000976562
In addition: Warning message:
In nls(formula = y ~ Const + A * exp(B * x), algorithm = "default", :
No starting values specified for some parameters.
Initializing 'Const', 'A', 'B' to '1.'.
Consider specifying 'start' or using a selfStart model
--
Andrew Piskorski
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
roject.org/doc/manuals/r-patched/R-admin.html#Testing-a-Unix_002dalike-Installation
Sys.setenv(LC_COLLATE = "C", LC_TIME = "C", LANGUAGE = "en")
pdf("tests.pdf")
tools::testInstalledPackages(scope="base", errorsAreFatal=FALSE)
--
Andrew Piskorski
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
but what's the recommended way to actually USE Rprofile.site now?
Should I move all my local configuration into a special package, and
do nothing in Rprofile.site except require() that package?
Thanks for your help and advice!
--
Andrew Piskorski
__
difference.
Is it generally the case the users MUST NOT define R functions with
the same names as "registered" C functions? Will something break if
we do?
--
Andrew Piskorski <a...@piskorski.com>
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Rf_error()
terminates execution. But this is a ridiculously roundabout way to
infer what the behavior of Rf_error() is supposed to be...
--
Andrew Piskorski <a...@piskorski.com>
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
- options(warn = -1) ; on.exit(options(old.warn))
aa - !is.na(as.numeric(xx))
if(ignore.na.p) (is.na(xx) | aa) else aa
}
--
Andrew Piskorski a...@piskorski.com
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
way for me to do ONLY the first of palette()'s jobs, set my
session-wide default colors and that's it? It looks like there is no
such entry point in the code, but the little hack with the sacrificial
pdf device above is a way to approximate one.
--
Andrew Piskorski a...@piskorski.com
, nor how I should
avoid it.
Any advice on how I should handle this robustly? (Thanks!)
--
Andrew Piskorski a...@piskorski.com
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
I've ever used.
I am using:
R 3.1.0 (Patched), 2014-04-15, svn.rev 65398, x86_64-unknown-linux-gnu
Ubuntu 12.04.3 LTS
Is there something else I should check to help track down the bug?
--
Andrew Piskorski a...@piskorski.com
__
R-devel@r
purposes, much as the
old .Internal(readTableHead()) was in earlier versions of R.
--
Andrew Piskorski a...@piskorski.com
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
!
I do still wonder though, with the C symbol made visible in utils.so,
how come this still failed?:
.External(readtablehead, ..., PACKAGE=utils)
Error: readtablehead not available for .External() for package utils
--
Andrew Piskorski a...@piskorski.com
# Platform: x86_64-unknown-linux-gnu/x86_64 (64-bit)
type.convert(paste(0., paste(rep(0:9,3)[seq_len(17)],collapse=), sep=),
as.is=TRUE)
[1] 0.01234568
type.convert(paste(0., paste(rep(0:9,3)[seq_len(18)],collapse=), sep=),
as.is=TRUE)
[1] 0.01234568
--
Andrew Piskorski a...@piskorski.com
On Mon, Apr 21, 2014 at 06:44:05PM +0100, Prof Brian Ripley wrote:
On 21/04/2014 18:08, Andrew Piskorski wrote:
.External(utils:::C_readtablehead, ...)
Ah, that works fine, and is nice and simple. So problem solved, thank
you!
I do still wonder though, with the C symbol made visible
that be an error? Or said another way,
why has traditional Unix-style symbol resolution been banned from use
with .C and .Call ?
--
Andrew Piskorski a...@piskorski.com
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
- eval(parse(text=code))
# FINALLY we have the stock result, now modify it some more...
result
}
--
Andrew Piskorski a...@piskorski.com
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
=value optimized out, args=0x10ecae78, rho=value optimized out)
at ../../../src/main/errors.c:1095
[...]
#79 0x00400819 in _start ()
--
Andrew Piskorski a...@piskorski.com
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman
-preserving
subscripting to R, I'm willing to work on it, so please do let me know
your thoughts. So far though, I've never dug into the guts of the
.Primitive([) and [.data.frame functions to see how/why they
sometimes keep and sometime discard names during subscripting.
--
Andrew Piskorski
, rather than one of the faster
optimized BLAS libraries (Atlas, Goto, AMD, Intel, etc.)?
--
Andrew Piskorski a...@piskorski.com
http://www.piskorski.com/
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
unacceptably Ugly.
--
Andrew Piskorski a...@piskorski.com
http://www.piskorski.com/
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
and illuminating answer.
(Now I have better understanding of how the machine works, and what
the dangerous sharp bits are. :)
--
Andrew Piskorski a...@piskorski.com
http://www.piskorski.com/
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo
, result_v);
REAL(result_v)[0] = some_number;
REAL(result_v)[1] = another_number;
/* Also do the same sort of thing for result_list_2. */
return(result_list_1); /* Appears to work ok. */
/* return; */ /* Segfaults. */
--
Andrew Piskorski a...@piskorski.com
http://www.piskorski.com
() gives you. However, the implementation
of tclVar() is nicely simple, and if you look you'll see how to make
your own version that uses whatever Tcl variable name you want.
--
Andrew Piskorski a...@piskorski.com
http://www.piskorski.com/
__
R-devel@r
-lpthread in my
library, the obvious fix is for me to build R itself with -lpthread,
so gdb doesn't get confused.
--
Andrew Piskorski a...@piskorski.com
http://www.piskorski.com/
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman
to fork something
OTHER than R? Have you tried manually starting up two R processes and
running your R code that way? And, what is the actual R code you're
running? You don't seem to have shown it anywhere.
--
Andrew Piskorski a...@piskorski.com
http://www.piskorski.com
collaborators run across
this serialization problem before?)
--
Andrew Piskorski a...@piskorski.com
http://www.piskorski.com/
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
know a better way...
--
Andrew Piskorski a...@piskorski.com
http://www.piskorski.com/
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
about that. But on Linux, mostly
x86-64, we use these from C:
_FPU_GETCW()
_FPU_SETCW()
--
Andrew Piskorski a...@piskorski.com
http://www.piskorski.com/
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
-around or alleviate this? What do you think it would take to fix
Rprof to track the time spent waiting for system() to finish, and
where in the R source should I look to attempt that?
Thanks!
--
Andrew Piskorski a...@piskorski.com
http://www.piskorski.com
is invalid? Of
course not, the entire idea is absurd (shades of SCO) - as I hope you
agree.
--
Andrew Piskorski a...@piskorski.com
http://www.piskorski.com/
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
-Plus 3.3 and earlier, had the correct, name preserving
behavior. I presume that the original Bell Labs S had correct
name-preserving behavior, and then the S-Plus developers broke it
sometime along the way.
--
Andrew Piskorski a...@piskorski.com
http://www.piskorski.com
of my no complete element pairs
problem (I'm not at all sure), but it does look suspicious.
--
Andrew Piskorski [EMAIL PROTECTED]
http://www.piskorski.com/
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
/cvvanroy.html
23. http://www.amazon.com/gp/product/0262220695/
24. http://www.mozart-oz.org/
--
Andrew Piskorski [EMAIL PROTECTED]
http://www.piskorski.com/
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
SMP node, and use an MPI that sends messages through
fast shared memory. That's probably still slower than
thread-to-thread communications, but it should be much lower latency
than TCP/IP. Maybe you already tried something like that?
--
Andrew Piskorski [EMAIL PROTECTED]
http
from looking at src/main/uthreads.c.
--
Andrew Piskorski [EMAIL PROTECTED]
http://www.piskorski.com/
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
a PG_PKG_LIBS with the same stuff, but I don't
remember why. The '--version-script=' and related matters were also
disccussed here back in February:
https://stat.ethz.ch/pipermail/r-devel/2007-February/044531.html
--
Andrew Piskorski [EMAIL PROTECTED]
http://www.piskorski.com
to
configure, and... It worked! It now builds successfully with -fpic
(not -fPIC). So, problem solved, thank you! And I apologize for
wasting your time with this.
--
Andrew Piskorski [EMAIL PROTECTED]
http://www.piskorski.com/
__
R-devel@r-project.org
-4.0
+++-==-=-==
ii binutils 2.16.1cvs20060117-1ubuntu2.1 The GNU assembler, linker and
binary utilities
ii gcc-4.04.0.3-1ubuntu5The GNU C compiler
--
Andrew Piskorski [EMAIL PROTECTED]
http
:
http://www.stat.uiowa.edu/~luke/R/simpleref.html
Finalization and Weak References in R:
http://www.stat.uiowa.edu/~luke/R/references/weakfinex.html
--
Andrew Piskorski [EMAIL PROTECTED]
http://www.piskorski.com/
__
R-devel@r-project.org
, there are definitely other ways to control symbol visibility,
but that one seemed most convenient in my case.
--
Andrew Piskorski [EMAIL PROTECTED]
http://www.piskorski.com/
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
copies?
(I see that R CMD INSTALL has a --with-package-versions option, but
I think that's about using multiple versions of a package with one
version of R, while I want the vice versa.)
Thanks!
--
Andrew Piskorski [EMAIL PROTECTED]
http://www.piskorski.com
and thus handling things like external
libraries is much less painful. Just make sure you create proper
Simon, I don't understand the distinction, could you explain what
these two methods do differently, please? And how does this affect
the use of external libraries?
--
Andrew Piskorski
)) rank(c(1,NA,3))
[1] 1 3 2 [1] 1 3 2
rank(c(NA,NA,3)) rank(c(NA,NA,3))
[1] 2.5 2.5 1.0[1] 2 3 1
--
Andrew Piskorski [EMAIL PROTECTED]
http://www.piskorski.com/
__
R-devel@r-project.org mailing list
https
). The Erlang and Mozart/Oz folks both
seem to think so, etc.
--
Andrew Piskorski [EMAIL PROTECTED]
http://www.piskorski.com/
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
sort:
http://tcl.activestate.com/man/tcl8.4/TclCmd/lsort.htm
--
Andrew Piskorski [EMAIL PROTECTED]
http://www.piskorski.com/
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
]]:
character(0)
dimnames(t(x))
[[1]]:
character(0)
[[2]]:
character(0)
--
Andrew Piskorski [EMAIL PROTECTED]
http://www.piskorski.com/
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
/
http://cran.us.r-project.org/src/contrib/Descriptions/RScaLAPACK.html
http://cran.us.r-project.org/src/contrib/Descriptions/taskPR.html
http://cran.us.r-project.org/src/contrib/Descriptions/biopara.html
http://www.omegahat.org/download/R/packages/CORBA.tar.gz
--
Andrew Piskorski [EMAIL
48 matches
Mail list logo