Last time I looked (admittedly a few years back), on unix-alikes
(which you seem to be using, based on your use of top),
foreach/doParallel used forking. This means each worker gets a copy of
the entire R session, __but__ modern operating systems do not actually
copy on spawn, they only copy on
I am trying to parallelize a task across columns of a data.table using
foreach and doParallel. My data is large relative to my system memory
(about 40%) so I'm avoiding making any copies of the full table. The
function I am parallelizing is pretty simple, taking as input a fixed set
of columns and
I looked into why the coefficients differ in Gabor's example and it's because
the example mistakenly switched the order of x and y. The syntax is
roll::roll_lm(x, y), which is the same as fastLm, but the example accidentally
switched them. After correcting the example, the coefficients are all
On 20/08/16 11:16, David Winsemius wrote:
On Aug 19, 2016, at 6:47 AM, PIKAL Petr wrote:
Thank you , John.
As I wanted to use com as abbreviated value for comments it gave me hard time, especially
when the name was not only com1 but "com1.txt".
Whinges about the
The list of illegal file names on Windows 7 includes "aux", "prn",
"lpt[1-9]", "com[1-9]", and "con",
with or without a 'dot file extension' and in any directory. I think there
used to be be other illegal ones,
like "nul", "pc$mouse" and "clock".
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On
> On Aug 19, 2016, at 6:47 AM, PIKAL Petr wrote:
>
> Thank you , John.
>
> As I wanted to use com as abbreviated value for comments it gave me hard
> time, especially when the name was not only com1 but "com1.txt".
>
Whinges about the behavior of Windows are OT on
Hi group:
I tried multiple times cannot understand the breaks to work for my heatmap.
I am using following way:
pheatmap(chxx,
cluster_cols=FALSE,
annotation_col=annotcols,
annotation_colors=anno_colors,
col=colorRampPalette(c("dark blue", "white", "#ff"))(34),
show_colnames=F)
>
Thank you , John.
As I wanted to use com as abbreviated value for comments it gave me hard time,
especially when the name was not only com1 but "com1.txt".
Best regards
Petr
> -Original Message-
> From: Fox, John [mailto:j...@mcmaster.ca]
> Sent: Friday, August 19, 2016 3:15 PM
> To:
Hi all.
I managed to achieve desired with
for (i in 1:length(radky)) {
fname <- paste("coment",i,".txt", sep="")
file.create(fname)
fileCon <- file(fname, "w")
writeLines(test[radky[i] : (radky+pocet)[i]], fileCon)
close(fileCon)
}
For all on Windows - do not use "com1.txt" for file naming (see
Dear Petr,
This is a Windows OS issue, not peculiar to R. There are some reserved names
that can't be used for files, including COM1 (the first serial port). Other
examples include LPT1 and AUX. Because file names in windows are
case-insensitive "com1.txt" also causes problems.
I hope this
Hi Petr,
I think it does matter, because it seems there is no problem on Mac OS
10.9.5.
Now, don't ask me why, I have no idea!
Ivan
--
Ivan Calandra, PhD
Scientific Mediator
University of Reims Champagne-Ardenne
GEGENAA - EA 3795
CREA - 2 esplanade Roland Garros
51100 Reims, France
+33(0)3
Hi,
I think you are looking for this:
y <- factor(x, levels=c("M","F","T"))
If you use the function levels(), you change the labels, but not the
order, so that the first level (previously "F") will now be labeled "M",
the second (previously "M") will now be labeled "F" ,and so on.
This
Hi
Can anybody explain why one character makes such a difference?
> file.create("com1.txt")
[1] FALSE
Warning message:
In file.create("com1.txt") :
cannot create file 'com1.txt', reason 'No such file or directory'
> file.create("con1.txt")
[1] TRUE
>
It took me quite effort to find out that
Hi all,
I'm just a beginner in R. I have a pretty basic doubt. This is the actual
quote I wrote
> x<-factor(c("M","F","M","T","M","T"))
> levels(x)=c("M","F","T")
> x
[1] F M F T F T
Levels: M F T
> table(x)
x
M F T
1 3 2
Expectation: I just wanted to change my baselevel from F to M. with the
Dear R-help-community,
I hope, that�s the appropiate channel to post a quastion?
For some days I have been struggling with a problem concerning the
�survSplit�-function of the package �survival�. Searching the internet I
have found a pretty good -German- description of Daniel Wollschl�ger
Hi,
I have a script that starts with some code to open a connection to an Oracle
database, however the code is crashing R/RStudio as soon as it runs. The code
does run successfully on another machine.
The script opens by loading the required RJDBC package:
library("RJDBC", lib.loc="C:/Program
Excelente. Muchas gracias!
El 18 de agosto de 2016, 20:03, Carlos Ortega
escribió:
> Hola,
>
> Puedes hacerlo en dos pasos...
>
> #---
> DT[ , SumValores := sum(Valores), by = "AñoMes"]
> DT[ , Porcen := Valores/SumValores]
> > head(DT)
>
You should try these:
http://www.renjin.org
https://github.com/allr/purdue-fastr
which are two R interpreters in Java. But I am not sure that shiny can
work on these.
Sincerely
Marc
Le 16/08/2016 à 15:11, Venky a écrit :
Hi,
How to run Shiny (Server,UI) into JAVA?
I am running R Shiny
Dear all
I have charater vector which is result of readLines reading of a file.
Something like
dput(test[1:15])
c("Date", "42523", "Comment received", "dfvadfvadfbvadfbv fvbadfvdfv
cfczfbffbvfdv", "Date", "42523", "Comment received", "aa
bbb
19 matches
Mail list logo