Skip to content
Back to formatted view

Raw Message

Message-ID: <3699CDBC4ED5D511BE6400306E1C0D81030A0687@hermes.demogr.mpg.de>
Date: 2004-02-09T15:47:25Z
From: Rau, Roland
Subject: Another question, unfortunately. . . .(Installing "foreig n"/trying to import/export SAS files)

Hi,

> -----Original Message-----
> From:	Shoultz, Gerald [SMTP:bjz9 at cdc.gov]
> Sent:	Monday, February 09, 2004 3:38 PM
> To:	r-help at stat.math.ethz.ch
> Subject:	[R] Another question, unfortunately. . . .(Installing
> "foreign"/trying to import/export SAS files)
> 
> 
> I am trying to use read.ssd and then read.xport (to get a SAS data set).
> I have imported the package "foreign" according to instructions (
> options(CRAN="http://cran.us.r-project.org/") and
> install.packages("foreign") ), but when I do so and then use either
> read.ssd or read.xport I get the message 'couldn't find function . . .'.
> Obviously these two directions are not getting the file installed
> properly. Is there something I have overlooked somewhere? Please advise.
> 
	In the default settings, the library "foreign" is not pre-installed.
	You have to add it to the current session by typing:
	library(foreign)
	Now, the functions read.ssd and read.xport should be available.

	Best,
	Roland




+++++
This mail has been sent through the MPI for Demographic Research.  Should you receive a mail that is apparently from a MPI user without this text displayed, then the address has most likely been faked.   If you are uncertain about the validity of this message, please check the mail header or ask your system administrator for assistance.