[R] need help opening a file

Charles C. Berry cberry at tajo.ucsd.edu
Sun Jan 27 04:08:33 CET 2008


Sudhindra,

You should read the Posting Guide before asking for help:

 	http://www.R-project.org/posting-guide.html

It has greats hints on how to solve problems like this yourself, and you 
should try them before posting.

It might suggest that this is a good thing to run in R if you need help 
with data 'export':

 	RSiteSearch("export")

The first hit produced is the manual 'R Data Import/Export', which is 
provided along with your installation.

When you look there you will find this section:

 	1.2 Export to text files

RSiteSearch() also gives hits from this newslist from people like yourself 
who could not figure out how to export their data. Reading those should 
help you.

HTH,

Chuck

On Sat, 26 Jan 2008, Sudhindra Gadagkar wrote:

> Hi, I can't believe I am unable to do this.  I just installed R (never used
> it before, but want to learn it).  At present, though. all I want to do is
> export a data file (specifically "crabs" in the MASS library) to a text file
> for use in SPSS.  It allows me to peek into the dataset, using the command
> head(crabs) but I can neither view the entire file nor can I seem to export
> it to a text file. I have been trying to get help from the online help for
> several hours now!  Maybe I just don't know what to search for.
> Frustrating!  Help would be much appreciated.  Thx, S.
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

Charles C. Berry                            (858) 534-2098
                                             Dept of Family/Preventive Medicine
E mailto:cberry at tajo.ucsd.edu	            UC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/  La Jolla, San Diego 92093-0901



More information about the R-help mailing list