Trouble使用Louis Aslett的EC2上的AMI上传大文件到RStudio [英] Trouble Uploading Large Files to RStudio using Louis Aslett's AMI on EC2

查看:394
本文介绍了Trouble使用Louis Aslett的EC2上的AMI上传大文件到RStudio的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

按照此简单教程 http://www.louisaslett.com/RStudio_AMI/ 和视频指导 http://www.louisaslett.com/RStudio_AMI/video_guide.html 我已设置在EC2上的RStudio环境。

After following this simple tutorial http://www.louisaslett.com/RStudio_AMI/ and video guide http://www.louisaslett.com/RStudio_AMI/video_guide.html I have setup an RStudio environment on EC2.

唯一的问题是,我不能上传大文件(> 1GB)。

The only problem is, I can't upload large files (> 1GB).

我可以上传小文件。

当我尝试通过RStudio上传文件时,我出现以下错误:

When I try to upload a file via RStudio, it gives me the following error:


来自服务器的意外空响应

Unexpected empty response from server

有谁知道我如何可以上传这些大文件在RStudio中使用?这是我第一次使用EC2(处理大数据)的全部原因。

Does anyone know how I can upload these large files for use in RStudio? This is the whole reason I am using EC2 in the first place (to work with big data).

推荐答案

不要有shell访问您的Amazon服务器?不要依赖RStudio的上传(合理地具有2Gb限制),并使用适当的unix开发工具:

Don't you have shell access to your Amazon server? Don't rely on RStudio's upload (which may have a 2Gb limit, reasonably) and use proper unix dev tools:

rsync -avz myHugeFile.dat amazonusername@my.amazon.host.ip:

安装cygwin或其他unixy兼容性系统)会将您的大文件传输到您的亚马逊服务器,如果中断将从那时起恢复,将压缩传输的数据。

on your local PC command line (install cygwin or other unixy compatibility system) will transfer your huge file to your amazon server, and if interrupted will resume from that point, will compress the data for transfer too.

对于Windows这样的东西,WinSCP是我们以前在Linux之前的坏的日子做的。

For a windows gui on something like this, WinSCP was what we used to do in the bad old days before Linux.

这篇关于Trouble使用Louis Aslett的EC2上的AMI上传大文件到RStudio的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆