Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-04-2006, 01:11 AM   #1
Registered: May 2005
Distribution: Ubuntu 6.06
Posts: 129

Rep: Reputation: 15
Question [solved] GNU R help with converting SPSS file - object not found

Using ubuntu 5.10 (so you now I'm newbie ). Got R from its' repositories.

I'm trying to learn GNU R for a much needed complete switch to linux. I have a file in spss.sav format that R has to read... I tried
but for both (and any combination) it says: no object found. What am I doing wrong?

If I can open this file in R, this will be a huge step for me to learn R. I have r-base along with about 20 crans including r-cran-foreign, which is supposed to do this conversion.

Any help greatly appreciated. Sorry I begged too much

Solution: library(foreign)
god this thing is hard!

Last edited by towsonu2003; 03-04-2006 at 01:46 AM.
Old 03-04-2006, 03:31 AM   #2
Senior Member
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,611

Rep: Reputation: 133Reputation: 133
Just my 2 cents: I wonder if you have read the manual right (btw I do NOT use and know R). My intuition says you usually have to give a command and a file name. Browsing a little,
seems to support something like this: read.spss("c:/test.sav").
Old 03-04-2006, 11:30 AM   #3
Registered: May 2005
Distribution: Ubuntu 6.06
Posts: 129

Original Poster
Rep: Reputation: 15
I assumed it loads libraries automatically, but that was not the case. I had to call foreign with library (as per above). than use read.spss as shown in help(read.spss), which doesn't work while the library is not loaded.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post cannot open shared object file: No such file or directory tcma Linux - Software 11 02-24-2012 03:00 AM
Producing assembly and object output with GNU make markelo Programming 2 12-22-2005 03:21 AM
JSP context object not found poeta_boy Programming 1 09-21-2005 01:06 PM cannot open shared object file: No such file or directory man26 *BSD 0 09-10-2004 08:34 AM
cgi-bin (object not found, access forbidden) orish Linux - Newbie 3 05-24-2004 03:57 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:17 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration