Displaying 20 results from an estimated 1000 matches similar to: "SAS Data"
2009 Mar 10
3
mean +/- SEM
Hi all,
I am looking for a R function which unables me to plot mean +/- SEM. Is there such a function in R?
Many thanks,
Stefo
[[alternative HTML version deleted]]
2009 May 15
2
error writing to connection
Hello,
I am using: save(data,file="D:/mayData.RData"), and I have the following error:
Error in save(data, file = "D:/mayData.RData") : error writing to connection
Thank you very much in advance,
Stefo
[[alternative HTML version deleted]]
2007 Sep 29
3
Data manipulation
Hello,
I am beginner in R and I would like to solve the following problem:
Suppose that we have three files to be red in R d1, d2, and d3
> d1
id x1 x2
1 1 4 n
2 2 3 h
3 3 0 f
> d2
id x1 x2
1 1 2 r
2 2 3 u
3 3 1 f
> d3
id x1 x2
1 1 2 a
2 2 1 w
Is there any library or function that one can read this datasets like
for(i in 1:3)
d[i] <-
2007 Oct 10
1
disperse variable
Hello all,
I read the following variable
> x
x
1 1_A1_ML1_a.DLL
2 11_B1_ML2_a.DLL
3 4_A1_ML3_a.DLL
4 55_C1_ML4_a.DLL
5 14_C1_ML5_a.DLL
I would like to disperse it in three variable such as
> x1
[1] 1 11 4 55 14
> x2
[1] "A1" "B1" "A1" "C1" "C1"
> x3
[1] "ML1" "ML2" "ML3"
2007 Oct 09
2
read sas data into R
Hi
I am having trouble using read.ssd. Can someone help?
The code that I have written is
*sashome<-"C:/Mary/Datasets"*
*read.ssd(read.ssd(file.path(sashome, "core", "sashelp"), "surv_1v",*
*sascmd = file.path(sashome, "sas.exe"))*
Here the path that I have given is correct, where the dataset
surv_1v.sas7bdat is kept. The message that R gives
2008 May 15
1
Reading SAS data into R
Hi R,
Suppose that SAS dataset 'tsubset1' is stored in the path, "Z:/data".
Then I give the below read.ssd() command to read SAS dataset,
'tsubset1.sas7bat' into R.
> library(foreign)
> s=read.ssd("Z:/data","tsubset1",sascmd = "C:/Program Files/SAS/SAS
9.1/sas.exe")
> s
A B C
1 3 4 5
2 6 7 8
3 3 4 5
It reads
2010 Aug 02
1
read SAS dataset using read.ssd()
Hi, I am using read.ssd() from foreign package to read some SAS datasets. I have
2 types of SAS datasets, one with "sas7bdat" extension, the other with "ssd01"
extension. I have no problem with the first dataset type, but got the following
error message with the 2nd dataset type (with "ssd01" extension):
test<-read.ssd("C:/Documents and
2011 Mar 06
1
read.ssd() from foreign package
Hi, I am encountering a confusing problem when I tried to use read.ssd to read
SAS datasets. For one SAS dataset "a.sas7bdat", it did not work; while for
another SAS dataset "b.sas7bdat" it worked:
> tmp<-read.ssd("C:\\SASdata", "a",sascmd="C:/Program
>Files/SAS/SASFoundation/9.2/sas.exe")
SAS failed. SAS program at
2010 Mar 25
1
Read SAS data
Hi!
I need to import in R some SAS dataset (sas7bdat). I found two functions to
do it:
"read.ssd" from the package "foreign" and "sas.get" from "Hmisc".
df = read.ssd(libname = path2data, sectionnames = "sasSmallDataset",
tmpXport = path2data, tmpProgLoc = path2data, sascmd = path2sas)
sas.get(libraryName = path2data, member =
2008 Jun 26
2
Read sas7bdat
Hi,
I was reading e-mail about one doubt that you were when you read files
.sas7bdat in R.
Now, I am with the same problem. But I don?t know how can i do that. I have
download de Sas Viewer and i am using this sintax in r:
> read.ssd("X:\\users\\Anresc07","que0411.sas7bdat")
SAS failed. SAS program at
C:\DOCUME~1\leandro\CONFIG~1\Temp\RtmpXR1Tid\file3d6c4ae1.sas
The log
2006 Dec 20
1
FW: R Version Problem in using write.foreign+SAS
Hi R experts,
I have a problem in Write.foreign command (SAS).
I have a data frame called d.
>d
Datetime
2006-12-01 00:00:00
2006-12-01 00:10:00
2006-12-01 00:20:00
2006-12-01 00:30:00
2006-12-01 00:40:00
>class(d$Datetime)
[1] "POSIXt" "POSIXct"
Then I tried with,
write.foreign(d,"Z:\\try_i.sas7bdat"," Z:\\try_i.sas
2011 Jan 05
1
Reading large SAS dataset in R
Hi all,
I have a large (approx. 1 GB) SAS dataset (test.sas7bdat) located in the
server (“R:/” directory). I have SAS 9.1 installed in my PC and I can read
the SAS dataset in SAS, under a windows environment, after assigning libname
in "R:\" directory.
Now I am trying to read the SAS dataset in R (R 2.12.0) using the read.ssd
function of the “foreign” package, but I get an error
2005 Sep 26
1
reading SAS data files
I am attempting to read in a SAS 9.1 data file. After starting R I
change to the directory containing the sas data file and use the "dir"
command to confirm that it is there. Then I run the following R-code:
library(foreign)
sashome <- "/Program Files/SAS/SAS 9.1"
test<-read.ssd(file.path(sashome), "pcb",
sascmd = file.path(sashome,
2006 Dec 20
1
R Version Problem in using write.foreign+SAS
Hi experts,
I have a problem in Write.foreign command (SAS).
I have a data frame called d.
>d
Datetime
2006-12-01 00:00:00
2006-12-01 00:10:00
2006-12-01 00:20:00
2006-12-01 00:30:00
2006-12-01 00:40:00
>class(d$Datetime)
[1] "POSIXt" "POSIXct"
Then I tried with,
write.foreign(d,"Z:\\try_i.sas7bdat"," Z:\\try_i.sas
2010 Oct 19
1
How to read only ten rows from a SAS dataset (read.ssd)?
I'm trying to read SAS datasets on Windows:
sashome <- "C:/Program Files/SAS/SAS 9.1"
fold <- "C:/temp"
g <- read.ssd(fold, "sasfile", sascmd = file.path(sashome, "sas.exe"))
How to get only e.g first ten rows into R?
-J
2007 Feb 13
5
Fatigued R
Hi R,
Please solve my problem...........
I am extracting Bloomberg data from R, in a loop. R is getting fatigued
by doing this process and gives some errors. I introduced sleep
function. Doing this sometimes I get the results and sometimes not. I
even noticed that if I give complete rest for R (don't open R window)
for 1 day and then run my code with the sleep function, then the
2007 Mar 18
3
Read a .sas7bdat file
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : non disponible
Url : https://stat.ethz.ch/pipermail/r-help/attachments/20070318/73867327/attachment.pl
Importing a SAS file to R: Alas, STILL more problems--has anyone gotten this message before, and why
2004 Feb 09
1
Importing a SAS file to R: Alas, STILL more problems--has anyone gotten this message before, and why
Sorry to write twice in one day--I am a relative newbie to some of these
parts of R, and I am pulling my hair out! B/c I am preparing a file to
use WINBUGS I am cross-posting to the BUGS group as well, in case anyone
there has some ideas on this.
I've got a large SAS dataset that I want to put in R form to more easily
use the file with the hierarchical modeling software WINBUGS. It has
2013 Jan 02
3
suggestions about import SAS results to R.
Hello all,
I have got some data in SAS, and I export it to one excel workbook with multiple sheets, for example, each sheet has the sales information for each state. Then I need to use R to do plotting, analysis on those sales data, where I need to load the data from excel to R.
When I read the article at this link:
http://yihui.name/en/2009/09/how-to-import-ms-excel-data-into-r/
I am
2006 Nov 24
1
Fwd: Dates Conversion/write.foreign
---------- Forwarded message ----------
From: Shubha Vishwanath Karanth <shubhak at ambaresearch.com>
Date: Nov 24, 2006 7:54 PM
Subject: Dates Conversion/write.foreign
To: Shubha Karanth <shubhakaranth at gmail.com>, Shubha Vishwanath
Karanth <shubhak at ambaresearch.com>
Hi R experts,
I need an urgent help...
I have an a dataframe caled idat. Below i give a snapshot