assignments in real world code. It has about 26000
code snippets, from github, Stackoverflow questions, and R package
examples. It might be useful if you are researching real world usage
patterns in R. I didn't know of any existing resources:
https://github.com/hughjonesd/codesamples
Ha
including screen
sharing with various video call software (Google, Zoom, etc...) and had no
issues at all. It works even better than my previous (very long) experience
with X11.
Best,
David
On Tue, Oct 31, 2023 at 12:13 AM Iñaki Ucar wrote:
> El lun., 30 oct. 2023 12:26, Roger Bivand escribió:
histogram in the function logHist,
in my package DistributionUtils, which may be of interest if anyone
seriously wishes to add functionality to the base hist function.
David Scott
On 7/08/2023 8:54 pm, Martin Maechler wrote:
> >>>>> Ott Toomet
> >>>>> on S
I guess my memory was off slightly. Densities are only plotted with freq=TRUE.
Still there the ever present conundrum that 0 counts cannot be sensibly
represented.
Why not:
hist( log(x), …) #? In situations where it might make sense.
Sent from my iPhone
> On Aug 6, 2023, at 9:01 AM, Da
hist() is designed so that the total area sums to 1. You should build you
desired behavior using a barchart.
—
David
Sent from my iPhone
> On Aug 5, 2023, at 11:50 PM, Ott Toomet wrote:
>
> Sorry if this topic has been discussed earlier.
>
> Currently, hist(..., log=
.logical(now), ...) :
unable to load shared object 'C:/Users/David
Sterratt/AppData/Local/R/win-library/4.3/RGtk2/libs/x
64/RGtk2.dll':
LoadLibrary failure: The specified module could not be found.
WinDbg output reveals errors loading "NETIO.SYS" and "WINSPOOL
s the value 0. I suggested that many interpretations were possible and that a
warning was given for NA generation. I stand with Roland in thinking a warning
is appropriate.
David Winsemius
>
> Duncan Murdoch
>
> __
> R-devel@r-project.
(NA, 2)
NA2
> glue(NA, 2, .sep = " ")
NA 2
> glue(NA, 2, .na = NULL)
NA
David Scott
On 7/12/2021 1:20 pm, Gabriel Becker wrote:
> As I recall, there was a large discussion related to that which
> resulted in
> the recycle0 argument being added (but defaulting to FALSE)
7; argument is needed for my application because the initial
single-threaded unrolling (to generate partial computations which the parallel
workers finish) may yield some completed computations as well.
Would there be interest in discussing modifications to parall
help pages. I suggest:
?Quotes
?points # has examples of changing fonts used for display on console.
Sorry if I've misunderstood. I'm not on a Windows device, so posting the C++
program won't be helpful, but maybe it would for other prospective respondents.
--
David.
On
It would almost trivial to make a wrapper tha first captures attributes, runs
median, and then returns the Re-attribute-ed value.
David.
Sent from my iPhone
> On May 5, 2021, at 8:29 AM, Gustavo Zapata Wainberg
> wrote:
>
> Hi, thanks Dr. Mächler for your prompt response!
I would recommend option 2. I have done that when changes to xtable broke some
packages. xtable has a number of dependencies but not on the scale of survival.
Just 4 packages out of 868 seems minimal to me.
David Scott
On 17/02/2021 3:39 am, Therneau, Terry M., Ph.D. via R-devel wrote:
I am
, whose mechanism or rules seem opaque. Was "exnr"
supposed to be passed to `eval_tidy`?
--
David.
sapply(integer(n), function(i) eval_tidy(expr), simplify = simplify)
}
doRep2 <- function(a, b) sapply(a, replicate2, b)
doRep2(3, 2)
#> [,1]
#> [1,]2
#> [2,]
x (of submatrices) but not the submatrices, themselves.
Or vice versa.
You could construct a matrix of lists and have the lists hold the
sub-matrices.
--
David.
On a side note, the help file for base::aperm is entitled "Array Transposition".
So, this topic is not quite as simple
native routine is implemented in a
minimalistic example for teaching and demonstration purposes. That will
help people a lot in my opinion.
Best regards,
David
--
Jitao David Zhang
http://jdzhang.me/
m...@jdzhang.me
Schützengasse 20
4125 Riehen, Switzerland
[[alternative HTML version
I will stick my oar in here as a user to say that I find the \(x) syntax a bit
line-noise-ish.
David
> On 8 Dec 2020, at 00:05, Abby Spurdle wrote:
>
> Sorry, I should replace "cryptic-ness" from my last post, with
> "unnecessary cryptic-ness".
> Somet
On 9/11/20 6:03 AM, Gábor Csárdi wrote:
E.g. in https://cran.r-project.org/bin/macosx/contrib/4.0/PACKAGES there is
Package: stringi
Version: 1.5.3
but there is no such binary at
https://cran.r-project.org/bin/macosx/contrib/4.0/
Using my browser I found:
https://cran.r-project.org/bin/ma
Dear Davis and Dirk,
Thank you very much for the suggestions, which are very valuable and
helpful.
I will add references to prior examples, document my project with the clear
step-by-step-style document of Davis's project, and come back again to the
mailing list.
Best wishes,
David
On Fri
stability is apparently an issue, but I think we may find a
solution there.
Anyway, thanks a lot for sharing!
Best wishes,
David
On Fri, Apr 17, 2020 at 3:12 PM Davis Vaughan wrote:
> Nice David! I also wrote up something similar a little while back
> https://github.com/DavisVaughan/c
dd the project to the manual so that other
people can understand the process better with the demo.
In case of questions, let me know.
Best wishes,
David
--
*Dr. Jitao David Zhang | 张继涛 | A Computational Biologist in Drug Discovery*
*Building 93/3.38, **Tel +41 61 688 62 51*
*Roche Pharmace
t;)
x <- scan(file="temp.txt")
#Read 1 item
x==1
#[1] TRUE
And if you wanted more precision with the value before it got rectified
by output/input you could use the control parameter:
dput(x, control="digits17")
#0.99956
HTH;
David.
Hope this helps,
Hi,
I don't know if this is the right place to comment about this, but I am
curious why there are social media trackers on www.r-project.org. I am
guessing this is related to the News Via Twitter portion of the website,
but I find it odd that going to www.r-project.org allows Twitter to collect
da
I +1 this idea, without judging the implementation details. The pipe
operator has proven vastly popular. Adding it would be
relatively easy (I think). Having it as part of the core would be a strong
guarantee of the future stability of this syntax.
On Sat, 5 Oct 2019 at 15:34, Ant F wrote:
> D
; 9.99" with an extraneous whitespace.
My expected output for the second command is "9.99".
I have not found anything explaining the whitespace in the help files.
Therefore, I am writing to report this behavior as a possible bug.
Best wishes,
David
__
e font size in svg?
I'm unable to reproduce. (I get very large fonts in all three viewing
methods: Rstudio plot panel, ImageViewer and GIMP)
Ubuntu 18.04
R 3.15.2
Gimp 2.10.12
Looking at ?svg makes me think you should be looking at the Cairo Fonts
section of ?X11.
Best;
David.
190 118 149 313 NA NA 299 99 19 194 ...
$ Wind : num 7.4 8 12.6 11.5 14.3 14.9 8.6 13.8 20.1 8.6 ...
$ Temp : int 67 72 74 62 56 66 65 59 61 69 ...
$ Month : int 5 5 5 5 5 5 5 5 5 5 ...
$ Day : int 1 2 3 4 5 6 7 8 9 10 ...
Rega
Hi Achim
Quick Q: why do some palettes have a hyphen in the name and others not?
David
On Tue, 2 Apr 2019 at 00:38, Achim Zeileis wrote:
> Hi everyone,
>
> I wanted to draw your attention to a new post on the
> developer.R-project.org blog:
>
> https://developer.R-project.or
ed overrides broom's methods.
David
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
3.5.1 and 3.5.2, and I can't see anything
related in the upcoming changes or in Bugzilla, so I thought I'd report
it here. I don't know what the cleanest fix will be, but it seems that
either the function or the documentation should be changed so that they
align.
Pleas
On 2/20/19 2:55 PM, Rampal Etienne wrote:
Dear Tomas,
Where do I find these files? Do they contain the code for the sum function?
Yes.
https://svn.r-project.org/R/trunk/
David
What do you mean exactly with your point on long doubles? Where can I find
documentation on this?
Cheers
Sure, you can find it here:
https://github.com/dlindelof/run
On Fri, Feb 8, 2019 at 9:41 AM Rainer M Krug wrote:
> Sounds interesting. Do you have it on GitHub or similar?
>
> Rainer
>
> On 8 Feb 2019, at 09:09, David Lindelof wrote:
>
> Yesterday I wrote and submitted t
`, lookup a function
`main` in that package's namespace, and call it.
It's an early draft but I'd appreciate any feedback (once its submission is
accepted, of course).
Thanks all for your help and advice,
David
On Sat, Feb 2, 2019 at 3:37 PM Duncan Murdoch
wrote:
> On 02/02/
vel, R-patched). So probably Windows specific.
>
> -pd
>
> > On 7 Feb 2019, at 11:17 , David Byrne wrote:
> >
> > Bug
> > Using read.table(file, encoding="UTF-8") to import a UTF-8 encoded
> > file containing the infinity symbol (' ∞ ') results
Bug
Using read.table(file, encoding="UTF-8") to import a UTF-8 encoded
file containing the infinity symbol (' ∞ ') results in the infinity
symbol imported as the number 8. Other Unicode characters seem
unaffected, example, Zhe: ж
Expected Behavior:
The imported data.frame should represent the infi
#x27;m wrong.
>>
>> [[alternative HTML version deleted]]
>>
>> __
>> R-devel@r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>
> __
> R-devel@r-p
cies? Would it make sense to submit this as a desirable feature?
Cheers,
David
On Thu, Jan 31, 2019 at 4:38 PM Barry Rowlingson <
b.rowling...@lancaster.ac.uk> wrote:
>
>
> On Thu, Jan 31, 2019 at 3:14 PM David Lindelof wrote:
>
>>
>> In summary, I'm convinc
k> wrote:
>
>
> On Thu, Jan 31, 2019 at 3:14 PM David Lindelof wrote:
>
>>
>> In summary, I'm convinced R would benefit from something similar to Java's
>> `Main-Class` header or Python's `__main__()` function. A new R CMD command
>> wou
ark (and other tech stacks) developers and make it easier
to develop R applications for those platforms.
A candid comment from Dirk suggested that I should implement this myself,
which I would be happy to do, provided this is the normal procedure. Or is
there a more formal process I should foll
t. Just
executing executing 'normalizePath("C:/Programme")' however also yields
the expected result,
Cheers
David
--
M.Sc. David Korfkamp
OFFIS e.V. - Institut f�r Informatik
FuE Bereich Gesundheit | R&D Division Health
Escherweg 2, 26121 Oldenburg - Germany
Pho
oned
out, but is this something that has ever been considered, or that is on R’s
roadmap?
Thanks for reading so far,
David Lindelöf, Ph.D.
+41 (0)79 415 66 41 or skype:david.lindelof
http://computersandbuildings.com
Follow me on Twitter:
http://twitter.com/dli
I would argue examples should encourage good practice. Beginners ought to
learn to keep data in data frames and not to overuse attach(). Experts can
do otherwise at their own risk, but they have less need of explicit
examples.
On Fri, 14 Dec 2018 at 14:51, S Ellison wrote:
> FWIW, before all the
Hi dear list,
Here a little memory leak fix proposal.
Kind regards.
Thanks.
Index: src/extra/tre/regexec.c
===
--- src/extra/tre/regexec.c (revision 75507)
+++ src/extra/tre/regexec.c (working copy)
@@ -163,9 +163,12 @@
{
const
formatC(0.0001, digits = 3, format = "f", zero.print="< 0.01")
Error in strrep(" ", nc - i1) : invalid 'times' value
The problem, if it is one, is in .format.zeros:
.format.zeros("0.000", "xx")
Error in strrep(
ample,
bootstrap p values are garbage.
David
On Wed, 19 Sep 2018 at 21:20, Duncan Murdoch
wrote:
> On 19/09/2018 3:52 PM, Philip B. Stark wrote:
> > Hi Duncan--
> >
> >
>
> That is a mathematically true statement, but I suspect it is not very
> relevant. Pseudo-random
On Wed, 19 Sep 2018 at 13:43, Duncan Murdoch
wrote:
>
> I think the analyses are correct, but I doubt if a change to the default
> is likely to be accepted as it would make it more difficult to reproduce
> older results.
I'm a bit alarmed by the logic here. Unbiased sampling seems basic for a
s
ike a bug, but not part of
any R package.
Thanks.
-David
[[alternative HTML version deleted]]
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Yup, I worked it out in time... for future reference, as.matrix calls
`format` on logicals, converting them to the form seen.
On Sat, 4 Aug 2018 at 17:53, Berry, Charles wrote:
>
>
> > On Aug 4, 2018, at 6:55 AM, David Hugh-Jones
> wrote:
> >
> > I'm not sure wh
s space isn't happening purely because of coercion:
c("blah", TRUE, FALSE)
[1] "blah" "TRUE" "FALSE"
No space.
Obviously:
as.logical(tmp[idx])
[1]NA FALSE
which is why I think this might be a bug.
David
[[alternative HTML version delete
Thanks for the tip. That could be a huge timesaver. But it lists only a
single package for versions 0.90.1-2 ... how does that work?
David
On Mon, 30 Jul 2018 at 12:27, Dirk Eddelbuettel wrote:
>
> On 30 July 2018 at 05:35, David Hugh-Jones wrote:
> | Hi guys,
> |
> | Perhaps s
mple, if m is numeric, the argument will
be a vector (or matrix or array) of zeroes. The type and length of the
value returned by \code{FUN} is used to determine the type of the result.
And at the end of "Details":
\code{FUN} is always called at least once, see below.
David
On Mon, 30
(presumably NULL) for an empty argument; but why
should apply call fun?
Cheers
David
On Mon, 30 Jul 2018 at 08:41, Martin Maechler
wrote:
> >>>>> David Hugh-Jones
> >>>>> on Mon, 30 Jul 2018 05:33:19 +0100 writes:
>
> > Forgive me if this has been as
eling brave can download the Docker image
creation scripts from github.com/hughjonesd/rcheology .
Cheers,
David
--
Sent from Gmail Mobile
[[alternative HTML version deleted]]
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Called...
## [1] FALSE FALSE FALSE FALSE FALSE
Similarly for apply(m, 2,...) if m has no columns.
Is there a reason for this? Could it be documented?
David
--
Sent from Gmail Mobile
[[alternative HTML version deleted]]
__
R-devel@r-project
64-bit)
>
>
>
> --
> Statistics & Software Consulting
> GKX Group, GKX Associates Inc.
> tel: 1-877-GKX-GROUP
> email: ggrothendieck at gmail.com
>
> ______
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/
3e290f17fd7914f
> Randy
>
> [[alternative HTML version deleted]]
>
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
David Winsemius
Alameda, CA, USA
'Any technology distinguishable from magic is insufficiently advanced.
> On Apr 16, 2018, at 3:20 PM, David Winsemius wrote:
>
>>
>> On Apr 16, 2018, at 2:58 PM, Therneau, Terry M., Ph.D. via R-devel
>> wrote:
>>
>> A user asked me about this and I can't figure it out.
>>
>> tmt% R
>> R Unde
uot; "DE" "FL" "GA" "HI" "ID" "IL"
"IN" "IA" "KS" "KY" "LA" "ME" "MD" "MA" ...
> data(stack.loss)
Warning message:
In data(stack.loss) : data set ‘stack
to see if T and F were still TRUE and FALSE at the time.
It's possible that they were not in your session. Only TRUE and FALSE are
reserved words.)
>
> Thank you.
>
> Jim
>
>
> [[alternative HTML version deleted]]
All the R mailing lists are plain text.
t;.
But I think the behaviour I expected is more intuitive. The natural use
case is to
limit line length, and if so, that should apply globally not just between
elements.
On 16 March 2018 at 16:19, Serguei Sokol wrote:
> Le 16/03/2018 à 17:10, David Hugh-Jones a écrit :
>
>> Hi
on R 3.4.3, but I don't see mentions of it fixed in 3.4.4 or
r-devel NEWS.
Cheers,
David
[[alternative HTML version deleted]]
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
" FFLAGS=-O0 ./configure --with-recommended-packages=no \
--with-libpng=no --with-libjpeg=no \
--with-tcl-config=/usr/lib/tcl8.4/tclConfig.sh \
--with-tk-config=/usr/lib/tk8.4/tkConfig.sh --with-tcl-tk=yes
make -j4
Cheers,
David
[[alt
issue. Indeed, this looks like the problem:
https://github.com/rstudio/rstudio/blob/master/src/cpp/r/R/Tools.R
There, callAs is defined as running a function with error handlers which
use `cat` to reprint warnings.
Thanks!
David
--
Sent from Gmail Mobile
KAGES'
In other words, lots of warnings, but none are caught.
It works if you use the fully qualified version in utils:
tryCatch(utils::install.packages("clipr", repos = "bullshit"), warning =
function (w) cat("got a warning"))
got
If by "striking" you
mean hitting your head and saying "Oh course, I should have thought of that"
then we would be in agreement.
--
David.
>
> Any insight on this issue is appreciated.
>
> Best regards,
> --
> Eduardo García Portugués
> Ass
dim = c(5)) # reset
add = address(data)
for(x in 1:5)
{
data[x] <- as.integer(0)
}
if (add == address(data))
{
print("Address did not change")
} else {
print("Address changed")
}
# changes in both situations.
ight mean,
and Duncan I'll also reach out to you directly off-list.
Cheers,
# David
-Original Message-
From: R-devel [mailto:r-devel-boun...@r-project.org] On Behalf Of Joris Meys
Sent: Thursday, September 28, 2017 08:28
To: r-devel@r-project.org
Subject: [Rd] Duncan's reti
1 = c("a", "b,c", "b", "The \"Washington, DC\""),
> ##' x2 = rnorm(4), stringsAsFactors = FALSE)
> ##' x1
> ##' fn <- tempfile(pattern = "testcsv", fileext = ".csv")
> ##' writeCSV(x1, file = f
lization support of messages may be available,
but currently running in an English locale."
That would have the desirable side-effect of alerting new users to the
effective search strategy to use.
--
David.
> -M
>
> Op vr 1 sep. 2017 om 11:00 schreef Peter Dalgaard :
>
>&g
)} )
Or:
result <- sapply( seq.int( dim(A)[3] ) , function(i) { f1( A[,,i], x[,i] , b[i]
)} )
(I doubt it will be any faster, but if 'i' is large, parallelism might help.
The inner function appears to be fairly efficient.)
--
David Winsemius
Alameda, CA, USA
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
David Winsemius
Alameda, CA, USA
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
lty"), lwd = par("lwd"),
axes = TRUE, frame.plot = axes, ann = par("ann"), cex.lab =
par("cex.lab"),
col.lab = par("col.lab"), font.lab = par("font.lab"),
cex.axis = par("cex.axis"), col.axis = par("c
ribution to the R community, I don't
approve of software which adds code to your document without informing you.
David Scott
--
_____
David Scott Department of Statistics
The University of Auckland, PB 92019
f instead the function to modify might not be
`grDevices:::initPSandPDFfonts`
--
David.
>
> --
> Paul E. Johnson http://pj.freefaculty.org
> Director, Center for Research Methods and Data Analysis http://crmda.ku.edu
>
> I only use this account for email list membersh
eback`
> I'm wondering if this delivers what you expect:
.traceback()[1]
> Thanks,
>
> Henrik
>
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
David Winsemius
Alameda
hile with only relative minor and mostly
expected difficulties relating to packages that have external dependencies.
>
> Mick Jordan
>
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
re set to en_US.UTF-8
>
> In Java,FWIW, I get the Mac answer if I use String.compareTo and the Linux
> answer if I use Collator.compareTo, but the result is consistent on Mac and
> Linux.
>
> Mick Jordan
>
> __
> R-devel@r-p
nfo()
>> R version 3.2.3 (2015-12-10)
>> Platform: x86_64-apple-darwin13.4.0 (64-bit)
>> Running under: OS X 10.11.2 (El Capitan)
>
>
>
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
David Winsemius
Alameda, CA, USA
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
does nothing to the
display. But it does take effect when converting to POSIXct:
> as.POSIXct(tl)
[1] "2001-04-05 12:00:00 MDT"
I think that was expected, knowing that POSIXlt is specifically local
time and if the tzone says Mountain time, then report in Mountain time. But
then what us
The documentation for the POSIXlt class states '"POSIXlt" objects will
often have an attribute "tzone", a character vector of length 3 giving the
time zone name from the TZ environment variable and the names of the base
time zone and the alternate (daylight-saving) time zone. Sometimes this may
jus
into BLAS endpoints, so you won't
see benefits in all cases.
# David Smith
--
David M Smith
R Community Lead, Revolution Analytics (a Microsoft company)
Tel: +1 (312) 9205766 (Chicago IL, USA)
Twitter: @revodavid | Blog: http://blog.revolutionanalytics.com
We are hiring engineers for R
starts Finder.app or you could try to restart the Finder
by option (=alt) + rightclicking the Finder icon in the Dock and selecting
Relaunch.
--
David.
>
> Best regards,
> Christian
>
>
> On 09/26/15 23:01, Dirk Eddelbuettel wrote:
>>
>> On 26 September 2015
We were also able to reproduce the issue on Windows Server 2012. If there's
anything we can do to help please let me know; Elliot Waingold (CC'd here) can
provide access to the VM we used for testing if that's of any help.
# David Smith
--
David M Smith
R Community Lead, Revol
ed to solve the problem when
this was posed as a question on StackOverflow, but Dayne was not happy with
that solution for other reasons that he is not describing.
--
David.
> In R-3.1.3 we got
> rapply(list(quote(1+myNumber)), evalq, envir=list2env(list(myNumber=17)))
> #[1] 18
&
There is something I'm really missing here. The function show is a
standardGeneric function, so the correct way to write it as method like
this:
setMethod("show", "Person", function(object) {
for an object of class "Person" for example.
Dave
On Tue, Jun 30, 2015 at 10:11 AM, wrote:
> Same thi
Wood has also been in touch,
and plans to put it into mgcv
David Fletcher
Original post:
I recently proposed a simple modification to Wedderburn's 1974 estimate
of overdispersion for count and binomial data, which is used in glm for
the quasipoisson and quasibinomial families (se
parse data.
I am happy to give more details if needed.
David Fletcher
Department of Mathematics and Statistics
University of Otago
Dunedin
New Zealand
D.J. Fletcher (2012) Estimating overdispersion when fitting a
generalized linear model to sparse data. Biometrika 99:230–237
(http://biomet.oxf
On Jun 13, 2015, at 10:59 PM, Berend Hasselman wrote:
>
>> On 14-06-2015, at 06:47, David Winsemius wrote:
>>
>> Using the Mavericks/Yosemite version of R 3.2.0, I see this:
>>
>>> utils::help.search("linear models")
>> Error in help(db[i,
call is the
same in both versions. I do not see where `help.search` calls `help`.
Tracing help is unrevealing. The first call to `help` throws the error and the
call looks exactly like the calls in R 3.1.2
--
David Winsemius
Alameda, CA, USA
___
y published to the list? If so - big apology.
>
Yes they were, to r-devel. Just not the r-help mailing list Archive I looked
in.
Sorry for my noise, too.
--
David.
> Regards,
> Ivan
>
> On Fri, May 29, 2015 at 12:43 AM David Winsemius
> wrote:
>
> On May
ator might have
simply discarded it without even looking at it. I do not see any posting from
your address in the Archives for May or April.
> [[alternative HTML version deleted]]
>
> __
> R-devel@r-project.org mailing list
> http
??I installed Microsoft MPI.
Then installed the foreach and Rmpi packages.
Then built doMPI from source.
mpi.remote.exec works.
foreach hangs with the main process and all worker processes idle.
I launch my script with mpiexec:
"C:\Program Files\Microsoft MPI\Bin\mpiexec" -n 3 "C:\Program
All,
So that suggests that .GlobalEnv[["X"]] is more efficient than get("X",
pos=1L). What about .GlobalEnv[["X"]] <- value, compared to assign("X",
value)?
Dave
On Wed, Dec 3, 2014 at 3:30 PM, Peter Haverty
wrote:
> Thanks Winston! I'm amazed that "[[" beats calling the .Internal
> directly
Fascinating! I tried the comparisons with all.equal(), expecting a
description of the difference, but TRUE was returned in both cases.
Dave
On Wed, Oct 29, 2014 at 3:26 PM, Winston Chang
wrote:
> I ran into this and found the result very surprising:
>
> identical( quote({ a }), quote({ a }) )
Joris,
Basically, the I() function, as it is used in a regression model, allows
the user to perform arithmetic operations on a variable that would
otherwise be interpreted by the formula. It is not trapped as a special
function as Error() is in aov().
There may be other applications where the c
er R 3.1.1
>>
>>> parallel::detectCores(TRUE)
>> Error in system(cmd, TRUE) : error in running command
>
> I'm Using R 3.1.1 on Windows 7 and it works.
>
> > parallel::detectCores(TRUE)
> [1] 4
> > sessionInfo()
> R version 3.1.1 (2014-07-10)
Dominic,
Actually it makes perfect sense. When R prints vectors of length less
than 9, it does not ever need to print 2 digits for the index. For lengths
between 10 and 99, it may need to print an index with 2 digits, therefore,
it prints the first index and all single digit indexes with a leadin
g that "-" has a higher
precedence than '%in%'.
> -(els%in%set)
[1] -1 -1
>
> - is.element(els,set)
[1] -1 -1
--
David.
> So following your advice doesn't really help me leave my precedence
> problems behind.
>
> H.
>
>> Bill Dunlap
&
ecify the packages which version numbers
were used in their publications. The authors of the packages would get
recognition and the dependencies would be recorded.
--
David.
>
>
>> What I'm trying to figure out is why the standard "install the following
>> list of packa
Apologies, r-devel -- I meant to send that message to r-help as I've
done for the past five years. I'll resend it there now. Sorry about
the duplication.
# David Smith
--
David M Smith
VP of Marketing, Revolution Analytics http://blog.revolutionanalytics.com
Tel: +1 (650) 646-9523 (
an RSS reader, or by following me on Twitter
(I'm @revodavid).
Cheers,
# David
--
David M Smith
VP of Marketing, Revolution Analytics http://blog.revolutionanalytics.com
Tel: +1 (650) 646-9523 (Seattle WA, USA)
Twitter: @revodavid
__
R-devel@r
1 - 100 of 279 matches
Mail list logo