search for: gsee000

Displaying 4 results from an estimated 4 matches for "gsee000".

Did you mean: gse1000
2012 Dec 19
2
read.csv reads more rows than indicated by wc -l
When I have a csv file that is more than 6 lines long, not including the header, and one of the fields is blank for the last few lines, and there is an extra comma on of the lines with the blank field, read.csv() makes creates an extra line. I attached an example file; I'll also paste the contents here: A,apple A,orange A,orange A,orange A,orange A,,, A,, ----- wc -l reports that this file
2012 Feb 03
3
Cannot get "==" operator to return TRUE
I have a data.frame named "df". The dput of df is at the bottom of this e-mail. What I'd like to do is replace the "n/a " values with NA. On Mac OSX, it works to do this: df[df == "n/a"] <- NA However, it does not work on Ubuntu. See below. Thanks in advance, Garrett > x <- df[27, 4] # complete data.frame dput is below > dput(x) "n/a?"
2012 Nov 28
0
str(..., strict.width="wrap") changes alignment of colons
Hi, This was surprising to me and does not appear to be documented in ?str. After reading ?strwrap, I see that the problem is that "Whitespace ... in the input is destroyed". However, I thought I'd mention it because I'm not sure it is intended behavior for str(). I have a list, and the names of the list have a variable number of characters. > x <- list(A=1:10,
2012 Oct 29
2
lapack routines cannot be loaded
I installed R in (what I believe is) the standard way by adding the following line to /etc/apt/sources.list deb http://cran.us.r-project.org/bin/linux/ubuntu precise/ All was well, until I recently upgraded from 2.15.1 to 2.15.2 by running sudo apt-get update sudo apt-get upgrade Now, when I try to do simple things, I get an error. e.g. R> PP.test(rnorm(1000)) Error in