On 24 May 2012 at 22:32, jchrbe wrote:
| Package: r-cran-foreign
| Version: 0.8.40-1
| Severity: normal
| Tags: d-i
| 
| Although R is installed with r-cran-foreign, read.spps() and
| read.spps() are not available at the R prompt, nor are listed
| by read followed by a tab.
| SPSS-files ending by .sav or STATA-files by .dta are not
| loaded into R.

You need to __load__ a package by calling library() first:

R> library(foreign)
R> args(read.spss)
function (file, use.value.labels = TRUE, to.data.frame = FALSE, 
    max.value.labels = Inf, trim.factor.names = FALSE, trim_values = TRUE, 
    reencode = NA, use.missings = to.data.frame) 
NULL
R> args(read.systat)
function (file, to.data.frame = TRUE) 
NULL
R> 

StackOverflow or the r-help list may be useful to you.

Cheers, Dirk
 
 
 
| -- System Information:
| Debian Release: 6.0.5
|   APT prefers stable-updates
|   APT policy: (500, 'stable-updates'), (500, 'stable')
| Architecture: i386 (i686)
| 
| Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
| Locale: LANG=fr_BE.utf8, LC_CTYPE=fr_BE.utf8 (charmap=UTF-8)
| Shell: /bin/sh linked to /bin/dash
| 
| Versions of packages r-cran-foreign depends on:
| ii  libc6                         2.11.3-3   Embedded GNU C Library: Shared 
lib
| ii  r-base-core                   2.11.1-6   GNU R core of statistical 
computat
| 
| r-cran-foreign recommends no packages.
| 
| r-cran-foreign suggests no packages.
| 
| -- no debconf information
| 
| 

-- 
Dirk Eddelbuettel | [email protected] | http://dirk.eddelbuettel.com  



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to