cygwin has bin/xz
the mac doesnt have xz in its /bin
I won't follow through today. reading the r code
for
Browse[1]> xzfile
function (description, open = "", encoding = getOption("encoding"),
compression = 6)
.Internal(xzfile(description, open, encoding, compression))
<bytecode: 0x095cce70>
<environment: namespace:base>
is the next step, but not today.
On Fri, Jun 8, 2012 at 6:09 PM, Richard M. Heiberger <[email protected]> wrote:
> I am using exactly the same Rtools etc on both the real Windows machine
> and the Parallels version on the Mac.
>
> FOllowigin your hint I am sure the problem is a file
> extension association inside parallels. The trick is to
> find it. I am now doing a "find / -name xz"
> on both machines.
>
> Is it true that noone else has attempted to build a package on the windows
> side of a parallels windows on a mac?
> On Fri, Jun 8, 2012 at 5:56 PM, David Winsemius <[email protected]>wrote:
>
>>
>> On Jun 8, 2012, at 5:16 PM, Richard M. Heiberger wrote:
>>
>> I just changed all 6 to
>> C:\Program Files\R\R-2.15.0\bin\i386\Rgui.exe which
>> displays as "R for Windows Gui front-end"
>> Doing that did not solve this problem.
>>
>>
>> As I suggested before, I don't really think this is a Mac problem. I
>> think you should be looking for solutions that involve creating Windows
>> capabilities to handle the deficient compressed file format processing.
>> WinZip is not a free program, but perhaps the Win-GNU facilities would be
>> available. Have you gone through the process of installing Murdoch's Rtools
>> suite on your virtualized Windows?
>>
>> --
>> David.
>>
>>
>> I guess the next step is reading the scripts in Rtools.
>> On Fri, Jun 8, 2012 at 5:05 PM, Richard M. Heiberger <[email protected]>wrote:
>>
>>> Yes,
>>> .q .r .rcommand .rd .rda .rds
>>> are sent to R (Mac).
>>>
>>> .rdata ggoes to R for Windows GUI front end.
>>> I will experiment with the right target for the others.
>>>
>>> On Fri, Jun 8, 2012 at 5:03 PM, Richard M. Heiberger <[email protected]>wrote:
>>>
>>>> David,
>>>>
>>>>
>>>> that makes sense to me. How do I respond to it?
>>>>
>>>>
>>>> I ran into a similar situation yesterday. On the Windows side I
>>>>
>>>> have Acrobat Reader. Yet the default for pdf files on the Windows side
>>>> was Macintosh Preview and Windows couldn't start it. I changed it
>>>>
>>>> to Acrobat Reader and then Windows could display the pdf files.
>>>>
>>>> I will look at the file extensions map now for lzma. Should you get
>>>> back to me before I find it, I would be very happy.
>>>>
>>>>
>>>> Rich
>>>>
>>>> On Fri, Jun 8, 2012 at 4:53 PM, David Winsemius <
>>>> [email protected]> wrote:
>>>>
>>>>>
>>>>> On Jun 8, 2012, at 4:21 PM, Richard M. Heiberger wrote:
>>>>>
>>>>> I just bought a Mac and am learning it.
>>>>>>
>>>>>> I have a package which "R CMD check"s normally on a PC and in Mac
>>>>>> mode on
>>>>>> the new Mac.
>>>>>> Under Windows in Parallels on the Mac, I am getting a message I don't
>>>>>> understand.
>>>>>>
>>>>>> * checking data for ASCII and uncompressed saves ... WARNING
>>>>>> Error in xzfile(file, "wb", compression = 9) : cannot open the
>>>>>> connection
>>>>>> Calls: <Anonymous> -> resaveRdaFiles -> save -> xzfile
>>>>>> In addition: Warning message:
>>>>>> In xzfile(file, "wb", compression = 9) :
>>>>>> cannot initialize lzma encoder, error 5
>>>>>> Execution halted
>>>>>>
>>>>>> I looked for xzfile and lzma on the mac list archive in gmane and
>>>>>> didn't
>>>>>> see anything.
>>>>>> Does anyone have experience with this message?
>>>>>> Is gmane the best way to search the mac list archive?
>>>>>>
>>>>>
>>>>> It sounds more like a Windows/Parallels problem. I would not have
>>>>> expected the Mac xzfile functions to be offered to R running within
>>>>> Windows, even if they are on Mac hardware.
>>>>>
>>>>> --
>>>>>
>>>>> David Winsemius, MD
>>>>> West Hartford, CT
>>>>>
>>>>>
>>>>
>>>
>>
>> David Winsemius, MD
>> West Hartford, CT
>>
>>
>
[[alternative HTML version deleted]]
_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac