[R] RES: RdbiPgSQL in R 2.4.1
Hi Seth I'm running R on WinXP. On the first time I've installed Rdbi and RdbiPgSQL from zip files not downloaded from Bioconductor. No problems during installation. Now I tried to install from biocLite and a message was showed for RdbiPgSQL. biocLite(c(Rdbi, RdbiPgSQL)) Running getBioC version 0.1.8 with R version 2.4.1 Running biocinstall version 1.9.9 with R version 2.4.1 Your version of R requires version 1.9 of Bioconductor. Dependency ''RdbiPgSQL'' is not available ... I gave a look at Bioconductor site, where I saw an Error report during checking of BioC 1.9/RdbiPgSQL for Windows Server 2003. The same was reported for another BioC releases. Conclusion: Isn't possible access postgreSQL databases from R? Thanks -Mensagem original- De: Seth Falcon [mailto:[EMAIL PROTECTED] Enviada em: segunda-feira, 5 de fevereiro de 2007 15:07 Para: Eduardo Dutra de Armas Cc: r-help@stat.math.ethz.ch Assunto: Re: [R] RdbiPgSQL in R 2.4.1 Hi Eduardo, It would probably be best to send question regarding Bioconductor packages to the bioconductor email list. Eduardo Dutra de Armas [EMAIL PROTECTED] writes: Hi R-users I recently downloaded RdbiPgSQL 1.8.0 and Rdbi 1.8.0 from Bioconductor to be installed under R 2.4.1. When requiring RdbiPgSQL an error message is showed as follows: require(RdbiPgSQL) Loading required package: RdbiPgSQL Error in library(package, lib.loc = lib.loc, character.only = TRUE, logical = TRUE, : RdbiPgSQL is not a valid package installed 2.0.0? There is no issue about version restriction in Description file. What OS are you running on? How did you install the packages? I'm not able to reproduce the message you posted. Perhaps try reinstalling using the biocLite install script. Like this: source(http://bioconductor.org/biocLite.R;) biocLite(c(Rdbi, RdbiPgSQL)) NB: normally, you don't need to specify dependencies, but this way it will reinstall Rdbi as well in case you have a bogus install... + seth -- No virus found in this incoming message. 14:04 -- 16:48 __ R-help@stat.math.ethz.ch 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 commented, minimal, self-contained, reproducible code.
[R] RdbiPgSQL in R 2.4.1
Hi R-users I recently downloaded RdbiPgSQL 1.8.0 and Rdbi 1.8.0 from Bioconductor to be installed under R 2.4.1. When requiring RdbiPgSQL an error message is showed as follows: require(RdbiPgSQL) Loading required package: RdbiPgSQL Error in library(package, lib.loc = lib.loc, character.only = TRUE, logical = TRUE, : RdbiPgSQL is not a valid package installed 2.0.0? There is no issue about version restriction in Description file. Suggestions are welcome! _ Eng. Agr., Dr. Eduardo Dutra de Armas _ Universidade de São Paulo - Escola Superior de Agricultura Luiz de Queiroz Depto. de Ciência do Solo - Laboratório de Microbiologia Molecular Av. Pádua Dias 11, Bairro São Judas, CEP 13418-900 Piracicaba, SP, Brasil - Fone: (55-19)34172160 - Cel: (55-19)81924072 Skype: edarmas (Áreas de atuação: Poluição de solo e água, Biogeodinâmica de poluentes, Modelagem Hidrogeoquímica, Gerenciamento de Áreas Contaminadas, Análise de Risco, Biodegradação, Microbiologia Ambiental) _ -- Checked by AVG Free Edition. 14:04 [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch 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 commented, minimal, self-contained, reproducible code.
[R] Memory exceeding for split
Hi R-users I'm working with a data.frame of 4 x 10, for which I need to apply the split function. The result is very long and cannot be stored in a variable due to memory exceeding. I've tried to send the result directly to a file through sink(filename) function, but the problem still occurs. Does anyone have an idea to solve this issue? dim(dados) [1] 410 sink(d:/points.dta) split(data, list(data$Easting,data$Northing,data$Depth,data$Media,data$Type), drop=T) Error: cannot allocate vector of size 1334208 Kb In addition: Warning messages: 1: Reached total allocation of 125Mb: see help(memory.size) 2: Reached total allocation of 125Mb: see help(memory.size) Best Regards, __ Eng. Agr., M.Sc. Eduardo Dutra de Armas __ Centro de Energia Nuclear na Agricultura (CENA/USP) Laboratório de Ecotoxicologia Av.Centenário 303, C.P. 96, CEP 13400-970 Piracicaba, SP, Brasil - Fone: (55-19)34294761 - Fax: (55-19)34294610 (Áreas de atuação: Poluição de solo e água, Dinâmica Ambiental de pesticidas, Biodegradação, Microbiologia Ambiental) __ [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch 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 commented, minimal, self-contained, reproducible code.
[R] Sphericity test
Hi R-users Does anybody know if there are functions or packages in R for sphericity tests like Bartlett's or Mauchly's? Thanks! __ Eng. Agr., M.Sc. Eduardo Dutra de Armas __ Centro de Energia Nuclear na Agricultura (CENA/USP) Laboratório de Ecotoxicologia Av.Centenário 303, C.P. 96, CEP 13400-970, Piracicaba, SP, Brasil Fone: (55-19)34294761 - Fax: (55-19)34294610 - Cel: (55-19)81155564 (Áreas de atuação: Poluição de solo e água, Dinâmica Ambiental de pesticidas, Biodegradação, Microbiologia Ambiental) __ --- [[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
[R] Resolution of plots
Hi R-users Does anyone know how to increase the resolution of plots to be exported? I'm exporting some plots but the maximum resolution that I get is 96 dpi. I want to get files with 300dpi. Thanks! __ Eng. Agr., M.Sc. Eduardo Dutra de Armas __ Centro de Energia Nuclear na Agricultura (CENA/USP) Laboratório de Ecotoxicologia Av.Centenário 303, C.P. 96, CEP 13400-970, Piracicaba, SP, Brasil Fone: (55-19)34294761 - Fax: (55-19)34294610 - Cel: (55-19)81155564 (Áreas de atuação: Poluição de solo e água, Dinâmica Ambiental de pesticidas, Biodegradação, Microbiologia Ambiental) __ --- [[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
[R] How avoid coercion to character
Hi R-users! I'd like to know how to avoid automatic coercion of numeric variables passed to array() to character, when there is one categorical variable between others. I have tried I() function, but it is just functional in data.frame. Best Regards! Eduardo Dutra de Armas __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
[R] Comparing treatments in Multivariate Analysis
Hi R-users I'd like to know if there is some packages or functions to do comparison of treatments after that manova pointed differences between them. Any suggestions are much appreciated. __ Eng. Agr., M.Sc. Eduardo Dutra de Armas __ Centro de Energia Nuclear na Agricultura (CENA/USP) Laboratório de Ecotoxicologia Av.Centenário 303, C.P. 96, CEP 13400-970, Piracicaba, SP, Brasil Fone: (55-19)34294761 - Fax: (55-19)34294610 - Cel: (55-19)81155564 (Áreas de atuação: Poluição de solo e água, Dinâmica Ambiental de pesticidas, Biodegradação, Microbiologia Ambiental) __ [[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
[R] Manova and contrasts
Wilks' Lambda 0.65512498 2.8953 2 11 0.0977 Pillai's Trace 0.34487502 2.8953 2 11 0.0977 Hotelling-Lawley Trace 0.52642630 2.8953 2 11 0.0977 Roy's Greatest Root0.52642630 2.8953 2 11 0.0977 ... Manova Test Criteria and Exact F Statistics for the Hypothesis of no Overall TURFE vs TURNA Effect H = Contrast SSCP Matrix for TURFE vs TURNA E = Error SSCP Matrix S=1M=0N=4.5 Statistic Value F Num DF Den DF Pr F Wilks' Lambda 0.03988589 132.3934 2 11 0.0001 Pillai's Trace 0.96011411 132.3934 2 11 0.0001 Hotelling-Lawley Trace24.07152574 132.3934 2 11 0.0001 Roy's Greatest Root 24.07152574 132.3934 2 11 0.0001 ... Manova Test Criteria and F Approximations for the Hypothesis of no Overall Ho:TESTE=TURFE=TURNA Effect H = Contrast SSCP Matrix for Ho:TESTE=TURFE=TURNA E = Error SSCP Matrix S=2M=-0.5N=4.5 Statistic Value F Num DF Den DF Pr F Wilks' Lambda 0.0204280332.9813 4 22 0.0001 Pillai's Trace 1.24157026 9.8222 4 24 0.0001 Hotelling-Lawley Trace35.1269092087.8173 4 20 0.0001 Roy's Greatest Root 34.75791615 208.5475 2 12 0.0001 ### R X1 = c(4.63,4.38,4.94,4.96,4.48,6.03,5.96,6.16,6.33,6.08,4.71,4.81,4.49,4.43, 4.56) X2 = c(0.95,0.89,1.01,1.23,0.94,1.08,1.05,1.08,1.19,1.08,0.96,0.93,0.87,0.82, 0.91) Trat = as.factor(c(rep(TESTE,5),rep(TURFE,5), rep(TURNA,5))) Y = cbind(X1,X2) fit = manova(Y ~ Trat) summary.aov(fit) summary(fit, test= Wilks) ANOVA: Response X1 : Df Sum Sq Mean Sq F valuePr(F) Trat 2 7.2476 3.6238 94.956 4.407e-08 *** Residuals 12 0.4580 0.0382 --- Signif. codes: 0 `***' 0.001 `**' 0.01 `*' 0.05 `.' 0.1 ` ' 1 Response X2 : Df Sum Sq Mean Sq F value Pr(F) Trat 2 0.098173 0.049087 6.2187 0.01402 * Residuals 12 0.094720 0.007893 --- Signif. codes: 0 `***' 0.001 `**' 0.01 `*' 0.05 `.' 0.1 ` ' 1 MANOVA: Df Wilks approx F num Df den DfPr(F) Trat 2 0.020 32.981 4 22 5.302e-09 *** Residuals 12 --- Signif. codes: 0 `***' 0.001 `**' 0.01 `*' 0.05 `.' 0.1 ` ' 1 Any suggestions are much appreciated. __ Eng. Agr., M.Sc. Eduardo Dutra de Armas __ Centro de Energia Nuclear na Agricultura (CENA/USP) Laboratório de Ecotoxicologia Av.Centenário 303, C.P. 96, CEP 13400-970, Piracicaba, SP, Brasil __ --- [[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
[R] solving equation
Dear R-users, I'm trying to solve the following equation, to get a set of values satisfying it and I'd like to know if its possible to do that in R. 0.85*(54.6-X)^2 + 4.65*(25.2 - Y)^2 -2*0.84*(54.6-X)*(25.2-Y) = 8.29 Thanks a lot, Eduardo Armas --- [[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
[R] time-series
Dear R helpers I have a daily rainfall dataset of 5 stations, but the time-series are of different lengths. Three stations measured precipitation from 1917 to 2004, one from 1930 to 1979, and other from 1975 to 1998. I'd like to know how to analyse if rainfall is similiar at all stations. Is it possible to compare time-series like these? Best Regards! __ Eng. Agr., M.Sc. Eduardo Dutra de Armas __ Centro de Energia Nuclear na Agricultura (CENA/USP) Laboratório de Ecotoxicologia Av.Centenário 303, C.P. 96, CEP 13400-970, Piracicaba, SP, Brasil Fone: (55-19)34294761 - Fax: (55-19)34294610 - Cel: (55-19)81155564 (Áreas de atuação: Poluição de solo e água, Dinâmica Ambiental de pesticidas, Biodegradação, Microbiologia Ambiental) __ --- [[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html