similar to: error writing to connection

Displaying 20 results from an estimated 10000 matches similar to: "error writing to connection"

2009 Mar 10
3
mean +/- SEM
Hi all, I am looking for a R function which unables me to plot mean +/- SEM. Is there such a function in R? Many thanks, Stefo [[alternative HTML version deleted]]
2008 Oct 13
2
SAS Data
Hello everybody, I would like to read a SAS Data data1.sas7bdat in R! Is this possible? Thank you a lot in advance ;), Stefo
2007 Sep 29
3
Data manipulation
Hello, I am beginner in R and I would like to solve the following problem: Suppose that we have three files to be red in R d1, d2, and d3 > d1 id x1 x2 1 1 4 n 2 2 3 h 3 3 0 f > d2 id x1 x2 1 1 2 r 2 2 3 u 3 3 1 f > d3 id x1 x2 1 1 2 a 2 2 1 w Is there any library or function that one can read this datasets like for(i in 1:3) d[i] <-
2007 Oct 10
1
disperse variable
Hello all, I read the following variable > x x 1 1_A1_ML1_a.DLL 2 11_B1_ML2_a.DLL 3 4_A1_ML3_a.DLL 4 55_C1_ML4_a.DLL 5 14_C1_ML5_a.DLL I would like to disperse it in three variable such as > x1 [1] 1 11 4 55 14 > x2 [1] "A1" "B1" "A1" "C1" "C1" > x3 [1] "ML1" "ML2" "ML3"
2001 Dec 19
2
How to create a data.frame "like" another, but longer?
Hello, does anyone know of a quick way to create a data frame "like" another, but with more rows? What I'd like to do is this: if mydata is a data.frame like a b c 1 TRUE yes 2 FALSE no 3 TRUE yes I'd like to get mydata2 with the same column names and column types, but without the values and with more rows. All I could think of was to manually do
2008 Nov 14
1
Epicalc package
Dear R-friends, ? I am using the epicalc package and the manual by V. Chongsuvivatwong "Analysis of epidemiological data using R and Epicalc" to get the hang of some basic epidemiological analyses.??? ? After running all the analyses of chapter 7, one is supposed to wrap it up by saving the data writing: ? ? > save(.data, file = "Chapter7.Rdata") ? ...?after writing the
2011 Jan 10
2
write.table equivalent for lists?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi I am writing simulations in R, and quite regularly, I have to save lists and objects to HDD and load it later again. So I am wondering: why is there no function to write lists (and S3, S4 objects) onto HDD WITHOUT keeping the name? What I mean is: For data.frames I can use x <- data.frame(x = runif(10)) write.table(x, "x.txt) rm(x) y
2011 Jun 19
1
save and load in R
I have a list of txt files that I want to convert into .rdata R data object. filenames 1. "./file1.txt" 2. "./file2.txt" 3. "./file3.txt" 4. "./file4.txt" 5. "./file5.txt" 6. "./file6.txt" 7. "./file7.txt" 8. "./file8.txt" 9. "./file9.txt" 10. "./file10.txt" I saved these files as for ( i in
2006 May 25
1
save() saves extra stuff if object is not evaluated
Hi, it looks like save() is saving all contents of the calling environments if the object to be saved is *not* evaluated, although it is not that simple either. After many hours of troubleshooting, I'm still confused. Here is a reproducible example (also attached) with output. I let the code and the output talk for itself: peek <- function(file, from=1, to=500) {
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
2012 May 03
6
Cannot read or write to file in Linux Ubuntu
I am the proud owner of a new laptop since my old one died the other day. Currently I have a dual-boot Windows 7 Home and Ubuntu 12.04 . I'll leave the Windows problems for another post. I know practically nothing about Linux so I am probably doing something stupid but ... at the moment I cannot seem read or write files in Ubuntu. I am not having any problem saving other documents to the
2011 Mar 28
1
problem in simple saving and loading data frames
Dear all My dataframe has > 80,000 variables which I can not everytime load into R using *.txt files (read.table option), cost me time and sometime computer decomes not responsive. So I need a way to save my dataframe in my workdirectory as such. Execuse me if the problem is too simple. I tried the following, I do not know what is wrong with it: Example data: x <- 1:10 y <- 21:30 z
2005 Feb 01
1
RData loading weirdness
I've just had an interesting thing happen to one of our students. He's using R 1.9.1 on Linux, and so I dont expect bugfixes, I'm just reporting this out of interest in case anyone else has had this happen. Starting R caused a seg fault shortly after "[Previously saved workspace restored]". Running "R --no-restore-data" worked fine so I suspected a corrupted
2005 Feb 01
1
RData loading weirdness
I've just had an interesting thing happen to one of our students. He's using R 1.9.1 on Linux, and so I dont expect bugfixes, I'm just reporting this out of interest in case anyone else has had this happen. Starting R caused a seg fault shortly after "[Previously saved workspace restored]". Running "R --no-restore-data" worked fine so I suspected a corrupted
2018 Jan 16
1
Merging RData files
Understood. In my case, a.RData and b.RData contain identical variables/data, plus simulation outputs from separate runs. The codes deliver what I need. Good to know the three lines work. Thank you. On 1/16/2018 8:06 PM, Duncan Murdoch wrote: > On 16/01/2018 6:33 AM, Steven Yen wrote: >> Hi all, >> This is great. Again, here is what I need. I run two separate jobs (a.R >>
2018 Jan 16
0
Merging RData files
On 16/01/2018 6:33 AM, Steven Yen wrote: > Hi all, > This is great. Again, here is what I need. I run two separate jobs (a.R > and b.R) with results (say regression outputs) going to a.RData and > b.RData. I like to put all results in one place (where I can retrieve > them in one place, ab.RData). The following codes do it (I am not sure > if line 2 is needed but I am happy).
2020 May 30
3
Cargar archivo .RData desde OneDrive, Google Drive o Dropbox
Hola, gracias por la respuesta. Yo tambiƩn puedo descargar el fichero pero no lo carga de forma correcta: > drive_download(" https://drive.google.com/file/d/1iN7rT-W8WoXsdBpKzxcatFx7nGPWNkuz/view?usp=sharing ", + overwrite = TRUE, verbose = TRUE) File downloaded: * restaurant.RData Saved locally as: * restaurant.RData > restaurant <-
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
2010 Jul 07
3
Large discrepancies in the same object being saved to .RData
Hi developers, After some investigation I have found there can be large discrepancies in the same object being saved as an external "xx.RData" file. The immediate repercussion of this is the possible increased size of your .RData workspace for no apparent reason. The function and its three scenarios below highlight these discrepancies. Note that the object being returned is exactly
2007 Oct 30
1
postscript(), used from a pre R-2.6.0 workspace
I find that if start R-2.6.0 in a workspace with no .RData file, load one of my workspaces from R-2.5.1 or earlier into R-2.6.0, and then before doing anything else type postscript(file="z.ps"), I get:: > ls() character(0) > load(url("http://www.maths.anu.edu.au/~johnm/r/test5.RData")) > postscript(file="z.ps") Error in postscript(file = "z.ps")