Displaying 20 results from an estimated 100 matches similar to: "kmeans clustering java"
2016 May 12
0
Single-threaded aspect
Thank you Simon for the detailed reply. That explains much more of what I
was looking for from the R side.
Dirk, I'm sorry if I seem hung up on anything here but I am trying to
understand the details. My reply about XPtr or XPtr on arma/Eigen was to
confirm my understanding was correct, which it appears it was. I was not
aware the RVector/RMatrix objects don't connect to R as I am just
2010 Jul 15
0
impute2mach GenABEL conversion problem
Hi,
I've been trying to use the impute2mach function in the GenABEL library. I
unfortunately cannot make a working example as when I scale down the files I
no longer get an error message.
The error message that I get on the full file is:
Error in checkSlotAssignment(object, name, value) :
assignment of an object of class "NULL" is not valid for slot "data" in an
2013 Mar 29
0
samba does not display all directories
Hello all,
A solaris server named bellow solarisserver share via samba (Samba 3.0.13) with network.
Bellow an extract from the smb.conf file.
[global]
workgroup = WORKGROUP
server string = solarisserver
security = SERVER
password server = passwordserver
username map = /C/netlocal/samba/lib/users.map
log level = 1
log file =
2016 May 12
3
Single-threaded aspect
On 12 May 2016 at 13:11, Mark van der Loo wrote:
| Charles,
|
| 1. Perhaps this question is better directed at the R-help or
| R-pacakge-devel mailinglist.
|
| 2. It basically means that R itself can only evaluate one R expression at
| the time.
|
| The parallel package circumvents this by starting multiple R-sessions and
| dividing workload.
|
| Compiled code called by R (such as C++ code
2015 Jan 19
2
Unable to install R 3.1.2 on Debian:Testing
Le 18/01/2015 15:55, Dirk Eddelbuettel a ?crit :
>
> On 18 January 2015 at 14:14, Dirk Eddelbuettel wrote:
> | Ok. I will set up a new toolchain for testing then. We need this for Rocker
> | all the time---eg I just put something marvelous into littler which I need in
> | Rocker, yet Debian is frozen with no timeline for release. And it is silly
> | for us to keep rebuilding all
2007 Dec 06
3
Warnings
Hi
I get the following warings on my ubuntu (gutsy) machine
> library(matrix)
> data.frame(x=1:5, z=5)[1:5, ]
x z
1 1 5
2 2 5
3 3 5
4 4 5
5 5 5
Warning message:
':::' is deprecated.
'methods' is deprecated.
'seemsS4Object' is deprecated.
Use 'isS4' instead.
See help("Deprecated")
It is quite annoying since I often subset the data.frames. Will
2016 May 12
5
Single-threaded aspect
R Developers,
Could someone help explain what it means that R is single threaded? I am
trying to understand what is actually going on inside R when users want to
parallelize code. For example, using mclapply or foreach (with some
backend) somehow allows users to benefit from multiple CPUs.
Similarly there is the RcppParallel package for RMatrix/RVector objects.
But none of these address the
2015 Jan 19
0
Unable to install R 3.1.2 on Debian:Testing
Hi Mathieu,
thanks for contributing your tips on apt pinning on Debian testing. I have
included similar instructions in the Debian README for the situation where
testing was frozen. This time I thought I would get around to provide proper
binaries for testing quickly enough, but I need to get some other work done,
so I am lagging behind here.
If someone could provide some lines with nice
2016 May 12
0
Single-threaded aspect
Thanks for the replies. Regarding the answer by Dirk, I didn't feel like I
still understood the reasoning why mclapply or foreach cannot handle XPtr
objects. Instead of cluttering the SO question with comments I was getting
the impression that this was a limitation inherited with R objects (which
XPtr is supposed to be a proxy for an R object according to Dirk's
comment). If this is not
2016 May 12
1
Single-threaded aspect
Charles,
1. Perhaps this question is better directed at the R-help or
R-pacakge-devel mailinglist.
2. It basically means that R itself can only evaluate one R expression at
the time.
The parallel package circumvents this by starting multiple R-sessions and
dividing workload.
Compiled code called by R (such as C++ code through RCpp or C-code through
base R's interface) can execute
2020 Apr 01
2
añadir líneas verticales con ggplot
Buenos días, hago un mapa con ggplot:
world<-map_data('world')
windows();ggplot(legend=FALSE) +
...
geom_point(data=Data,aes(x=lon,y=lat,color=Clst),size=1.25) +
scale_color_manual(values=c("grey45","navy","skyblue","gold","green3","darkgreen"))
+
geom_path( data=world, aes(x=long, y=lat,group=group)) +
labs(title =
2015 Mar 02
0
Suggestions to improve the info page of /bin/linux/debian
Hi Mathieu,
thanks for your input. It reminds me how I got involved in the Debian
backports, as I thought the Debian README on CRAN needed an update...
At the moment I do not have the time to reorganize the README, so if you would
like to go ahead and implement your changes into a README.html, I wouldn't
mind. Otherwise I am willing to pick up your suggestions, but it will take me
some
2010 Feb 18
3
R CMD check: OK in LINUX. Crashes in Windows!
Hi,
I have followed the recommended steps for creating a package (rctest). As of
now, my goal is simply to understand how various pieces fit together. The
package includes:
(1) C code with source in sub-directories, compiled to create a static
library.
(a) There is a single C-struct (dns) a simple 'matrix': {int m; int n;
double *d;}
(b) C code to create random matrix of a certain size.
2015 Feb 26
2
Suggestions to improve the info page of /bin/linux/debian
After Johannes set up the CRAN repository for Jessie, I had quite some
trouble figuring out what any user should do to have a running and
up-to-date R in Debian (particularly Testing). Part of the problem is, I
think, the overwhelming documentation on the page "DEBIAN PACKAGES OF R
SOFTWARE" which is provided on CRAN at /bin/linux/debian. Some information
is also lacking in places.
2015 Mar 03
0
Suggestions to improve the info page of /bin/linux/debian
Le 03/03/2015 10:02, Mathieu Basille a ?crit :
> Hi Johannes,
>
> I didn't know what would be the best approach to modify the page?how it was
> generated, is there a central place, etc.?which is why I posted on
> r-sig-debian in the first place. Anyway, although I'm more or less familiar
> with markdown and pandoc, it was easier for me to edit directly README.html
> as
2015 Mar 03
2
Suggestions to improve the info page of /bin/linux/debian
Hi Johannes,
I didn't know what would be the best approach to modify the page?how it was
generated, is there a central place, etc.?which is why I posted on
r-sig-debian in the first place. Anyway, although I'm more or less familiar
with markdown and pandoc, it was easier for me to edit directly README.html
as it was on CRAN. Please find attached a revision with the modifications I
2009 Aug 06
0
K-means clustering with NA
I am running a k-means clustering code in R : mydata_kmeans5 <-
kmeans(mydata, centers=5).. But the problem is that the data is having some
"NA" in it. So R is showing me a message :Error in switch(nmeth, { :
NA/NaN/Inf in foreign function call (arg 1)
In addition: Warning messages:
1: In switch(nmeth, { : NAs introduced by coercion
2: In switch(nmeth, { : NAs introduced by
2023 Feb 28
0
vector a partir de los datos de una tabla
Muy fácil: as.numeric(table(data$Clst)
No salía porque la tabla era de otros datos.
Un saludo,
Manuel
[[alternative HTML version deleted]]
2013 Nov 19
0
como agrego una linea dibujada con abline() en la leyenda de un grafico ?
Hola Javier, tu idea me hubiera solucionado el problema si hubiera
estado usando plot() para hacer el grafico, pero como estoy forzado a
usar xYplot() del a libreria Hmisc, me arroja un error diciendo que aun
no uso plot() ... alguna otra idea si estoy usando Hmisc o lattice ?
gracias,
eric.
On Tue 19 Nov 2013 01:02:50 AM CLST, "Marcuzzi, Javier Rubén" wrote:
> Eric
>
2006 May 06
1
R et Java
Bonjour,
Je developpe une application java et je veux integrer du code R dans mon programme . Le programme de test que j’ai fait est :
import org.omegahat.R.Java.*;
public class REvalSample {
public static void main(String [] args) {
String [] rargs = {"--slave", "--vanilla"};
System.out.println("Sample program to call R engine from