similar to: Error in installing packages

Displaying 20 results from an estimated 300 matches similar to: "Error in installing packages"

2008 Aug 06
3
Help in running Stata dataset in R
Dear All, I installed R 2.7.0 and tried to call a dataset i had ealier own called on R2.6.2 but i keep on getting an error: use("maltreat.dta") Error in fromchar(x) : character string is not in a standard unambiguous format Tried doing the same with R2.7.1 but i get the same error. However if i call the same on R 2.6.2, there is no error: use("maltreat.dta") > des()
2009 Mar 05
3
Dropping rows conditionally
Dear R-help team, I am getting addicted to using R but keep on getting many challenges on the way especially on data management (data cleaning). I have been wanting to drop all the rows if there values are `NA' or have specific values like 1 or 2 or 3. mdat <- matrix(1:21, nrow = 7, ncol=3, byrow=TRUE, dimnames = list(c("row1",
2009 Aug 20
2
getting R 2.9.1 from the tar.gz file
Dear Sir, I am almost giving up on getting the R-2.9.1 on the ubuntu 9.04 using the instructions found on the R site. I decided to use the R-2.9.1.tar.gz and untarred it. I then typed ./configure and the results are shown below. However, on typing make, I got an error, "No targets specified and no makefile found stop" What is the solution? lmramba at LMramba-dll-d:~$ su Password:
2008 Jul 25
0
Errror in running R2.7.1 version to R2.6.2 version
Dear all, I get an error shown below when i run the command "use" found in package epicalc on R2.7.1 and R2.7.0 but dont get the error when i run it on R 2.6.2 What is likely to be the problem? library(epicalc) Loading required package: foreign Loading required package: survival Loading required package: splines use("malvac.dta") Error in fromchar(x) : character string
2009 Oct 10
1
Setting a mirror "permanently" on R on ubuntu
Dear all, I seem to have many problems as I run R on my ubuntu system. want to set a mirror so that anytime I use the command "install.packages", it does not ask me for which mirror to use but go direct. This is because of the error I keep on getting below and I dont know how to solve it. Please help. Kind regards, Lazarus > library(epicalc) Loading required package: foreign
2012 Mar 14
3
Creating 250 submatrices from a large single matrix with 2500 variables using loops
Dear all, I have a large matrix with about 2500 variables, and 100 rows. I would like to calculate the means of the every 10 variables starting from 1:2500 and saving the results as a vector or matrix. How can I do that? Alternatively, How can I create 250 subset matrices in the order of variables 1:2500 in groups of 10 from the single matrix which had initially 2500 variables ? I guess I have
2011 Nov 02
1
Removing or ignoring package version for generic function in locked environment
Hi, I use the epicalc package which provides the function aggregate.numeric. Unfortunately aggregate.numeric produces warnings when aggregate is used by functions not under my control on a numeric value. If I don't load epicalc, aggregate.default is used instead by these functions and does not produce any warning. However I need epicalc. So to get around this, what I would do is firstly
2009 Mar 10
5
Changing factor to numeric
Dear Users, I have a variable in my dataset which is of type factor. But it actually contains numeric entries which like 5.735 4.759 ..... This is because the data was read from a CSV file into R and this variable contained other charaters which were not numeric. I have now dropped the records with the characters which are not numeric for this variable and want to change it to numeric srotage
2014 Aug 21
2
pregunta
Buenas noches Javier y José, Estoy en contra de usar attach(), asi que propongo la siguiente alternativa con with(): # paquete require(epicalc) # los argumentos en ... pasan de epicalc:::cc # ver ?cc para mas informacion foo <- function(var1, var2, var3, ...){ or1 <- cc(var1, var2, ...) or2 <- cc(var1, var3, ...) list(or1 = or1, or2 = or2) } # datos x <-
2014 Aug 21
2
pregunta
Estimados Estoy entrenando hacer funciones que respondan a comandos, en esta caso en la salida gráfica se observa que dice : Exposure=var3 y outcome=var 1 quisiéramos que se reflejan los nombres de la base de datos : var1=estado, var2=cake, var3=chocolate Espero haberme explicado adecuadamente Adjunto tabla con datos #################################### #Comando que llama
2009 Oct 10
1
installing any package fails using 'install.packages()' (PR#13993)
Dear all, I installed my R-2.9.2 on my ubuntu version 9.04 successfully using the command sudo apt-get install r-base-dev The problem is that I cannot install any package. See my details below: > install.packages("epicalc") Warning in install.packages("epicalc") : argument 'lib' is missing: using '/home/lmramba/R/i486-pc-linux-gnu-library/2.9'
2008 Nov 14
1
Epicalc package
Dear R-friends, ? I am using the epicalc package and the manual by V. Chongsuvivatwong "Analysis of epidemiological data using R and Epicalc" to get the hang of some basic epidemiological analyses.??? ? After running all the analyses of chapter 7, one is supposed to wrap it up by saving the data writing: ? ? > save(.data, file = "Chapter7.Rdata") ? ...?after writing the
2008 May 05
1
proportional test on epicalc library vs. Jerrold H. Zar.
Hi everyone, I'm working with the Epical library, specicatly using the power test in proportions. I think this test is not working like in the book: Biostatistical Analysis (4th Edition): Jerrold H. Zar In the example 23.25. (I attach this Pic) It's not the same answer. Using the follow command don't give the same answer. library(epicalc) power.for.2p(0.75, 0.50, 50, 45, alpha =
2011 Dec 13
8
How to compute 95%CI for OR from logistic regression?
Hi all: My data has 3 variables: age(3levels : <30y=1 30-50y=2, >50y=3) gender(Male=0, Female=1) CD4 cell count(raw lab measurement) y(1:death 0:alive) I perform logistic regression to find out the factors that influence y. result<-glm(y ~ factor(age) + factor(gender) + CD4,family = binomial) >From the result,I can get OR(Odds Ratio) of gender via exp(Estimate of Female,
2013 Sep 27
3
duda
#Imagino que hay un camino más corto para resolver mi duda #Adjunto unos datos en csv library (epicalc) #Gráficos exploratorios #este comando no se ejecuta porque no ve las variables summ(IMC, by=escolaridad ) ##?porqué no ve las variables? #tuve que hacer esto que me parece que se podría hacer de manera más sencilla IMC <- (sanda[,c(1)]) escolaridad <-
2013 Oct 04
2
pregunta
En el libro EPICALC (pagina 229-230) en el que está el siguiente script, todo nos funciona bien, pero cuando vamos a life table, ya allí no avanza, lo señalamos en el script, por favor quizá se nos haya ido algún detalle, pero fuimos siguiéndolo por el libro paso a paso y no no hemos percatado Todos los de el paquete survival de la ayuda del R funcionan perfectamente
2009 Oct 10
1
Setting a mirror "permanently" on R on ubuntu (PR#13995)
Dear all, I seem to have many problems as I run R on my ubuntu system. want to set a mirror so that anytime I use the command "install.packages", it does not ask me for which mirror to use but go direct. This is because of the error I keep on getting below and I dont know how to solve it. Please help. Kind regards, Lazarus > library(epicalc) Loading required package: foreign
2015 Oct 27
3
pregunta
Estimados Cuando existia epicalc, había una manera muy fácil de determinar la media de una variable (en esta caso Gain) por grupos, en este caso (Diet). ?Como se puede hacer ahora? Diet Gain 1 d1 270 2 d1 300 3 d1 280 4 d1 280 5 d1 270 6 d2 290 7 d2 250 8 d2 280 9 d2 290 10 d2 280 11 d3 290 12 d3 340 13 d3 330 14 d3 300 15 d3 300
2014 Aug 27
3
pregunta
Estimados ¿Existe en R alguna manera de que las tablas de estadística descriptiva como las de codebook de epicalc, salgan en una tabla como las de SPSS ? Saludos José -- Nunca digas nunca, di mejor: gracias, permiso, disculpe. Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de
2010 Oct 20
2
CI using ci.numeric
Hi, I am trying to calculate confidence intervals using ci.numeric from epicalc package. If I generate a normal set of data and find the 99% and 95% CI, they seem too narrow to me. Am I doing something wrong?? The IQR goes from -0.62 to 0.62, so I thought the CI limits should be more extreme than these values. x<- rnorm(200,0,1) ci.numeric(x=mean(x),n=200,sds=sd(x),alpha=0.05) n