similar to: Setting a mirror "permanently" on R on ubuntu

Displaying 20 results from an estimated 3000 matches similar to: "Setting a mirror "permanently" on R on ubuntu"

2008 Jul 22
3
Error in installing packages
Dear R Users; I am an R user who has recently bought a new laptop;Toshiba Satellite U405 running on both Windows Vista and Ubuntu. I have problems on the wondows vista when installing packages. The argument 'lib' is missing. How do i solve this problem? Illustration: > install.packages("epicalc") Warning in install.packages("epicalc") : argument 'lib'
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
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:
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
2009 Oct 10
0
installing any package fails using 'install.packages()' (PR#13996)
On 10 October 2009 at 05:25, lmramba at gmail.com wrote: | Dear all, | I installed my R-2.9.2 on my ubuntu version 9.04 successfully using= the | command |=20 | sudo apt-get install r-base-dev |=20 | The problem is that I cannot install any package. Huh? This has _nothing_ to do with the error below. =20 | See my details below: |=20 |=20 |=20 | > install.packages("epicalc") |
2009 Oct 10
1
Errors in installing package "rJava" on Ubuntu (PR#13992)
*Hello, I have had this serious problem while trying to install package rJava. It is a requirement by the package JGR and it cannot be downloaded due to the error indicated below. I have googled and looked at the FAQ but no solution yet. Please advise. Kind regards, Lazarus > install.packages("rJava")* Warning in install.packages("rJava") : argument 'lib' is
2009 Mar 31
5
how to increase the limit for max.print in R
Hi All, I am using DNAcopy package in R for copy number analysis of 500K chip. The final output which I get from DNA copy is too big to be printed in a file. So I am getting an error as "reached getOption("max.print") -- omitted 475569 rows " Can somebody please provide me the pointers with how to increase the limit for max.print . Thanks, Pooja DISCLAIMER\
2008 Oct 02
4
Load a program at the front end
I want to run a R program, prog.R, interactively. My question is, is there a way I can start prog.R on the shell terminal when invoking R, instead of using source() inside R? TIA, Gang
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 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 May 13
2
Help with a cumullative Hazrd Ratio plot
Hi R-masters I need help to make modified cumulative hazard ratio plot. I need create a common plot but with the number of subjects in risk each ticks times for two different groups in bottom of plot (I put one example in attach). Do you know a routine for this? Is possible create a routine for this? In this case with how commands? Thanks in advance! -- Bernardo Rangel Tura, M.D,MPH,Ph.D
2009 Oct 01
5
How to use Subpopulation data?
Dear Helpers   I have a sample frame and i have sampled from it using three methods and now i want to calculate the statistics but i only get the population parameters.   H <- matrix(rnorm(100, mean=50000, sd=5000)) sampleframe=data.frame(type=c(rep("H",100)),value=c(H)) sampleframe   str=strata(sampleframe,c("type"),size=c(20,), method="srswor")
2009 Sep 05
8
Color index in image function
Dear All, I was looking for the color index in?image function,?such as from topo.colors(n) and etc. but still never found it. For instance, from the help menu. ########################################### # Volcano data visualized as matrix. Need to transpose and flip # matrix horizontally. image(t(volcano)[ncol(volcano):1,]) # A prettier display of the volcano x <- 10*(1:nrow(volcano)) y
2007 Nov 19
2
biplot
Hi, I am wondering how to draw biplot with the same scales on both plots? For example, if the two plots have much different scales, generally the two x-y's are scaled so that the two plots are sitting in the center automatically. How to disable this? Thanks -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I believed..."
2010 Jan 03
6
Help with function "fitdistr" in "MASS"
Hi, R users: I want to fit my data into a normal distribution by using the command "fitdistr" in "MASS". I changed my data class from "ts" to "numeric" by >class(mydata)="numeric" but after using "fitdistr", I got the result below >fitdistr(mydata,"normal") mean sd NA NA (NA) (NA) the help doc of
2009 Oct 10
1
rJava downloads but cannot load, when I run R as root (PR#13994)
> library(rJava) Error in library(rJava) : there is no package called 'rJava' > install.packages("rJava") Warning in install.packages("rJava") : argument 'lib' is missing: using '/usr/local/lib/R/site-library' --- Please select a CRAN mirror for use in this session --- Loading Tcl/Tk interface ... done trying URL
2009 Oct 10
0
Errors in installing package "rJava" on Ubuntu
*Hello, I have had this serious problem while trying to install package rJava. It is a requirement by the package JGR and it cannot be downloaded due to the error indicated below. I have googled and looked at the FAQ but no solution yet. Please advise. Kind regards, Lazarus > install.packages("rJava")* Warning in install.packages("rJava") : argument 'lib' is
2009 Dec 02
5
Problem with "Cannot compute correct p-values with ties"
Dear All, 1. why did the problem happen? 2. How to solve it? -- Best wishes, Zhijiang Wang -------------------------------------------- PHD Student Room 212, Science buliding, The International WIC Institute, College of Computer Science and Technology, Beijing University of Technology, Beijing, China.