Displaying 20 results from an estimated 600 matches similar to: "Problem reading R files"
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
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
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.
2012 Sep 03
0
Call for contribution: the RDataMining package - an R package for data mining
Join the RDataMining project to build a comprehensive R package for data mining
http://www.rdatamining.com/package
We have started the RDataMining project on R-Forge to build an R
package for data mining. The package will provide various
functionalities for data mining, with contributions from many R users.
If you have developed or will implement any data mining algorithms in
R, please
2011 Nov 04
1
Help: stemming and stem completion with package tm in R
Hi All
I came across a problem below when doing stemming and stem completion
with package tm in R. Word "mining" was stemmed to "mine" with
stemDocument(), and then completed to "miners"with stemCompletion().
However, I prefer to keep "mining" intact.
For stemCompletion(), the default type of completion is "prevalent",
which takes the most
2011 Jul 21
0
Time Series Analysis and Mining with R - slides in PDF
Hi
Slides of my talk on Time Series Analysis and Mining with R at
Canberra R Users Group on 18 July are available at
http://www.rdatamining.com/docs. It presents time series
decomposition, forecasting, clustering and classification with R code
examples.
Regards
--
Yanchang Zhao
PhD, Data Miner
Email: yanchang at rdatamining.com
RDataMining: http://www.rdatamining.com
Group:
2018 May 14
1
Quandl data download error
Hi,
I use Quandl package to download data from Quandl https://www.quandl.com
Today when I tried to download data from there, I received below error :
> Quandl('LME/PR_CO')
Error in curl::curl_fetch_memory(url, handle = handle) :
gnutls_handshake() failed: An unexpected TLS packet was received.
I am using Quandl_2.8.0 in below platform
R version 3.4.4 (2018-03-15)
Platform:
2012 Sep 04
2
How to get contact list from yahoo in rails using OAuth
I can successfully get the contacts from google using OAuth gem in rails.
my gmail configuration is :
:google=>{
:key=>"***",
:secret=>"***",
:expose => true,
:scope=>"https://www.google.com/m8/feeds/"
}
now i want to get contact from yahoo and hot mail. How to get that contact
I have given following configuration in my
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/
2020 Jan 14
1
CRAN check fails if website is unavailable on Fedora platforms
Hi all,
I maintain the package ?qrandom? which is based on a web API. In last time
the testthat tests failed because the website was down.
I implemented the following code in v1.2.2 to ensure that tests are only run
if the website is accessible and to avoid the CRAN checks to fail:
> library(testthat)
> library(qrandom)
> check_qrng <- function(){
> tryCatch(
>
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
2011 Dec 10
2
install.packages readRDS error
Hi,
I am running Ubuntu 10.10 and I have just installed R 2.14.0.
When I try to install a package: install.packages("SPOT")
it returns an error message: "Error in readRDS(file) : error reading from
the connection".
Also, when I try the command in R: update.packages(), it returns the same
error message described previously.
Any ideas?
Regards,
Monica
[[alternative
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
2011 May 13
1
RProfmem output format
Hi all,
When I run the example in RProfmem, I get:
Rprofmem("Rprofmem.out", threshold=1000)
example(glm)
Rprofmem(NULL)
noquote(readLines("Rprofmem.out", n=5))
...
[1] 1384 :5416 :5416 :1064 :1064 :"readRDS" "index.search" "example"
[2] 1064 :"readRDS" "index.search" "example"
[3] 4712
2010 Jun 08
1
camping-oauth is now available
I finally put together the final touches on the first version of the
camping-oauth gem.
It allows you to make a Camping web app into an OAuth provider. It
leverages ruby-oauth and the oauth-plugin.
An example of a use case is a web service built with Camping (using
json/xml with/without REST).
You can find it on GitHub: http://bit.ly/campingoauth
I also wrote a blog post on how to use it (and
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
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