ng? Would it be worthy
of a simple package?
Thanks for your help and hard-work Hans-Peter and I look forward to
hearing how things are going,
Mark
Hans-Peter wrote:
> Hi Mark,
>
> Sorry to not reply earlier, I was away this week.
>
>> Hans-Peter and other R developers,
>>
te, repost the
solutions or additional functionality to the list.
Mark
Hans-Peter wrote:
> Hi Mark,
>
> You need a character vector or a data.frame for separate rows. Something
> like:
>
> longtext <- 'akdf kadfö \nkad flkdöflkadfk dafk \nlakdf
> kdjfkjdfkjadfk\njadf
s error is reproducible after logout from server and restart of emacs
and R.
Below is my output and sessionInfo().
Thanks,
Mark
> setwd("~/Genomics/Experiments.Genomic/BB01/acb.shell")
> local(save(affy.object.preprocessed, file
="affy.object.preprocessed.R" ))
> load(&quo
Luke, I'll be gone for about 2 weeks but will work on getting you a
reproducible example when I get back. If this topic comes up with anyone
else, please copy me on your responses as I may miss it in the 600
emails I'll have to delete on my return :) Mark
Luke Tierney wrote:
> Acc
Had some packages fail install so I updated to today's R-beta release.
On updating packages the following packages still fail. sessionInfo
follows. Mark
Warning messages:
1: In install.packages(update[instlib == l, "Package"], l, contriburl =
contriburl, :
installation of
Mark,
My sysadmin has helped me install R on our Power cluster. This is not my
area of expertise, but I will pass along his directions, which got me up
and running:
To quote him, "Our machine, BigRed runs SuSE Linux Enterprise Server 9,
Service Pack 3. The OS
is 64-bit, but there are 3
that this is going to be tricky, but I need to get this
to work. Helpful suggestions? I'd be happy to share more of my R and C
code if that is helpful, but I wanted to avoid a very long post at this
point.
Thanks,
Mark
> dyn.load(x = c.code, local = TRUE, now = TRUE)
Error in dyn.lo
Switched back to R-devel tonight after using R-2.6.1 for awhile and when
I updated my devel packages Matrix installation failed. Not critical for
me but thought I should report it. I am using Ubuntu Gusty AMD64 OS.
Tail of install output and sessionInfo follows. Mark
Loading required package
two polygons stops at the border of each polygon. The polygons can be
transparent, so the option of just rendering the lines first won't work.
Is there some help for me with an R internal or perhaps a higher level
function?
Thanks,
Mark
--
Mark W. Kimpel MD ** Neuroinformatics ** Dept. of
ing a matrix in R
to represent pixel-space and using my own edge-detection algorithm. As I
write this, I believe I am almost there, but testing awaits tomorrow.
The real question will be how fast it actually runs. I'll report back
later this week.
Mark
Mark W. Kimpel MD ** Neuroinformatics *
the problem persists.
Ideas?
Thanks,
Mark
> require(gmodels)
Loading required package: gmodels
Error in lazyLoadDBfetch(key, datafile, compressed, envhook) :
internal error in R_decompress1
[1] FALSE
sessionInfo()
R version 2.4.0 Under development (unstable) (2006-06-15 r38348)
i386
ssary, but as a developer of C++, he is probably biased.
I would greatly appreciate the advice of the R developers and package
contributors on this subject. "C" or "C++"?
Thanks,
Mark
Mark W. Kimpel MD
Official Business Address:
Department of Psychiatry
In
complicated.
3. Lastly, is there a C or C++ community similar to R that I could
address questions relating to those languages to? I don't want to abuse
the R list as I learn.
Thanks,
Mark
Mark W. Kimpel MD
(317) 490-5129 Work, & Mobile
(317) 663-0513 Home (no voice mail pleas
This question has been discussed before on this list:
http://r.789695.n4.nabble.com/Why-R-project-source-code-is-not-on-Github-td4695779.html
See especially Jeroen's answer.
Best,
Mark
Op do 4 jan. 2018 om 01:11 schreef Juan Telleria :
> UNBIASED FACTS:
> • Bugzilla & R-deve
en of course there is the R journal
and JSS, but those speak for themselves.
So maybe a 'keeping up to date' section would be nice in the article?
Best,
Mark
Op ma 29 jan. 2018 om 00:25 schreef Ravi Varadhan :
> Hi Spencer,
> Thank you for this wonderful service to t
'parent' of roxygen is Doxygen, which was already widely used
(also by me) in the C/C++ community before roxygen was published. I cannot
remember anyone ever complaining about C/C++ documentation deteriorating
because of Doxygen.
-Mark
Op wo 31 jan. 2018 om 14:02 schreef Joris Meys :
vels) : factor z has new levels a
It seems a bug to me, although one could argue that 'lm's documentation
does not allow one to expect that the '-' operator should work generally.
If it is a bug I'm happy to report it to bugzilla.
Thanks for all your efforts,
Mark
ps:
Joris, the point is that 'z' is NOT used as a predictor in the model.
Therefore it should not affect predictions. Also, I find it suspicious that
the error only occurs when the response variable conitains missings and 'z'
is unique (I have tested several other cases to confirm
mprove this behavior, but
perhaps one of the core authors can have a look at it.
Best,
Mark
Op vr 16 mrt. 2018 om 13:22 schreef Joris Meys :
> Technically it is used as a predictor in the model. The information is
> contained in terms :
>
> > terms(x ~ . - z, data = d)
> x ~ (
ing in the
output on Windows:
Warning: stack imbalance in '{', 39 then 40
I don't have a Windows PC handy where I can quickly reproduce this so if
anyone has solved similar problems it would be nice if they could be posted
here.
Best,
Mark
[1] https://cran
s follows:
do.call(someotherfunction, L)
}
-Mark
Op do 3 mei 2018 om 16:29 schreef Dénes Tóth :
> Hi,
>
>
> In some cases the number of arguments passed as ... must be determined
> inside a function, without evaluating the arguments themselves. I use
> the following construct
how about
is_evenly_spaced <- function(x,...) all.equal(diff(sort(x)),...)
(use ellipsis to set tolerance if necessary)
Op vr 31 aug. 2018 om 15:46 schreef Emil Bode :
> Agreed that's it's rounding error, and all.equal would be the way to go.
> I wouldn't call it a bug, it's simply part of wor
Sorry for the second e-mail: this is worth watching:
https://www.youtube.com/watch?v=3Bu7QUxzIbA&t=1s
It's Martin Maechler's talk at useR!2018. This kind of stuff should be
mandatory material for any aspiring programmer/data scientist/statistician.
-Mark
Op vr 31 aug. 2018 om
Ah, my bad, you're right of course.
sum(abs(diff(diff( sort(x) < eps
for some reasonable eps then, would do as a oneliner, or
all(abs(diff(diff(sort(x < eps)
or
max(abs(diff(diff(sort(x) < eps
-Mark
Op vr 31 aug. 2018 om 16:14 schreef Iñaki Ucar :
> El vie., 3
R version caught up.
cheers
Mark
Mark Bravington
CSIRO Marine Lab
Hobart
Australia
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
> On Thu, Apr 9, 2020 at 12:44 PM Bravington, Mark (Data61, Hobart)
> wrote:
> >
> > The "r-devel snapshot build" 78175 on Windows--- a dot-exe installer---
> > seems to be missing a couple of files in its bin/i386 folder: Rterm.exe and
> > Rgui.exe. Bot
for release soon--- bit
disconcerting to hear it's actually broken! However, I suspect R4.0 [ with
fixed md5sum() ] will be released before our package sees the light of day.
Thanks again
Mark
Mark Bravington
CSIRO Marine Lab
Hobart
Australia
Fro
r younger days?).
In short, I think that added value of NEWS.md is fairly limited but it does
increase the risk of dispersing the NEWS all over the web.
Best,
Mark
Op wo 3 jun. 2015 om 08:32 schreef Kurt Hornik :
> >>>>> Duncan Murdoch writes:
>
> > On 0
WS.Rd?
(perhaps it is already possible, I'm not sure of that). I don't maintain
CRAN, but I know what I would prefer..
Cheers,
Mark
[[alternative HTML version deleted]]
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mai
same way git does.
Since R is free in the GNU sense you can always define your own local
version, see e.g. [2].
> i'm new to R
welcome, and have fun!
best,
Mark
[1] https://www.r-project.org/contributors.html
[2] https://github.com/radfordneal/pqR
Op za 19 sep. 2015 om 04:02 schreef
unctions (following the IEEE standard on double precision). If that's the
case, the result sin(Inf)=NaN seems normal to me and a warning is
unnecessary.
So why the choice to have warning on sin(Inf), but not on 0/0 or exp(Nan)?
Is it just historical or am I missing a reasoning or som
1] is never much more then an arm's length away. So it
all depends on what user you're aiming at when implementing such things. A
(switchable) warning about loss of precision without returning NaN would
probably be a reasonable compromise.
Best,
Mark
[1] https://books.google.nl/books?
In addition to what Charles wrote, you can also use 'local' if you don't
want a function that creates another function.
> f <- local({info <- 10; function(x) x + info})
> f(3)
[1] 13
best,
Mark
Op vr 11 dec. 2015 om 03:27 schreef Charles C. Berry :
> On Thu, 10
At the risk of stating the over-obvious: there's also the option of
creating just a single package containing all functions. None of the
functions that create the interdependencies need to be exported that way.
Btw, his question is probably better at home at the r-package-devel list.
Best,
M
an Dușa :
> Hi Mark,
>
> Uhm... sometimes this is not always possible.
> For example I have a package QCA which produces truth tables (all
> combinations of presence / absence of causal conditions), and it uses the
> venn package to draw a Venn diagram.
> It is debatable if one
o create R-variables from multiple threads running in C. (R's variable
administration is such that the order of (un)making them from compiled code
matters).
I am not very savvy on Rcpp or XPtr objects, but it appears that Dirk
provided answers about that in your SO-question.
Best,
Mark
Op
te0(x,y)
"hello" %+%
" pretty" %+%
" world"
-Mark
Op wo 14 jun. 2017 om 13:53 schreef Andreas Kersting :
> On Wed, 14 Jun 2017 06:12:09 -0500, Duncan Murdoch <
> murdoch.dun...@gmail.com> wrote:
>
> > On 14/06/2017 5:58 AM, Andreas Kersti
I know it doesn't cause construction at parse time, and it was also not
what I said. What I meant was that it makes the syntax at least look a
little as if you have a line-breaking character within string literals.
Op wo 14 jun. 2017 om 14:18 schreef Joris Meys :
> Mark, that's ac
not apply a low-pass filter to each subseries[2].
The subseries are reconstructed to a single series and after that a
low-pass filter is applied (step 3 of the algorithm in section 2.2 of [1])
So what should it be? A literal reference to Cleveland's n_(s), n_(l), and
n_(t) would be really
The way it's phrased now makes it seem that English is not a Natural
language ("Natural language support *but* running in an English locale").
Why not just state: "running in an English locale" and leave it with that?
Better to leave something out than to be unclear (being correct formally
does not
Dear Juan,
I'm not deeply familiar with the DB's you mention but it seems to me that
me that 'memory.limits' does what you want on one OS and you can use shell
commands to limit R's memory usage for *nix-alike systems (see
?memory.limits). Also, Jeroen Ooms wrote a nice article about this in the
J
nix)
Best,
Mark
On Mon, Dec 11, 2017, 4:33 PM Patrick Perry wrote:
> A recent change to r-devel causes an R CMD check warning when a C file
> includes a "#pragma GCC diagnostic ignored" pragma:
>
> https://github.com/wch/r-source/commit/b76c8fd355a0f5b23d42aaf44a879cac0
On Sun, Nov 1, 2020 at 10:39 PM Duncan Murdoch
wrote:
> On 01/11/2020 2:57 p.m., Dirk Eddelbuettel wrote:
> >
> > The closest to a canonical reference for a static vignette is the basic
> blog
> > post by Mark at
> >
> >
> https://www.markvanderloo.eu/yaRb/
'expr'
#2. Construct a call() to that function
#3. Do the call
f <- function( `_PIPE_`) NULL
body( f) <- expr
environment( f) <- parent.frame() # or something... yes these details are
almost certainly wrong
expr2 <- substitute( f( `_PIPE_`)) # or something...
> > On 06/12/2020 8:22 p.m., Bravington, Mark (Data61, Hobart) wrote:
> (and Duncan Murdoch responded, as below)
It still seems to me that placeholders are viable and unambiguous (only as
things in RHS of pipes), and that something like
x |> foo( _PIPE_)
x |> bah( otherarg, _
> [Duncan Murdoch responding to...]
> [... Mark Bravington's proposals for placeholders and anonymous functions]
> > x |> foo( _PIPE_) # placeholder
> > x |> bah( otherarg, _PIPE_)# placeholder
> > x |> { y <- _PIPE_+1; _PIPE_ / y
. Tested on R
4.0.3 and r-devel.
Best,
Mark
ps: a workaround is documented here:
https://www.markvanderloo.eu/yaRb/2020/12/17/how-to-set-library-path-on-a-parallel-r-cluster/
> sessionInfo()
R Under development (unstable) (2020-12-21 r79668)
Platform: x86_64-pc-linux-gnu (64-bit)
Running
Dear Luke,
Thank you, this makes perfect sense.
I find it quite hard to express this issue in a way that is both compact
and understandable.
In any case, below you find a proposal for an update of the documentation.
Thank you again for all your work,
Mark
Index: src/library/parallel/man
.9.1; I tried
copying that gdb.exe into RTOOLS40 but it just exited instantly when I tried to
run it from there.
- NB I have absolutely no idea what is meant by msys2 or pacman or any of
that, I'm just following instructions...
Thanks
Mark
Mark
.
Jeroen's documentation says to do the pacman bit from mingw64, and separately
from mingw32--- whereas Avraham's suggestion is to do it just from msys2. I
actually did both; gdb seems to end up in the same place regardless, but
tomorrow I'll find out if it's *really* worked.
I wrote about this once over here:
http://www.markvanderloo.eu/yaRb/2012/07/08/representation-of-numerical-nas-in-r-and-the-1954-enigma/
-M
Op zo 23 mei 2021 15:33 schreef brodie gaslam via R-devel <
r-devel@r-project.org>:
> I should add, I don't know that you can rely on this
> particular en
abstract characters) are counted, noting that some of the symbols in
an alphabet represented by an encoding may be invisible (or hardly
visible).
Much thanks in advance,
Best, Mark
> sessionInfo()
R version 3.1.2 (2014-10-31)
Platform: x86_64-pc-linux-gnu (64-bit)
locale:
[1] LC_CTYPE
The 'stringi' package claims robust cross-platform performance. It exports
much functionality of the ICU library and will attempt to install it when
not present.
The function 'stri_sort' accepts a collation argument that can be defined
with 'stri_opts_collator'.
On Sun, Nov 23, 2014 at 5:15 PM,
Richie,
The R language definition [1] says (10.3.1):
\U \U{}
(where multibyte locales are supported and not on Windows, otherwise
an error). Unicode character with given hex code – sequences of up to
eight hex digits.
Best,
Mark
[1] http://cran.r-project.org/doc/manuals/r
I agree. You could post a documentation bug and a request here:
https://bugs.r-project.org/bugzilla3/
Cheers, Mark
On Thu, Dec 4, 2014 at 8:37 PM, Richard Cotton wrote:
> Great spot, thanks Mark.
>
> This really ought to appear somewhere in the ?Quotes help page.
>
> Having
In the R installation and administration manual[*] I see at least mentioned
The alpha, beta and RC versions of an upcoming x.y.0 release are
available [...]
so 'beta' seems to be an option unless it is only used informally there.
Mark
[*]
http://cran.r-project.org/doc/manuals/r
Dear Martin,
Does the work on nchar mean that bugs #16090 and #16091 will be resolved
[1,2]?
Thanks,
Mark
[1] https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16090
[2] https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16091
On Sat, Apr 25, 2015 at 11:06 PM, James Cloos wrote
f_rand());
printf("%f\n", runif(0, 1));
return 0;
}
If we compile using -static, then we get the correct result (two values of 0.5):
gcc -static -o test test.c -lRmath -lm
./test
: 0.50
: 0.50
Question: does this code work for other users?
Sincerely, Mark.
När du skic
.
-- Mark
När du skickar e-post till Karolinska Institutet (KI) innebär detta att KI
kommer att behandla dina personuppgifter. Här finns information om hur KI
behandlar personuppgifter<https://ki.se/medarbetare/integritetsskyddspolicy>.
Sending email to Karolinska Institutet (KI) will result
ing
libtirpc-dev:
> sudo apt install libtirpc-dev
compilation proceeded smoothly. I understand that this may be local to my
system.
Sincerely, Mark.
N�r du skickar e-post till Karolinska Institutet (KI) inneb�r detta att KI
kommer att behandla dina personuppgifter. H�r finns information om
101 - 160 of 160 matches
Mail list logo