Move Mac bundle to Windows

30 views
Skip to first unread message

Jiehua Chen

unread,
Oct 16, 2017, 10:48:12 AM10/16/17
to packrat-discuss
Hi,

I created a bundle in Mac, and when I unbundle it in Windows I have the error saying tar cannot connect. What is the right way to share project created by Mac to Windows machines? Thanks!

Kevin Ushey

unread,
Oct 16, 2017, 1:18:00 PM10/16/17
to Jiehua Chen, packrat-discuss
Can you please provide the entire output -- both the command you're executing, and the error output you're seeing?

On Mon, Oct 16, 2017 at 7:48 AM, Jiehua Chen <j...@qed.ai> wrote:
Hi,

I created a bundle in Mac, and when I unbundle it in Windows I have the error saying tar cannot connect. What is the right way to share project created by Mac to Windows machines? Thanks!

--
You received this message because you are subscribed to the Google Groups "packrat-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packrat-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jiehua Chen

unread,
Oct 17, 2017, 4:55:31 AM10/17/17
to packrat-discuss
Hi,

I bundle the project, and put it in the Windows machine. When I do packrat::bundle, I got the error:

/usr/bin/tar: Cannot connect to C: resolve failed

when unzip the file, and run packrat::restore() in R, I also got the error. Any idea?

Installing openssl (0.9.6) ... 
/usr/bin/tar: Cannot connect to C: resolve failed
Error: Does not appear to be an R package (no DESCRIPTION)
In addition: Warning messages:
1: running command 'tar.exe -xf "C:/Users/THINK/Documents/afsis_apicall-2017-10-13.tar/afsis_apicall/packrat/src/openssl/openssl_0.9.6.tar.gz" -C "C:/Users/THINK/AppData/Local/Temp/RtmpCSKANE"' had status 128 
2: In untar(src, exdir = target, compressed = "gzip") :
  ‘tar.exe -xf "C:/Users/THINK/Documents/afsis_apicall-2017-10-13.tar/afsis_apicall/packrat/src/openssl/openssl_0.9.6.tar.gz" -C "C:/Users/THINK/AppData/Local/Temp/RtmpCSKANE"’ returned error code 128
3: running command 'tar.exe -tf "C:/Users/THINK/Documents/afsis_apicall-2017-10-13.tar/afsis_apicall/packrat/src/openssl/openssl_0.9.6.tar.gz"' had status 128 

On Monday, October 16, 2017 at 7:18:00 PM UTC+2, Kevin Ushey wrote:
Can you please provide the entire output -- both the command you're executing, and the error output you're seeing?
On Mon, Oct 16, 2017 at 7:48 AM, Jiehua Chen <j...@qed.ai> wrote:
Hi,

I created a bundle in Mac, and when I unbundle it in Windows I have the error saying tar cannot connect. What is the right way to share project created by Mac to Windows machines? Thanks!

--
You received this message because you are subscribed to the Google Groups "packrat-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packrat-discu...@googlegroups.com.

Kevin Ushey

unread,
Oct 17, 2017, 12:57:16 PM10/17/17
to Jiehua Chen, packrat-discuss
I believe this issue may be resolved with the development version of Packrat. Can you try installing that and trying again?

    devtools::install_github("rstudio/packrat")

On Tue, Oct 17, 2017 at 1:55 AM, Jiehua Chen <j...@qed.ai> wrote:
Hi,

I bundle the project, and put it in the Windows machine. When I do packrat::bundle, I got the error:

/usr/bin/tar: Cannot connect to C: resolve failed

when unzip the file, and run packrat::restore() in R, I also got the error. Any idea?

Installing openssl (0.9.6) ... 
/usr/bin/tar: Cannot connect to C: resolve failed
Error: Does not appear to be an R package (no DESCRIPTION)
In addition: Warning messages:
1: running command 'tar.exe -xf "C:/Users/THINK/Documents/afsis_apicall-2017-10-13.tar/afsis_apicall/packrat/src/openssl/openssl_0.9.6.tar.gz" -C "C:/Users/THINK/AppData/Local/Temp/RtmpCSKANE"' had status 128 
2: In untar(src, exdir = target, compressed = "gzip") :
  ‘tar.exe -xf "C:/Users/THINK/Documents/afsis_apicall-2017-10-13.tar/afsis_apicall/packrat/src/openssl/openssl_0.9.6.tar.gz" -C "C:/Users/THINK/AppData/Local/Temp/RtmpCSKANE"’ returned error code 128
3: running command 'tar.exe -tf "C:/Users/THINK/Documents/afsis_apicall-2017-10-13.tar/afsis_apicall/packrat/src/openssl/openssl_0.9.6.tar.gz"' had status 128 

On Monday, October 16, 2017 at 7:18:00 PM UTC+2, Kevin Ushey wrote:
Can you please provide the entire output -- both the command you're executing, and the error output you're seeing?

On Mon, Oct 16, 2017 at 7:48 AM, Jiehua Chen <j...@qed.ai> wrote:
Hi,

I created a bundle in Mac, and when I unbundle it in Windows I have the error saying tar cannot connect. What is the right way to share project created by Mac to Windows machines? Thanks!

--
You received this message because you are subscribed to the Google Groups "packrat-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packrat-discu...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "packrat-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packrat-discuss+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages