Re: [R] Why does a 2 GB RData file exceed my 16GB memory limit when reading it in?

2020-09-02 Thread Leandro Marino
David, If the ".Rdata" contains more than one object you could (and maybe should use) the SOAR package (from Venables). This package helps you to split the objects over multiple RData files. It's useful when you have numerous medium-large objects in the workspace but doesn't use then at the same

Re: [R] Microsoft R Server

2016-04-14 Thread Leandro Marino
John, as I know Microsoft has owned the Revolution Analytics and is continuing the development of the Revolurion R with a new name Microsoft R. Note that Microsoft R has an open source stable version. I'm not quite sure which modifications they are doing on it. I suppose that this modified

[R] Show all elements

2015-03-09 Thread Leandro Marino
Hi, Look to the following code: set.seed(1) dados = data.frame(valor=rnorm(100),var=sample(LETTERS[c(1,2,3,5)],100,replace=T),peso=rpois(100,2)) dados[1:10,] dados$var - factor(dados$var,levels=LETTERS[1:5]) table(dados$var) A B C D E 31 31 19 0 19 When I try to use summarize, Hmisc

[R] Suggestion in justify in write.fwf {gdata}

2015-03-04 Thread Leandro Marino
Hi, Sometimes, I need to do some hard work when exporting files using gdata package. It will be very useful if the justify parameter of write.fwf can receive vectors. In some jobs I need to left and right justify in different columns of the same file. Nowadays, I do a lot ow this working in

[R] Survey

2014-04-02 Thread Leandro Marino
Dear R-Users, I was using survey for the past years and now I am experiencing some problems with scripts that was working in the past. We are working with big data bases so I can't put all variables that I will use in the svydesign. Script working: data(api)

[R] RMySQL problems in ubuntu 12.04.2

2013-06-29 Thread Leandro Marino
) : installation of package ‘RMySQL’ had non-zero exit status http://www.showmetech.com.br *LEANDRO MARINO* | Showmetech Estatístico | Fotógrafo Mobile: 55 21 9845-7707 Email: cont...@leandromarino.com.br Profiles SMT: facebook http://www.facebook.com/showmetech | twitterhttp://www.twitter.com

Re: [R] RMySQL problems in ubuntu 12.04.2

2013-06-29 Thread Leandro Marino
*LEANDRO MARINO* | Showmetech Estatístico | Fotógrafo Mobile: 55 21 9845-7707 Email: cont...@leandromarino.com.br Profiles SMT: facebook http://www.facebook.com/showmetech | twitterhttp://www.twitter.com/showmetech | Google+ https://plus.google.com/115440786884851522659 http

Re: [R] Why can't R understand if(num!=NA)?

2013-05-03 Thread Leandro Marino
You can use only if(!is.na(num)) [[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-guide.html and provide

Re: [R] Windows RT or Windows 8

2013-04-13 Thread Leandro Marino
Dear Levke, R works perfect with windows 8. I didn't update to the 3.0 version but I guess that will work too. Windows Rt differ from Windows 8 in a lot of things really don't know if it will work. Kindly, Leandro http://www.showmetech.com.br *LEANDRO MARINO* | Showmetech Estatístico

Re: [R] R and Windows 8

2013-01-16 Thread Leandro Marino
I'm using R 64 in Win8 64 without problems. Only the StatET plugin for eclipse is not working. 2013/1/16 Prof Brian Ripley rip...@stats.ox.ac.uk On 16/01/2013 16:06, Claire Oswald wrote: Hello: I'd like to know if R will run under Windows 8? We have students running it under Windows 8,

Re: [R] Editor to program with CRAN R

2012-05-05 Thread Leandro Marino
I think that if you're not familiar with emacs or vim I suggest you to use RStudio. If you're a programmer that knows how to use eclipse I think eclipse with statet it will be the best solution. Another option that you have is the notepad + + with NppToR plugin Best, Att, Leandro Marino

Re: [R] Order a data frame based on the order of another data frame

2012-03-05 Thread Leandro Marino
good to check if all elements from rownames(snp.matrix$fam) are in rownames(data_one). setdiff( rownames(snp.matrix$fam),rownames(data_one)) setdiff(rownames(data_one),rownames(snp.matrix$fam)) * * * * * * * * Atenciosamente, Leandro Marino http://www.leandromarino.com.br (Fotógrafo) http

Re: [R] Tinn-R

2011-10-07 Thread Leandro Marino
install a new release of R. ** In the Option Application R you have an option to use i384 or x64. I didn't understood the problem of the changes in the R path. *Atenciosamente, Leandro Marino http://www.leandromarino.com.br (Fotógrafo) http://est.leandromarino.com.br/Blog (Estatístico) Cel

Re: [R] Tinn-R

2011-10-05 Thread Leandro Marino
only to open tinn-r and inside it open the R or the Rterm (i prefer this one because consumes less memory). Regards, Leandro *Atenciosamente, Leandro Marino http://www.leandromarino.com.br (Fotógrafo) http://est.leandromarino.com.br/Blog (Estatístico) Cel.: + 55 21 9845-7707 Cel.: + 55 21 8777

Re: [R] How do I get a weighted frequency table?

2011-08-28 Thread Leandro Marino
*Luca, * you may use survey package. You have to declare the design with design function and than you can you svytotal, svyby, svymean functions to do your tabulations. Regards, Leandro Atenciosamente, Leandro Marino http://www.leandromarino.com.br (Fotógrafo) http://est.leandromarino.com.br

[R] Using Ubuntu as a Server

2010-07-10 Thread Leandro Marino
*Hi, I want to know how can I configure R in a Ubuntu to be a server. I am planning to use R in a Windows machine with Tinn-R, but I want R running at an Ubuntu Lucid machine. How can i do this? *Atenciosamente, Leandro Marino http://est.leandromarino.com.br/Blog (Estatístico) Cel.: + 55 21

Re: [R] Using Ubuntu as a Server

2010-07-10 Thread Leandro Marino
What I was trying to say is that TINNR has a possibility to connect to R on a server. I want to know if its possible to have the r in a server with ubuntu and use it from the TINNR software. Sent from my mobile. Att, Leandro Marino http://www.leandromarino.com.br (Fotógrafo) http

[R] RES: R help for read.table()

2010-01-20 Thread Leandro Marino
Hi, You didnt put the parameter sep=' ' in the read.table. If you try to see str(file), i think you are going to see only one column. read.table(data.txt,header=FALSE,sep=' ') Atenciosamente, Leandro Lins Marino Centro de Avaliação Fundação CESGRANRIO Rua Santa Alexandrina, 1011 - 2º andar Rio

[R] ggplot2 = bar size

2010-01-04 Thread Leandro Marino
want to know how can i change the size of the bar. I want to draw it thinner than it appears into the R Graphics Console. Another doubt is how can I use another format into the y label, called in this graphic 'Y LABEL' Regards, Leandro Marino Atenciosamente, Leandro Lins Marino Centro de

[R] RES: Re : How to Import Excel file into R 2.9.0 version

2009-08-11 Thread Leandro Marino
Another possibility is to download the xlsReadWrite package in http://treetron.googlepages.com/xlsreadwrite.htm And use the read.xls() function. I am using this package without problems. Atenciosamente, Leandro Lins Marino Centro de Avaliação Fundação CESGRANRIO Rua Santa Alexandrina, 1011 -

[R] Problems with help

2009-06-25 Thread Leandro Marino
Hi, I was trying to read some help of functions and in all functions I try to see is giving me this error: ?write.table Erro em print.help_files_with_topic(C:/ARQUIV~1/R/R-29~1.0/library/utils/chm/write.table) : CHM file could not be displayed Anybody knows what is happening?

[R] RES: Hi

2009-06-15 Thread Leandro Marino
Try this: mrp - function(){ r - list() mr-matrix(0,4,1) for(i in 1:4){ r[[i]] - lm(dat(,i+1)~dat(,1)) mr[i,1] - coefficients(r[[i]]) } mr } Atenciosamente, Leandro Lins Marino Centro de Avaliação Fundação CESGRANRIO Rua Santa Alexandrina, 1011 - 2º andar Rio de Janeiro, RJ - CEP: 20261-903 R

[R] RES: help

2009-05-21 Thread Leandro Marino
a - matrix(c(1:4),ncol=2) b - matrix(c(5:8),ncol=2) a [,1] [,2] [1,]13 [2,]24 b [,1] [,2] [1,]57 [2,]68 a+b [,1] [,2] [1,]6 10 [2,]8 12 Atenciosamente, Leandro Lins Marino Centro de Avaliação Fundação CESGRANRIO Rua Santa

[R] RES: Read.table problems

2009-05-18 Thread Leandro Marino
I was having this problem with a file. My problem was a ' indo the name, link Ricardo D'avilla, the ' skipped all sep to the end of the file. Maybe it is your problem. Atenciosamente, Leandro Lins Marino Centro de Avaliação Fundação CESGRANRIO Rua Santa Alexandrina, 1011 - 2º andar Rio de

[R] RES: SAS PROC SORT nodupkey

2009-05-12 Thread Leandro Marino
Amor, You have the possibility to use the duplicated() function. A[!duplicated(A[,var]),] Atenciosamente, Leandro Lins Marino Centro de Avaliação Fundação CESGRANRIO Rua Santa Alexandrina, 1011 - 2º andar Rio de Janeiro, RJ - CEP: 20261-903 R (21) 2103-9600 R.:236 ( (21) 8777-7907 (

[R] RES: Removing rows

2009-03-12 Thread Leandro Marino
Hi Tammy, You can do: act_2temp - act_2[which(!duplicated(act_2[,c(1:5)])),] act_2temp[1:5,] act_2 - act_2temp rm(act_2temp) Atenciosamente, Leandro Lins Marino Centro de Avaliação Fundação CESGRANRIO Rua Santa Alexandrina, 1011 - 2º andar Rio de Janeiro, RJ - CEP: 20261-903 R (21) 2103-9600

[R] RES: RES: Removing rows

2009-03-12 Thread Leandro Marino
] Em nome de Leandro Marino Enviada em: quinta-feira, 12 de março de 2009 08:55 Para: 'Tammy Ma'; r-help@r-project.org Assunto: [R] RES: Removing rows Hi Tammy, You can do: act_2temp - act_2[which(!duplicated(act_2[,c(1:5)])),] act_2temp[1:5,] act_2 - act_2temp rm(act_2temp) Atenciosamente

[R] RES: portable R editor

2009-03-09 Thread Leandro Marino
Another possibility is buy an U3 smartdrive (U3). And then you can use de UltraEdit Portable. It’s a good text editor with some level of support for R. Atenciosamente, Leandro Lins Marino Centro de Avaliação Fundação CESGRANRIO Rua Santa Alexandrina, 1011 - 2º andar Rio de Janeiro, RJ - CEP:

[R] Numbers

2009-03-06 Thread Leandro Marino
Hi, I know the function LETTERS, but, now I have some letters to convert it in numbers, like A=1,B=2, etc... Is any function to do that? Atenciosamente, Leandro Lins Marino Centro de Avaliação Fundação CESGRANRIO Rua Santa Alexandrina, 1011 - 2º andar Rio de Janeiro, RJ - CEP: 20261-903 R (21)

[R] RES: R on netbooks et al?

2009-03-05 Thread Leandro Marino
I use it on an ASUS EEE 701 PC! It works with some limitation, because this model have only 512mb of RAM. But it is working fine. The OS is Windows XP. I think that the better netbooks is one from HP, this netbook have an normal keyboard. Atenciosamente, Leandro Lins Marino Centro de Avaliação

[R] RES: xlsReadWrite package repository for Ubuntu

2009-03-03 Thread Leandro Marino
I think in this case its better use the write.csv. Microsoft Excel reads csv files normally. Atenciosamente, Leandro Lins Marino Centro de Avaliação Fundação CESGRANRIO Rua Santa Alexandrina, 1011 - 2º andar Rio de Janeiro, RJ - CEP: 20261-903 R (21) 2103-9600 R.:236 ( (21) 8777-7907 (

[R] RES: object .trPaths not found

2009-03-02 Thread Leandro Marino
Did you do the configuration of Tinn-R after the installation? Atenciosamente, Leandro Lins Marino Centro de Avaliação Fundação CESGRANRIO Rua Santa Alexandrina, 1011 - 2º andar Rio de Janeiro, RJ - CEP: 20261-903 R (21) 2103-9600 R.:236 ( (21) 8777-7907 ( lean...@cesgranrio.org.br Aquele que

[R] LATTICE

2009-02-04 Thread Leandro Marino
Hi, I am having some problems using bwplot(lattice) in my data. I want change some parameters: 1) Fontfamily to serif 2) The size of the font 3) Put it in a bold face 4) Change de color of the lines How can I do that?! Now, I am using this to plot my boxplot. dados -

[R] color and fontfamily in lattice

2009-02-03 Thread Leandro Marino
Hi, I am having some problems using bwplot(lattice) in my data. I want change some parameters: 1) Fontfamily to serif 2) The size of the font 3) Put it in a bold face 4) Change de color of the lines How can I do that?! Now, I am using this to plot my boxplot. dados -

[R] RES: memory limit

2008-11-26 Thread Leandro Marino
It depends of the number of the variables. If you are using 2 or 3 variables you can do some things. I should you read about ff package and ASOR packages they manage the dataset to do some kind of IO. Regards, -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome

[R] Package Deal

2008-10-20 Thread Leandro Marino
Hi, I was trying to adjust an bayesian network with Deal package. I know how to adjust when I give the structure and when I don't give the struture. Now, I want to adjust when I know some variables relationships and others I don't know. Anybody knows how can I do that? Regards,

[R] Jpg files in R

2008-08-25 Thread Leandro Marino
If I have an file like an JPG, gif, png or other, exist any kind of function in the R to see de dimension in pixels of this image? Thanks Atenciosamente, Leandro Lins Marino Centro de Avaliacao Fundacao CESGRANRIO Rua Santa Alexandrina, 1011 - 2o andar Rio de Janeiro, RJ - CEP: 20261-903 *

[R] RES: Merging two datasets

2008-08-06 Thread Leandro Marino
merge(df1,df2,by=commonvar,all=T) Regards, Leandro Marino -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nome de Shreyasee Pradhan Enviada em: quarta-feira, 6 de agosto de 2008 11:15 Para: r-help@r-project.org Assunto: [R] Merging two datasets I am facing

[R] RES: Simple... but...

2008-07-23 Thread Leandro Marino
I thinks this is the solution that you want! as.vector(matrix(c(x,y),byrow=T,ncol=3)) -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nome de Wacek Kusnierczyk Enviada em: quarta-feira, 23 de julho de 2008 10:25 Para: R help Assunto: Re: [R] Simple... but... Shubha

[R] Colours in R

2008-07-17 Thread Leandro Marino
Hi list, I will help an person that will use some graphics of R in internet. But this pearson want to specify the colours. This person want me to create an pallete of colours like that: Name of color - Code - Colour White - 0xFF - color white (like an box with this color) I know

[R] RES: Colours in R

2008-07-17 Thread Leandro Marino
I know that! But i will select about 10 colurs and show him But he needs in that format! thanks@ -Mensagem original- De: Duncan Murdoch [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 17 de julho de 2008 11:32 Para: Leandro Marino Cc: [EMAIL PROTECTED] Org Assunto: Re: [R

[R] Exporting an list()

2008-07-15 Thread Leandro Marino
imply differing number of rows: 5, 3, 4, 6 Thanks for the help! Leandro Marino __ 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-guide.html and provide

[R] Bootstrap in betareg()

2008-07-10 Thread Leandro Marino
Hi list, I have an database (30.000 entrys) that my R is not modelling into betareg() so I decided to do an sample and uses an bootstrap to give me the correct estimates to the variance. Anybody knows what library can I use in this case? Regards, Atenciosamente, Leandro Lins Marino Centro de

[R] RES: Sum(Random Numbers)=100

2008-07-08 Thread Leandro Marino
One of possible solutions is: generate all the numbers. num - rpois(...) num - round(num/sum(num)*100,0) sum(num) I don't know if it is the best solution, but is one! Leandro Marino -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nome de Peter Dalgaard Enviada em

[R] RES: initialize a matrix

2008-07-04 Thread Leandro Marino
You have to put the tml in the function and deltat too. like VAR-function(power,length,deltat,tml){ -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nome de mysimbaa Enviada em: sexta-feira, 4 de julho de 2008 11:22 Para: r-help@r-project.org Assunto: [R]

[R] RES: Error while plotting matrix

2008-07-04 Thread Leandro Marino
to output this in a list()? Leandro Marino -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nome de mysimbaa Enviada em: sexta-feira, 4 de julho de 2008 12:51 Para: r-help@r-project.org Assunto: [R] Error while plotting matrix Dear R user, I have written a function

[R] RES: bug in axis.Date? was (Re: newbie needs help plotting timeseries)

2008-07-02 Thread Leandro Marino
You can do this plot saying to R that your file is a time series with the ts() function. serie=ts(x,) and then you use plot(serie) -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nome de Petr PIKAL Enviada em: quarta-feira, 2 de julho de 2008 05:04 Para: Kathi

[R] Migrating from S-Plus to R - Exporting Tables

2008-07-02 Thread Leandro Marino
num in R? And how can I remove the x in first line and the number 1 and the ^t in the second line before Q05? Thanks for the advance! Leandro Marino __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

[R] exporting ftable

2008-07-02 Thread Leandro Marino
How can I export an ftable object in the same format that appears in R command window? For testing that i was using this example that is in help of this function. ## Start with a contingency table. ftable(Titanic, row.vars = 1:3) ftable(Titanic, row.vars = 1:2, col.vars = Survived)

[R] RES: how to automatically maximize the graph window (under XP) ?

2008-07-01 Thread Leandro Marino
Hi, you can use the jpeg(), pdf(), bmp() functions. In this function you can determinate the size of the graph, background color, quality of the image. Leandro Marino -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nome de Ptit_Bleu Enviada em: terca-feira, 1 de

[R] RES: Invalid object error in boxplot

2008-07-01 Thread Leandro Marino
with this sintax: boxplot(your_base[,c(V1,V2,V3]) or boxplot(your_base[,c(5:7)] Leandro Marino -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nome de [EMAIL PROTECTED] Enviada em: terca-feira, 1 de julho de 2008 12:22 Para: r-help@r-project.org Assunto: [R] Invalid

[R] RES: WIERD: Basic computing in R

2008-07-01 Thread Leandro Marino
Hi, the problem is what you want! With the -2.7^8.6 you are doing -(2.7^8.6) it exists... But, if you try (-2.7)^8.6 the R gives you NaN. When you define p=-2.7 and q=8.6 and do p^q you are doing that (-2.7)^8.6. If you write p=2.7 and q=8.6 and use the -p^q it will work! Leandro Marino

[R] plot window

2008-07-01 Thread Leandro Marino
Hi list, I want to know how can i creat a plot window with this configuration: ___ | | | PLOT 1| | | |-| | | | | |

[R] RES: plot window

2008-07-01 Thread Leandro Marino
I will see the code! It is similar that i want! Thanks a lot! -Mensagem original- De: Gabor Grothendieck [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 1 de julho de 2008 16:22 Para: Leandro Marino Cc: [EMAIL PROTECTED] Org Assunto: Re: [R] plot window Look at the code

[R] RES: Change name of a specific column of a data frame

2008-07-01 Thread Leandro Marino
You can use names(database)[position] where position is the number of the column that you want to rename! Leandro Marino -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nome de [EMAIL PROTECTED] Enviada em: terca-feira, 1 de julho de 2008 16:18 Para: R-help@r

[R] RES: Need ideas on how to show spikes in my data and how to codeit in R

2008-06-30 Thread Leandro Marino
=Rio Grande do Sul,ylab=Freqüência,col=antiquewhite4,main=) dev.off() } The problem is the name of the file, I want to do something like grafi.jpg where i goes from 1 to 250. Thanks a lot for the help. Best Regards, Leandro Marino __ R-help@r

[R] Graphs in R

2008-06-30 Thread Leandro Marino
=Rio Grande do Sul,ylab=Freqüência,col=antiquewhite4,main=) dev.off() } The problem is the name of the file, I want to do something like grafi.jpg where i goes from 1 to 250. Thanks a lot for the help. Best Regards, Leandro Marino __ R-help@r

[R] Loading an S-Plus object, database

2008-06-26 Thread Leandro Marino
Hi I am changing my databases from S-plus to R. I want to know how can I use that? May I only attach the folder _Data equal I do in S-plus? Thanks! Best Regards, Leandro Marino __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

[R] Read sas7bdat

2008-06-26 Thread Leandro Marino
Hi, I was reading e-mail about one doubt that you were when you read files .sas7bdat in R. Now, I am with the same problem. But I don´t know how can i do that. I have download de Sas Viewer and i am using this sintax in r: read.ssd(X:\\users\\Anresc07,que0411.sas7bdat) SAS failed. SAS program