similar to: install.packages readRDS error

Displaying 20 results from an estimated 1000 matches similar to: "install.packages readRDS error"

2011 Oct 18
9
readRDS and saveRDS
Hi all, Is there any chance that readRDS and saveRDS might one day become read.rds and write.rds? That would make them more consistent with the other reading and writing functions. Hadley -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/
2018 Apr 02
3
recordPlot/replayPlot not working with saveRDS/readRDS
The documentation for recordPlot says the following: > As of R 3.3.0, it is possible (again) to replay a plot from another R session using, for example, saveRDS and readRDS. However, I haven't been able to save and restore a plot displaylist and have it work within the same R session, using R 3.4.3 or 3.3.3. Here's an example: # Save displaylist for a simple plot
2012 Sep 15
2
Risk of readRDS() not detecting race conditions with parallel saveRDS()?
I hardly know anything about the format used in (non-compressed) serialization/RDS, but hoping someone with more knowledge could give me some feedback; Consider two R processes running in parallel on the same unknown file system. Both of them write and read to the same RDS file foo.rds (without compression) at random times using saveRDS(object, file="foo.rds", compress=FALSE) and
2012 Jul 29
1
readRDS, In as.double.xts(fishReport$count) : NAs introduced by coercion
Hello, I looked in the R-help but could not find an archive addressing the following. I would like to convert a character to numeric after reading a file with RDS extension. After using as.numeric, I checked if it is numeric. It was not converted. Please help. Here is my code >Report <- readRDS(file="RDS/Report.RDS") > Report[1:2,] dive_id date
2018 Apr 03
1
[FORGED] recordPlot/replayPlot not working with saveRDS/readRDS
>>>>> Paul Murrell <paul at stat.auckland.ac.nz> >>>>> on Tue, 3 Apr 2018 09:41:56 +1200 writes: > Hi What you are doing "wrong" is loading a recordedplot > into the same session that it was created in. The > saveRDS()/readRDS() works if you save in one R session and > then read in a different R session. The
2017 Aug 09
1
Problem with serialization via readRDS() on a textConnection()
(Sorry for not linking to your message; I accidentally deleted the original copy of your message.) Your code > zz = textConnection('tempConnection', 'wb') > saveRDS(c("a", "b", "c"), zz, ascii = TRUE) > serialized_obj = paste(textConnectionValue(zz), collapse='\n') > readRDS(textConnection(serialized_obj)) Error in
2009 Apr 16
1
Error in .readRDS(nsInfoFilePath) : unknown input format (PR#13659)
Full_Name: Jeroen Jansen Version: 2.7.2 OS: Windows XP Pro Submission from: (NULL) (131.211.169.89) Allready with startup I get error message: R version 2.7.2 (2008-08-25) Copyright (C) 2008 The R Foundation for Statistical Computing ISBN 3-900051-07-0 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type
2017 Aug 22
4
How to benchmark speed of load/readRDS correctly
Dear all I was thinking about efficient reading data into R and tried several ways to test if load(file.Rdata) or readRDS(file.rds) is faster. The files file.Rdata and file.rds contain the same data, the first created with save(d, ' file.Rdata', compress=F) and the second with saveRDS(d, ' file.rds', compress=F). First I used the function microbenchmark() and was a astonished
2017 Aug 22
1
How to benchmark speed of load/readRDS correctly
Note that if you force a garbage collection each iteration the times are more stable. However, on the average it is faster to let the garbage collector decide when to leap into action. mb_gc <- microbenchmark::microbenchmark(gc(), { x <- as.list(sin(1:5e5)); x <- unlist(x) / cos(1:5e5) ; sum(x) }, times=1000, control=list(order="inorder")) with(mb_gc,
2017 Aug 22
0
How to benchmark speed of load/readRDS correctly
The large value for maximum time may be due to garbage collection, which happens periodically. E.g., try the following, where the unlist(as.list()) creates a lot of garbage. I get a very large time every 102 or 51 iterations and a moderately large time more often mb <- microbenchmark::microbenchmark({ x <- as.list(sin(1:5e5)); x <- unlist(x) / cos(1:5e5) ; sum(x) }, times=1000)
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-----
2017 Aug 22
0
How to benchmark speed of load/readRDS correctly
Caching happens, both within the operating system and within the C standard library. Ostensibly the intent for those caches is to help performance, but you are right that different low-level caching algorithms can be a poor match for specific application level use cases such as copying files or parsing text syntax. However, the OS and even the specific file system drivers (e.g. ext4 on flash disk
2017 Aug 22
3
How to benchmark speed of load/readRDS correctly
Not convinced Jeff is completely right about this not concerning R, since I've found that the application language (R, perl, etc.) makes a difference in how files are accessed by/to OS. He is certainly correct that OS (and versions) are where the actual reading and writing happens, but sometimes the call to those can be inefficient. (Sorry, I've not got examples specifically for file
2015 Oct 18
2
Expired key for Ubuntu CRAN repository
Hello, I was following the instructions at https://cran.r-project.org/bin/linux/ubuntu/#secure-apt but encountered this message upon apt-get update: GPG error: http://cran.rstudio.com trusty/ Release: The following signatures were invalid: KEYEXPIRED... And then the following on apt-get install: WARNING: The following packages cannot be authenticated! Investigating a little, it looks like
2008 Dec 05
3
Problem loading Matrix package in Ubuntu R 2.8.0
Dear List: I'm having the same problem that was reported recently. The latest version of R cannot load the Matrix package, even though it is installed and readable. I've read the archive files for this list and tried the suggested solutions (e.g., removing/uninstalling the Matrix package and reinstalling it). Nothing has worked so far. Does anybody have advice of what I could try next?
2010 May 04
2
R 2.11.0 for Ubuntu 10.04 Lucid Lynx on CRAN
Dear Ubunutu R users, Vincent Goulet and myself would like to announce the availability of R 2.11.0 for Ubuntu's latest release, Lucid Lynx. The packages should be on or arriving soon to your favorite mirror. R 2.11.0 packages also exist on CRAN for all Ubuntu releases going back to hardy. As Johannes Ranke pointed out for the Debian release, R packages installed under R < 2.10.0
2012 Mar 18
2
Secure apt
I am trying to add Michael Rutter's ppa to my repository.? I cannot do this from the command line.? I think I may be behind a firewall so copying the key to a text file is my best option.? When I search for the key at http://keyserver.ubuntu.com:11371/ the search fails. Tried typing and cutting and pasting E084DAB9 into the search box without success. How can I get the key?
2018 May 20
2
New libpng in c2d4u3.5 breaks many other packages
On 20 May 2018 at 09:34, Robin Lovelace wrote: | Thanks for keeping us updated. Before I jump the gun and put this out on | social media (as a follow-up to this tweet | https://twitter.com/robinlovelace/status/990682038373158912 ), would you | say this is a reasonable message to send to the R-using Ubuntu community?: Why don't we just wait until Michael feels he has something to announce?
2019 May 02
2
Disco Dingo repository issues
Hi, I have just installed Ubuntu 19.04 (Disco Dingo) and after adding the following repo: deb https://cloud.r-project.org/bin/linux/ubuntu disco-cran35/ and importing the keys, I want to install r-base so I perform the following: sudo apt update sudo apt install r-base Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be
2008 Sep 16
4
ubuntu hardy packages 32bit no tcltk support
Dear all, I noticed that the r-base package for Ubuntu 8.04.1 do not have the tcltk support compiled in. Would it be possible to correct this? > echo "capabilities()" | R --no-save | tail -6 [Previously saved workspace restored] > capabilities() jpeg png tcltk X11 aqua http/ftp sockets libxml TRUE TRUE FALSE TRUE FALSE TRUE