Displaying 20 results from an estimated 2000 matches similar to: "Problem with downloading workspace file from a web address"
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,
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
2008 Sep 23
1
Can R load a saved workspace from the Internet?
Dear All,
Can load() load a saved workspace from an Internet address? I have
tried it but I am getting errors:
In addition: Warning message:
In readChar(con, 5L, useBytes = TRUE) :
cannot open compressed file 'http://XXXXX/workspace.RData', probable
reason 'No such file or directory'
Paul
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 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
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
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 -
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
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
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
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
2006 Aug 03
3
Looking for transformation to overcome heterogeneity of variances
Dear All
My data consists in 96 groups, each one with 10 observations. Levene's
test suggests that the variances are not equal, and therefore I have
tried to apply the classical transformations to have homocedasticity
in order to be able to use ANOVA. Unfortunately, no transformation
that I have used transforms my data into data with homocedasticity.
The histogram of variances is at
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
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")
>
2006 Nov 07
1
reading VERY large binary files
Hello,
I am trying to read in elements out of a very large binary file ... the
total file is 4 gigs. I want to select rows out of the file, and the
current procedure I run works but is prohibitively slow (takes more than
a day to run and still won't complete). Is there any faster way to
accomplish this?
My current procedure looks like this:
readHH <- function(file_name,
2007 Jun 14
1
Clarification for readChar man page
Hi,
Here's a patch to the readChar manual page (R-trunk as of today) that
better clarifies readChar's return value. It could use some work as I'd
also like to add some text about using nchar() to find the length of the
string that readchar() returns, but I'm unsure which of type="bytes" or
type="chars" to mention. Is it type="chars"?
Index: