search for: rds

Displaying 20 results from an estimated 305 matches for "rds".

Did you mean: lds
2015 Jan 15
4
Request to speed up save()
Hi, I am dealing with very large datasets and it takes a long time to save a workspace image. The options to save compressed data are: "gzip", "bzip2" or "xz", the default being gzip. I wonder if it's possible to include the pbzip2 (http://compression.ca/pbzip2/) algorithm as an option when saving. "PBZIP2 is a parallel implementation of the bzip2
2000 Apr 28
1
port forwarding
...k, so this is not a users-list, but i really don't know where to ask. Maybe a future openssh-unix-users at mindrot.org will take this kind of problems... :-) So, i'm trying to forward a POP3 connection over a SSH tunnel, using openssh-1.2.3 both on server and on client. My host is atlanta.rds.ro and the mailserver is mail.rds.ro. I did like this: ssh -L 110:mail.rds.ro:110 mail.rds.ro After authenticating myself on mail.rds.ro, the 110 port appeared as open on localhost, but it forwarded requests to mail.rds.ro - this was ok. The sniffer revealed that the traffic was done between my...
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", compres...
2018 Apr 22
2
Problem reading RDS files
Hi there, I faced a weird problem doing a seemingly simple task in R. Specifically, when trying for reading an RDS file from the working directory, the following error is appeared. Code: records <- readRDS("tweets.rds") Error: Error in readRDS("tweets.rds") : error reading from connection In addition: Warning message: In readRDS("tweets.rds") : invalid or incomplete compres...
2005 Apr 20
2
Package under R 2.1.0: package.rds
...u "Packages/Install package from local zip files....". It's fine (html package description was updated). But when I typed in library(mag) it gave me error: Error in library(mag) : there is no package called 'mag' I traced the library() and found the problem is in meta/package.rds I don't have my own package.rds file. I copied the whole meta directory from base package (to make my package work under R 2.0.0). Function .find.package() looks up some package information in package.rds file and get the wrong information (info about base rather than mine "mag". I w...
2018 Feb 07
1
saveRDS() overwrites file when object is not found
I ran into this behaviour when accidentally running a line of code that I shouldn't have. When saving over an rds with an object that's not found, I would have expected saveRDS to not touch the file. saveRDS(iris, "test.rds") file.size("test.rds") #> [1] 1080 saveRDS(no_object_here, "test.rds") #> Error in saveRDS(no_object_here, "test.rds"): object 'no_ob...
2018 Apr 22
0
Problem reading RDS files
Wouldn't the obvious problem be that your data file is corrupted or was never created using saveRDS in the first place? Can you show us a complete example of creating and attempting to read what was just created? On April 22, 2018 10:20:05 AM CDT, mohammad moradi <mri.moradi at gmail.com> wrote: >Hi there, > >I faced a weird problem doing a seemingly simple task in R. >Specifi...
2018 Apr 23
1
Problem reading RDS files
I've tried to re-experiment the tutorial presented at http://www.rdatamining.com/docs/twitter-analysis-with-r and specifically aimed to use rds files (tweet records) at http://www.rdatamining.com/data/. On Sun, Apr 22, 2018 at 9:16 PM, Jeff Newmiller <jdnewmil at dcn.davis.ca.us> wrote: > Wouldn't the obvious problem be that your data file is corrupted or was > never created using saveRDS in the first place? Can you show...
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/
2012 Mar 13
1
"note: symbols.rds is not available"
I've encountered this note in checking packages with the latest R-devel. Googling finds it only in other package checks; searching the source tree finds in src/library/tools/R/sotools.R , but I'm not sure what it's doing there. 'symbols.rds' shows up in the SVN log here: r58591 | ripley | 2012-03-05 07:25:58 -0500 (Mon, 05 Mar 2012) | 1 line treat non-symbols.rds reports on base packages differently r58539 | ripley | 2012-03-01 04:54:39 -0500 (Thu, 01 Mar 2012) | 1 line comment if expecting symbols.rds and not found Any th...
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 about the max value of th...
2013 Jan 07
1
Missing /share/dictionaries/en_stats.rds
...ELL_' to 'true', I get: * checking CRAN incoming feasibility ...Warning in aspell(files, filter = "dcf", control = control, encoding = encoding, : The following dictionaries were not found: en_stats Looking at the source code, I found that I'm missing 'en_stats.rds', e.g. > Sys.glob(file.path(R.home("share"), "dictionaries", "*.rds")) character(0) I see that the missing file is in http://svn.r-project.org/R/trunk/share/dictionaries/. Is there a reason for why this is not part of the R source/binaries (e.g. http://cran.r...
2017 Jul 07
1
[New Patch] Fix disk corruption when writing
...0 on a valid closing? If you remove "&& errno" and leave only "if (status < 0)" in the previous patch then during make I have many warnings, e.g. : Warning messages: 1: In close.connection(con) : closing '/home/sokol/dev/R/R-devel/library/compiler/Meta/nsInfo.rds' failed: Success 2: In close.connection(con) : closing '/home/sokol/dev/R/R-devel/library/compiler/Meta/package.rds' failed: Success 3: In close(con) : closing '/home/sokol/dev/R/R-devel/library/compiler/R/compiler.rdx' failed: Success 4: In close.connection(con) : clos...
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 time species count size 2008-08-06 08:49:00 " 1&...
2018 Jan 27
2
Newbie wants to compare 2 huge RDSs row by row.
Each RDS is 40 MBs. What's a slick code to compare them row by row, IDing row numbers with mismatches? Thanks in advance. //
2017 Apr 02
0
rdb and rds files include abolute file paths / help understanding how lazy-load dbs are created
Hi, I'm trying to understand why/how absolute file paths are stored in .rdb[1] and .rds[2] files during package installation. As a consequence building the same r package in different directories does not produce identical .rdb and .rds files. The background is that I work on reproducible builds[3] of R packages. I think this is important from an engineering point of view but also f...
2011 Jun 16
1
[PATCH 00/11] Replace printk_rateilimit() with printk_ratelimited()
...If you wish some more patches I can send more in. Greets, Manu Manuel Zerpies (11): drivers/ide: use printk_ratelimited() instead of printk_ratelimit() drivers/tty: use printk_ratelimited() instead of printk_ratelimit() net/can: use printk_ratelimited() instead of printk_ratelimit() net/rds: use prink_ratelimited() instead of printk_ratelimit() RDMA/hw/cxgb4: use printk_ratelimited() instead of printk_ratelimit() drivers/net: use printk_ratelimited() instead of printk_ratelimit() drivers/usb/atm: use printk_ratelimited() instead of printk_ratelimit() [SCSI] tcm_fc: use pri...
2010 Jan 02
0
filehash - multiple indices via '[' not allowed when using RDS format
Hi, I have been using filehash for a while. It has performed very well. However, recently I found filehash gives an error when I need to do something like db[c("a", "b")] when the db is in RDS format. Does any one know a way to get around that? The code below reproduces the error thanks Jeff filehashOption(defaultType = "DB1") dbCreate("mydb3", type = "DB1") db = dbInit("mydb3") db$a = rnorm(100, 1) db$b = rnorm(100, 1) with(db, c(a = mean(a),...
2011 Jun 16
1
[PATCH 00/11] Replace printk_rateilimit() with printk_ratelimited()
...If you wish some more patches I can send more in. Greets, Manu Manuel Zerpies (11): drivers/ide: use printk_ratelimited() instead of printk_ratelimit() drivers/tty: use printk_ratelimited() instead of printk_ratelimit() net/can: use printk_ratelimited() instead of printk_ratelimit() net/rds: use prink_ratelimited() instead of printk_ratelimit() RDMA/hw/cxgb4: use printk_ratelimited() instead of printk_ratelimit() drivers/net: use printk_ratelimited() instead of printk_ratelimit() drivers/usb/atm: use printk_ratelimited() instead of printk_ratelimit() [SCSI] tcm_fc: use pri...
2011 Jun 16
1
[PATCH 00/11] Replace printk_rateilimit() with printk_ratelimited()
...If you wish some more patches I can send more in. Greets, Manu Manuel Zerpies (11): drivers/ide: use printk_ratelimited() instead of printk_ratelimit() drivers/tty: use printk_ratelimited() instead of printk_ratelimit() net/can: use printk_ratelimited() instead of printk_ratelimit() net/rds: use prink_ratelimited() instead of printk_ratelimit() RDMA/hw/cxgb4: use printk_ratelimited() instead of printk_ratelimit() drivers/net: use printk_ratelimited() instead of printk_ratelimit() drivers/usb/atm: use printk_ratelimited() instead of printk_ratelimit() [SCSI] tcm_fc: use pri...