Displaying 20 results from an estimated 10000 matches similar to: "Can R load a saved workspace from the Internet?"
2009 Sep 26
1
Problem with downloading workspace file from a web address
Dear All,
To load a previously saved workspace, one can do the following:
load("/path/to/the/saved/workspace/file")
However, if the path to the saved workspace file is a web address, one
gets the following error:
?Error in readChar(con, 5L, useBytes = TRUE) : cannot open the connection
In addition: Warning message:
In readChar(con, 5L, useBytes = TRUE) :
cannot open compressed file
2017 Oct 07
2
load() failed to load .Rdata file in AWS-Ububtu
Hi again,
I hope this is the right place to post my question on running R within
Ubuntu, however if not, any pointer on right distribution list will be
helpful.
I am currently using R in Ubuntu which is hosted in Amazon - AWS.
I have a .Rdata file in AWS which I am trying to load in R. Used
following code, however, fails to load showing some permission issue.
However that same .Rdata file is
2012 Sep 12
1
unzipping with ff
I've noticed that ff uses the unzip utility available on it's host OS to
load datasets via ffload. It seems to work fine in linux, but when I try
to use the package in Windows (hence dling Windows unzip utils) I get 2
errors, one telling me that the options aren't being passed to unzip
correctly and another indicating that my filename is incorrect. First,
does anyone know of an unzip
2017 Oct 07
0
load() failed to load .Rdata file in AWS-Ububtu
Hi Christofer,
The directory /srv/shiny-server would normally be owned by the root user.
Your options would seem to be to either (1) bring up the R session as root
(dangerous)
or (2) try copying the file to your local directory and read it from there
(if allowed).
e.g. from the Unix shell:
> cd ~ (i.e. cd to your home directory)
> cp /srv/shiny-server/Dat.Rdata . (Note the '.' at
2011 Sep 28
1
using the system command
Hi,
I started playing around with a function for using StatTransfer (version
10) for importing data. This started as a simple task but it's not
working and so now I'm very frustrated. I'm using R version 2.13 on
Windows 7.
The function, called fn.importData, is:
function(file = NULL, type = NULL){
##
## create statTransfer command file -
2017 Oct 08
2
load() failed to load .Rdata file in AWS-Ububtu
Thanks Eric for your pointer. However I just altered the argument of
load() function a little bit to get that loaded. Below is the line
what I tried.
ubuntu at ip-172-31-23-148:~$ R
R version 3.4.2 (2017-09-28) -- "Short Summer"
Copyright (C) 2017 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO
2017 Sep 12
3
Load R data files
Dear All:
I am trying to load an R data set, but I got the following message. Please
see below. The file is there.
setwd("F:/Fall_2017/5-STA574/2-Notes/1-R/1-R_new/chapter4-Entering_Data")
datahs0csv <- read.table("hs0.csv", header=T, sep=",")
attach(datahs0csv)
detach(datahs0csv)
rm(list=ls())
Then I tried to reload the data, but I got this error message. I
2017 Oct 09
0
load() failed to load .Rdata file in AWS-Ububtu
Hi Christofer,
The shiny code you have written does not depend on loading the Dat.RData
file.
I commented out that line and ran your shiny app on my machine and it works
fine.
What happens if you comment out (or remove) the line
load("/home/ubuntu/Dat.RData)
Does your shiny app still fail? If so, then your problem is quite basic
with your AWS setup.
Try to work through a simple
2017 Oct 09
1
load() failed to load .Rdata file in AWS-Ububtu
Hi Eric, thanks for your further pointer.
I have put a line with load() function just as an illustration of a
bigger project of mine, which appears failing due to load() function
issue.
If I comment out that line my shiny app is working correctly locally
and globally.
otherwise, locally my shiny app is working but not with AWS.
On Mon, Oct 9, 2017 at 12:37 PM, Eric Berger <ericjberger at
2017 Sep 12
0
Load R data files
Hi Abou,
You haven't saved the datahs0csv.
When you are done manipulating datahs0csv you can use save(datahs0csv, file
= 'datahs0csv.rda'). Then you should be able to load the data.
HTH
Ulrik
On Tue, 12 Sep 2017, 20:46 AbouEl-Makarim Aboueissa <
abouelmakarim1962 at gmail.com> wrote:
> Dear All:
>
> I am trying to load an R data set, but I got the following message.
2017 Sep 12
2
Load R data files
Dear All:
It was saved, but there was a space somewhere. So it works for me now.
I do have another similar problem.
I saved an R data file
save(datahs0csv,file="
F:\Fall_2017\5-STA574\2-Notes\1-R\1-R_new\chapter4-Entering_Data/datahs0csv2
.rda")
*The new R data file "*datahs0csv2.rda*" is in the directory.*
I tried to load the file "" to R, but I got an error
2017 Sep 12
0
Load R data files
The object you load has the same name as the object you saved. In this case
datahs0csv and not the name of the file sans .rda
On Di., 12. Sep. 2017, 21:26 AbouEl-Makarim Aboueissa <
abouelmakarim1962 at gmail.com> wrote:
> Dear All:
>
>
> It was saved, but there was a space somewhere. So it works for me now.
>
> I do have another similar problem.
>
> I saved an R
2011 Aug 04
1
slightly speeding up readChar()
Hi,
I was trying to have R read files faster with readChar(). That was before I noticed that readChar() is not that bad! In any case, below I suggest a few simple changes that will make readChar slightly faster.
I followed readChar(useBytes=T), and tried to identify all O(N) operations, where N is the size of the file. The assumption is that for LARGE files we want to avoid any O(N) operations,
2008 Jun 26
2
Problems loading an S-Plus object
I have inherited some S-Plus code and objects that I am trying to get
to work in R.
The object files (3 __i files and one ___nonfi file) are stored in a
folder (named _Model), but when I try to use "attach("c:/_Model")" I
get an error saying "Error in readChar(con, 5L, useBytes = TRUE) :
cannot open the connection"
Any help with this issue would be greatly
2010 May 05
1
handling nulls while reading mainframe file
Hi,
I am trying to read in records from an old main frame file. Each record is
640 bytes. I had some success using the following statement:
iconv(readChar(con, nchars=640, useBytes =
TRUE),from="IBM037",to="",sub="#")
What I have found, however, is that ocassionally a record will contain a
Null halfway through, which causes readChar() not to read the rest of the
2011 Apr 05
2
Pulling strings from a Flat file
Hi,
I have a flat file that contains a bunch of strings that look like this. The file was originally in Unix and brought over into Windows:
E123456E234567E345678E456789E567891E678910E. . . .
Basically the string starts with E and is followed with 6 numbers. One string=E123456, length=7 characters. This file contains 10,000's of these strings. I want to separate them into one vector the
2007 Aug 23
3
RData File Specification?
Hi,
I am developing a tool for converting a large data frame stored in an uncompressed binary (XDR) RData file to a delimited text file. The data frame is too large to load() and extract rows from on a typical PC. I'm looking to parse through the file and extract individual entries without loading the whole thing into memory.
In terms of some C source functions, instead of doing
2012 May 10
0
Fwd: Re: need help in R
> i need help in my coding
> the first line and the second line works and the ggplot works
> when i have a code like this and i want to fetch a map and saves it to
> a directory how can i put it
> because it gives me an error message
> Error in load(GGemz) : bad 'file' argument
>
> GGemz <- ggooglemap(center=center,zoom=13,destfile="Emz.png")
>
2010 May 31
3
How to delete the previously saved workspace restored
Dear all,
I am a new user of R, here I have a question about remove the previous
restored workspace. I saved the workspace last time, but R always
automatically load the workspace when I open it. I try to remove the
object and then close R without saving. But next time when I open R, it
always load the previous workspace. I want to delete the .RData in the
directory, but I have no clue
2010 Nov 14
3
How to permanently remove [Previously saved workspace restored]
Win 7 64 bit
R version 2.11.1 (2010-05-31)
How to permanently remove;
[Previously saved workspace restored]
> rm (list = ls( ))
On next start it still displays;
.....
[Previously saved workspace restored]
There is a file keeping the previous data on Linux
.Rdata
How about on Windows?
TIA
B.R.
Stephen L