Displaying 20 results from an estimated 100 matches similar to: "Part II Re: read.ssd {foreign} (Reading a permanent SAS d ataset into an R data frame)"
2002 Dec 25
0
Part II Re: read.ssd {foreign} (Reading a permanent SAS d ataset into an R data frame)
Scot,
Thanks for the additional information. On further
reflection... whether one uses SAS PROC EXPORT or uses
a SAS LIBNAME yourfile XPORT 'yourpathname';
statement, an intermediate file is created in either
case. As far as experience tells me now, PROC EXPORT
is a far superior choice, because variable names do
not get truncated and you only have to deal with
reading in a simple text
2008 Feb 01
2
the "union" of several data frame rows
Hi,
I have a question about how to obtain the union of several data frame
rows. I'm trying to create a common key for several tests composed of
different items. Here is a small scale version of the problem. These
are keys for 4 different tests, not all mutually exclusive:
id q1 q2 q3 q4 q5 q6
1 A C
2 B D
3 A D B
4 C D B D
I would like
2002 Dec 21
2
Part II Re: read.ssd {foreign} (Reading a permanent SAS d ataset into an R data frame)
>>>>> "Stephen" == Stephen Arthur <sarthur67 at yahoo.com> writes:
Stephen> The SAS data set I PROC CPORTed is [9] the result is [10].
Stephen> I PROC CIMPORTed [10] back to its orginal state [9], and it
Stephen> worked.
Stephen> So the SAS people think that the error is not with the SAS
Stephen> XPORT file, but with R trying to load a text
2002 Dec 20
2
Part II Re: read.ssd {foreign} (Reading a permanent SAS d ataset into an R data frame)
try:
library(foreign)
read.ssd("J:\\QM\\Reports\\Sarthur\\SAS_Application\\SAS_Data_Sets","use")
instead, hth, Merry Christmas, Bernhard
-----Original Message-----
From: Stephen Arthur [mailto:sarthur67 at yahoo.com]
Sent: 20 December 2002 16:55
To: ripley at stats.ox.ac.uk; rossini at blindglobe.net
Cc: r-help at stat.math.ethz.ch; stvjc at channing.harvard.edu
Subject:
2003 Mar 10
2
graphics backgrounds from gray to white in png()
Hi,
I'm trying to make a png file of a histogram. I would like a white
background in the final product but end up producing a gray one, despite
setting what I think are the correct parameters. Suggestions for how to
properly set a white background would be welcome.
Thanks in advance,
Scot
# for non-lattice
> par("bg"="white")
> par("bg")
[1]
2008 Jun 03
0
reading a file incrementally
Hi,
I'm trying to read a file containing html markup (discussion board
posts) and output the various parts of each post to an field in a record
in an output file (date, author, title, body). This is a one-off job
and I'm trying to use R to do it.
The file looks something like this:
<br><ul>Created: --- - Dr. Johnsons's article -
concerns<br><p>After
2005 Aug 25
1
question about custom contrasts in ANOVA
Hi,
I have a problem in which I have test score data on students from a number
of schools. In each school I have a measure of whether or not they
received special programming. I am interested in the interaction between
school and attendance to the programming, but in a very select set of
comparisons. I'd like to cast the test as one in which students in each
school who attend are
2003 Aug 20
0
end-of-loop-timeout problem and submit-bug-report output (resending) (PR#3841)
(Hi,
I tried sending this to ess-bugs, but got it bounced back: "user unknown".
Hope this isn't too off-topic for ess-help.
Scot)
I'm using Xemacs 21.4, ess 5.1.24, on Windows 98 SE, with John Fox's
configuration files:
(http://socserv.mcmaster.ca/jfox/Books/Companion/ESS/index.html)
and am getting the end-of-loop-timeout warning message I've seen reported
to
2005 Jul 11
1
small first graph of par(3,2), other 5 are correct
Hi,
I'm trying to produce 6 graphs on a single page using code I've borrowed
from an example by Paul Murrell:
(http://www.stat.auckland.ac.nz/~paul/RGraphics/custombase-xmastree.R).
It involves placing 6 horizontal barplots on one page and adding common
labels.
The problem is the first graph in my figure (the one in the (1,1)
position) is smaller than the other 5. A toy example is
2012 May 04
2
Can't import this 4GB DATASET
Dear Experienced R Practitioners,
I have 4GB .txt data called "dataset.txt" and have attempted to use *ff,
bigmemory, filehash and sqldf *packages to import it, but have had no
success. The readLines output of this data is:
readLines("dataset.txt",n=20)
[1] " "
2004 Nov 28
1
lm help: using lm when one point is known (not y intercept)
Hello-
My question is a short one. How can I specify a single point which
through the fitted linear model has to go through? To illustrate my
problem, the fit to following data must go through the point
(-37.25(effect), 50(prob)). Note: you can ignore the label column.
Effect Prob Label
1 -1143.75 7.142857 L
2 -572.75 21.428571 D
3 -223.75 35.714286 GL
4 123.25
2006 Dec 28
1
LU bug in Matrix package
There is a bug in Matrix package, please check it, thanks!
Matlab result:
x =
1 2 3 4 5
6 7 8 9 10
11 12 13 14 15
16 17 18 19 20
21 22 23 24 25
>> lu(x)
ans =
21.0000 22.0000 23.0000 24.0000 25.0000
0.0476 0.9524 1.9048 2.8571 3.8095
0.7619
2003 Apr 20
2
Rgui crashes after setting par(ask=TRUE) and using lattice (PR#2801)
Full_Name: Scot McNary
Version: 1.7
OS: Windows 98se
Submission from: (NULL) (134.192.131.246)
Hi,
Rgui causes a page fault when asking for lattice graphics after setting
par(ask=TRUE). This doesn't happen in 1.6.2, but does in 1.7.0.
library(lattice)
par(ask=TRUE)
example(dotplot)
Windows "Details" about crash:
RGUI caused an invalid page fault in
module R.DLL at
2007 Jun 27
3
Correlation ratio
Hi,
I wanted to know how to compute the correlation ratio (eta) between two
variables using R. Is there any function to compute the correlation ratio.
Any help will be very much appreciated.
Thanks,
Suman
[[alternative HTML version deleted]]
2001 Nov 07
4
Help on programming
I am a new user of R and would like a bit of advice.
I wish to write a short program in R that I can call up when I want to run
it. How do I go about storing and recalling the particular code that I
write?
Many thanks
Bob Banks
_________________________________________________________________
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list
2013 Jul 28
2
[LLVMdev] Enabling the SLP-vectorizer by default for -O3
Hi,
Below you can see the updated benchmark results for the new SLP-vectorizer. As you can see, there is a small number of compile time regressions, a single major runtime *regression, and many performance gains. There is a tiny increase in code size: 30k for the whole test-suite. Based on the numbers below I would like to enable the SLP-vectorizer by default for -O3. Please let me know if you
2002 Apr 30
3
Labeling matrix data
Hello all -
I am sorry if this simple question is addressed in somewhere else. But, I couldn't find it. It's been for about a week using R. . .
My problem is:
Reading matrix data with "scan" does not seem to allow me to incorporate matrix labels (columns, and rows).
If I use read.table, I can import the lables. But, the problem is, I don't know how I make this data as
2010 Oct 01
3
scoping goes wrong when some functions are used within others.
Dear,
I'm following the r tag on stackoverflow.com, and couldn't but notice
there are quite some questions popping up that deal with scoping in
relation to custom functions. I grinded my teeth on it already, and I
have absolutely no clue what goes wrong. The general pattern is as
follows :
ff <- function(x){
y <- some_value
some_function(y)
}
> ff(x)
Error in eval(expr,
2002 Feb 08
3
Plotting multiple columns on same graph
I'd like to produce a series of simple line graphs for my methods class
that show the three questions used on a repeated survey to make up a
particular index. The data frame is:
> efficacy.df
year complicated havesay dontcare
1 1952 71 68 63
2 1954 NA NA NA
3 1956 64 71 71
4 1958 NA NA NA
5 1960
2001 Apr 23
3
missing ctest and methodological question
Hi,
I couldn't figure out how to use the functions from the
ctest library. I'm using the r-base package that comes with
debian potato. library("ctest") told me that no such package
existed. I checked the CRAN, but no such package was
availiable, instead I was told that it would be part of the
standard installation. But functions from ctest like
shapiro-wilk don't work. The