Displaying 20 results from an estimated 1000 matches similar to: "Read SPSS data (*.sav) in R 1.8.0 (ok) and R1.9.1(error)"
2005 Feb 10
2
Mean calculated from R1.9.1 different from R2.0.1
Hello,
I ran my simulations on the Unix verson of R1.9.1 and the Windows version
of R2.0.1 on XP. I kept getting different values for the mean of the same
column of the same matrix, and am perplexed. I would appreciate if anyone
could help explain the difference?
Here is a sample code:
set.seed(7293)
z1v <- rnorm(1000, mean=68, sd=13)
z1v <- (z1v-mean(z1v))/sd(z1v)
Using R1.9.1 on Unix,
2004 Nov 22
2
Danish characters i R2.0.1 vs R1.9.1 under winXP
Hi all.
After upgrading to R2.0.1 i get
> "??"
[1] "??"
> "??"
[1] "\370"
> "??"
[1] "??"
Whereas under R1.9.1 i get
> "??"
[1] "??"
> "??"
[1] "??"
> "??"
[1] "??"
Any hints apreciated.
Steen
Steen Ladelund, statistician
+4543233275
2004 Jul 27
0
Reading SPSS file
Hi Karl:
a possible solution:
require(foreign)
mydata <- read.spss("somedata.sav", use.value.labels = TRUE, to.data.frame = TRUE)
-----
for more information, try
library(foreign)
?read.spss
HTH,
Arin
Message: 21
Date: Mon, 26 Jul 2004 10:36:33 +0200 (CEST)
From: Karl Knoblick <karlknoblich@yahoo.de>
Subject: [R] Read SPSS data (*.sav) in R 1.8.0 (ok) and R1.9.1(error)
To:
2004 Sep 07
2
package methods different behaviour R1.9.1 patched and R2.0.0
Hi!
Concerning different behaviour between 1.9.1 patched and:
R : Copyright 2004, The R Foundation for Statistical Computing
Version 2.0.0 Under development (unstable) (2004-09-06), ISBN 3-900051-07-0
Subtitle:
as(x,"vector"); x is of class "Massvector"; never enters setAs("Massvector","vector"...
The same code:
as(mvl[[1]],"vector")
causes
2004 Jun 28
1
RMysql installation problem.
Hi!
I am trying to install the RMySQL package. The installation stops with the following error message.
path to mysql is set.
setenv PKG_CPPFLAGS /home/arabidopsis/software/R1.9.1/linux/mysql/include
setenv PKG_LIBS /home/arabidopsis/software/R1.9.1/linux/mysql/lib
R CMD INSTALL RMySQL_0.5-5.tar.gz
#....cut cut.
creating src/Makevars
** libs
gcc
2004 Oct 19
1
Fatal error: invalid home drive
Dear R-helpers,
I have just installed R2.0.0 onto my machine which already had R1.9.1
present.
I then tried to add to R2.0.0 a library called GLMM written by James McBroom
for R1.6.0. Unfortunately, R2.0.0 does not recognise the library, even
though
R1.9.1 does. This is not because I have used the wrong case in the call to
the
library:
> library('GLMM')
> "Error in
2004 Oct 06
4
R2.0.0 bug in function vcov in library survival (PR#7266)
Full_Name: Sven Sandin
Version: 2.0.0
OS: SuSE Linux 9.0
Submission from: (NULL) (81.227.17.135)
Have just compiled and installed R-2.0.0.tar.gz running SuSE9.0.
The function vcov do not accept "coxph" object as input any longer.
The same R-program running R1.9.1 do work. R-program attached below.
Exporting the coxph object from R2.0.0 to R1.9.1 I get vcov ouput in R1.9.1.
Exporting
2003 Nov 14
4
LOCF - Last Observation Carried Forward
Hi!
Is there a possibilty in R to carry out LOCF (Last Observation Carried Forward) analysis or to create a new data frame (array, matrix) with LOCF? Or some helpful functions, packages?
Karl
---------------------------------
Gesendet von http://mail.yahoo.de
Schneller als Mail - der neue Yahoo! Messenger.
[[alternative HTML version deleted]]
2004 Sep 29
2
RSXML - Parsing XML Documents on Internet
R Users -
I asked about this a few months ago and never did quite figure it out, so with more information, allow me to try again.
If I use the following code:
library(xml)
xmlTreeParse("http://home.comcast.net/~larsenmtl/xmlTestDoc.xml", isURL = TRUE)
I receive this error:
Error in xmlTreeParse("http://home.comcast.net/~larsenmtl/xmlTestDoc.xml"", :
error in
2004 Sep 30
3
Is there any way to release memory in running time?
Hi all,
I am doing some intensive computation right now. My system is Pentium4 3.20G
+ 1.0G RAM + WindowsXP + R1.9.1. It seems my computer is very powerful.
However, when I do some simple matrix algebra operations based on a matrix
(DD) with dimension 5000000 by 2, I found that the consumption of RAM is
huge. For example, the command a <- 1 - DD[,2] eats my 100M RAM. Does anyone
know how
2004 Jul 13
2
memory problem?
Hi everyone,
I'm running R1.9.1 on RedHat Linux. I'm trying to read in a matrix
file with 13956 by 858 dimensions. I realize this is pretty huge, though
I think the amount of memory I have should be able to handle it. R reads
the entire file and tells me "Read in 11974247 values". This is exactly
one less value than what it should have read in (11974248 = 13956*856).
2004 Sep 27
2
Getting code for functions
Hello
Pardon for the elementary question, I did try searching the archives
with various terms, but to no avail. I am using R1.9.1 on a windows
machine
One of the great advantages of R (to me, anyway) is being able to see
the code for a function , e.g. by typing sd one sees the code for
getting a standard deviation.
However, for many functions this only provides info. including
UseMethod, eg.
2004 Jul 22
2
gcc on AIX is not compatile with R-1.9.1
Hi Uwe Liqqes,
Does the successful compilation for R-1.9.1 on AIX 5.1 depend on the
IBM AIX compiler for C and C++ (xlc/xlC)? gcc on AIX is not compatible
with R1.9.1.
Kexiao
-----Original Message-----
From: Uwe Ligges [mailto:ligges at statistik.uni-dortmund.de]
Sent: Sunday, July 18, 2004 8:19 AM
To: Liao, Kexiao
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] Install R on AIX 5.2 64 Bit
2005 Feb 17
2
How to upgrade library from R 1.9.1 to R 2.0.1
Dear All:
I have a library for R 1.9.1, it is very easy to setup a library in R 1.9.1.
For example:
I want to setup a library "test" for R1.9.1.
1. Create a folder "test" in the direct X:\ R\ rw1091\ library \.
2. Create a file "DESCRIPTION" in the direct X:\ R\ rw1091\ library\ test\.
3. Modify the "Package:" and "Title:"
2004 Aug 19
3
probability histogram question
Hello, all;
I get an unexpected result when trying to plot a probability histogram
with R1.9.1 on windows xp:
#with the following code:
> x <- runif(100,0,1)
> hist(x)
> hist(x, freq=F)
> h <- hist(x, freq=F)
> summary(h)
# Length Class Mode
#breaks 11 -none- numeric
#counts 10 -none- numeric
#intensities 10 -none- numeric
#density 10
2005 Feb 22
1
problems with tcltk in R 2.0.1 (PR#7698)
Full_Name: Vidar Hjellvik
Version: 2.0.1
OS: windows
Submission from: (NULL) (82.134.28.194)
I have an tcltk application that runs without problems in R1.9.1, but when I
press the "run"-button (and other buttons as well) in R2.0.1, I get the
message:
"Error in function () : can't change value of a locked binding".
I have another tcltk application that runs fine on
2004 Aug 11
2
Xemacs do not want to execute help.start() with R1.9.1
Hi all,
I 've just reinstalled from the scratch my Windows 2000 (Italian version)
on a formatted HD, because I like to clean
the environment from time to time (say once a year).
I'm currently using XEmacs-21.4.13 and R (rw1091)
and Xemacs is configured as described in
http://socserv.socsci.mcmaster.ca/jfox/Books/Companion/ESS/ess-xemacs.pdf
The problem is that the command
help.start()
2005 May 30
1
Unique arrangements of a vector
Dear List,
Running on a PC (Windows 2000) with 256 MB RAM, Version R1.9.1
I have a relatively simple problem, which I can solve for relatively small
datasets, but run into difficulties with larger ones. I believe that my
approach is a hack rather than something elegant and I was hoping that
somebody on this list might help me improve my code. Basically, given a
vector of values (e.g.,
2004 Aug 01
1
Problem with RGui and MASS
Hi,
Using R1.9.1 for Windows with Windows 2000 (also XP), I have come
across the following problem that I have not seen before and am at
a loss to explain. If I create an object using rlm from library(MASS)
and then save the workspace, I cannot reopen it using RGUI by double
clicking on the .RData file as I normally do. If I double click on
the icon, R starts and then gives the following
2003 Oct 01
5
lda source code
I am new to R. Trying to find out how lda() {in MASS R1.8.0 Windows} was
implemented in R. Does anyone know where to find out lda source code ?
Thanks.
Wei