Re: [R] in unix opening data object created under win

From: <toby909_at_gmail.com>
Date: Thu, 24 May 2007 17:33:02 -0700

On Unix R's version is 2.3.1 and on PC its 2.4.1.

I dont have the rights to install newer version of R on Unix.

I tried different upload methods. No one worked.

On Unix it looks as follows (dots to hide my userid):

 > load("/afs/ir/users/........../project/ps/data/dtaa")  > head(dtaa)

      hospid     mfpi1 mfpi2 mfpi3     mfpi4 mfpi5 mfpi6     mfpi7 mfpi8
NA        9 0.1428571     1   0.5 0.2857143  0.50   0.0 0.3333333     0
4041      9 0.1428571     0   0.0 0.2857143  0.25   0.2 0.0000000     0
          mfpi9

NA 0.3333333
4041 1.0000000
 >

The data comes through but its screwed up.

Thanks for your help.

Toby

Liaw, Andy wrote:
> What are the versions of R on the two platform? Is the version on Unix
> at least as new as the one on Windows?
>
> Andy
>
> From: toby909_at_gmail.com
>
>>Hi All
>>
>>I am saving a dataframe in my MS-Win R with save().
>>Then I copy it onto my personal AFS space.
>>Then I start R and run it with emacs and load() the data.
>>It loads only 2 lines: head() shows only two lines nrow() als
>>say it has only 2
>>lines, I get error message, when trying to use this data
>>object, saying that
>>some row numbers are missing.
>>If anyone had similar situation, I appreciate letting me know.
>>
>>Best Toby
>>
>>______________________________________________
>>R-help_at_stat.math.ethz.ch 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.
>>
>>
>>
>
>
>
> ------------------------------------------------------------------------------
> Notice: This e-mail message, together with any attachments,...{{dropped}}
>
> ______________________________________________
> R-help_at_stat.math.ethz.ch 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.
>



R-help_at_stat.math.ethz.ch 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. Received on Fri 25 May 2007 - 00:46:32 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 25 May 2007 - 11:31:47 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.