similar to: load() failed to load .Rdata file in AWS-Ububtu

Displaying 20 results from an estimated 10000 matches similar to: "load() failed to load .Rdata file in AWS-Ububtu"

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 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 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 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
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 -
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
2010 Mar 22
2
Why "\\" instead of simple "/" to specify a file path
Hi all, I have saved my workplace in a .RData format. However if I want to open that, I need to use following code : load("C:\\......") Here my question is why "\\". In all the time generally we use "/" like when we use read.delim() function etc. Is there any possibility to have some consistency there? Is there any other way to re-open the .RData file? Thanks, --
2017 Aug 23
1
How to benchmark speed of load/readRDS correctly
Hi there Thanks for your answers. I didn't expect that this would be so complex. Honestly, I don't understand everything you wrote since I'm not an IT specialist. But I read something that reading *.rds files is faster than loading *.Rdata and I wanted to proof that for my system and R version. But thanks anyway for your time. Cheers Raphael > -----Urspr?ngliche Nachricht-----
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
2010 Mar 22
2
Fw: Re: Why "\\" instead of simple "/" to specify a file path [modified]
Hi, I was following this thread and would like to ask is there any way to save and open a .RData file after using some Password. What I mean to say, how to make my workplace password-protected? Also would like to know how same can be done for .R file. Thanks for your time. Thanks and regards, --- On Tue, 23/3/10, David Winsemius <dwinsemius@comcast.net> wrote: From: David Winsemius
2005 Apr 07
2
Zipping Rdata Files
Saving Rdata files in a zip archive form can in some cases save a considerable amount of disk space. R has the zip.file.extract function to extract files from zip archives, but appears not to have any corresponding function to save in zipped form. (At least I have not been able to find anything in the help files or through searching the mail archives.) The system function can be used to call gzip
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
2012 Dec 20
3
Problem loading .r file
Hello all, I was trying to load a .r file using source() and load() functions. Although I could be able to load the codes (mainly few user defined functions) written in that .r. file correctly, however getting following error: > source("D:/Book Code.r") Error in sys.call(sys.parent()) : node stack overflow > load("D:/Book Code.r") Error: bad restore file magic number
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
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
2018 Mar 04
3
Change Function based on ifelse() condtion
Below is my full implementation (tried to make it simple as for demonstration) Lapply_me = function(X = X, FUN = FUN, Apply_MC = FALSE, ...) { if (Apply_MC) { return(mclapply(X, FUN, ...)) } else { if (any(names(list(...)) == 'mc.cores')) { myList = list(...)[!names(list(...)) %in% 'mc.cores'] } return(lapply(X, FUN, myList)) } } Lapply_me(as.list(1:4), function(xx) { if (xx ==
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.
2010 Jul 10
7
Need help on date calculation
Hi all, please see my code: > library(zoo) > a <- as.yearmon("March-2010", "%B-%Y") > b <- as.yearmon("May-2010", "%B-%Y") > > nn <- (b-a)*12 # number of months in between them > nn [1] 2 > as.integer(nn) [1] 1 What is the correct way to find the number of months between "a" and "b", still
2009 Nov 09
3
Hand-crafting an .RData file
Hello, I frequently have to export a large quantity of data from some source (for example, a database, or a hand-written perl script) and then read it into R. This occasionally takes a lot of time; I'm usually using read.table("filename",comment.char="",quote="") to read the data once it is written to disk. However, I *know* that the program that generates