[R] R script on Rstudio server

2014-04-07 Thread T Bal
Hi, I want to install Rstudio server. The reason for that is that I want to run R script on this server. In this R script I am loading (working with) very large data with size 1000 Mb. When I run this R script I get memory error. If I run this script on Rstudio server, will I not have this problem?

[R] GC overhead limit exceeded

2014-03-28 Thread T Bal
Hi, After loading my data in R I get the error: Error in .jcall("com/github/egonw/rrdf/RJenaHelper", "Lcom/hp/hpl/jena/rdf/model/Model;", : java.lang.OutOfMemoryError: GC overhead limit exceeded How can I solve it? [[alternative HTML version deleted]]

Re: [R] Assign numbers in R

2014-03-12 Thread T Bal
r[i]=r[i-1]+1; > } > else { > r[i] = r[i-1]; > } > } > > Although I am sure there are better solutions! > > HTH > daniel > > > Feladó: r-help-boun...@r-project.org [r-help-boun...@r-project.org] ; > meghat

[R] Assign numbers in R

2014-03-12 Thread T Bal
Hi, I have the following numbers: d <- c(8,7,5,5,3,3,2,1,1,1) I want to convert these into the following numbers: r: 1,2,3,3,4,4,5,6,6,6 So if two numbers are different increment it if they are same then assign the same number: r <- NULL for (i in 1:length(d)) { if (d[i] != d[i+1]) { r[i]

[R] Labelling x axis in plot function

2012-12-04 Thread T Bal
Hi, In the plot function I want to label x axis as the numbers between 1 and 12 (so 1, 2, 3, 4, 5, ..., 12). How should I do it? The range of x values are different than this range. Thanks! Kind regards, T. Bal [[alternative HTML version deleted

[R] question about sum of (column) elements in R

2012-12-04 Thread T Bal
would be: 0 12 1 40 2 64 3 111 etc. Thank you. Kind regards, T. Bal [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

[R] question about sign test

2012-05-20 Thread T Bal
) e.g. rbinom? Thank you very much. kind regards, T. Bal [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-g

[R] question about creating data frame

2012-05-15 Thread T Bal
. ... 151 Physics 0 etc. How should I do it? So this data frame will consist from 198 rows. Thank you very much. kind regards, T. Bal [[alternative HTML version deleted]] _

[R] question about creating data frame

2012-05-15 Thread T Bal
ics 0 etc. How should I do it? So this data frame will consist from 198 rows. Thank you very much. kind regards, T. Bal [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://st

[R] please help!

2012-05-08 Thread T Bal
4.2 0 1 2.3 1 1 Please help me, thanks! kind regards, T. Bal [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

[R] please help!

2012-05-08 Thread T Bal
use glm, but how should I put these variables in glm)? Do I need also other functions, other than glm? Please help me. Thanks! kind regards, T. Bal [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch