Displaying 20 results from an estimated 800 matches similar to: "httr::content without message"
2018 Jan 02
0
httr::content without message
Ahoy!
That's a message generated by the readr::read_table() function (or it's friends). You can suppress it a number of ways, but this should work as httr::content() will pass through arguments, like col_types = cols(), to the file reader.
junk <- httr::content(r1, col_types = cols())
See more here...
https://blog.rstudio.com/2016/08/05/readr-1-0-0/
2018 Jan 02
1
httr::content without message
Thanks to all that replied. I had just looked through the httr code and sure enough for a .csv mime time it calls readr::read_csv(). The httr::content docs suggest not using automatic parsing in a package, rather to determine mime type and parse yourself and Ben's suggestion also works if I do:
junk <- readr::read_csv(r1$content, col_types = cols())
Perfect. Using httr rather than
2024 Feb 01
1
Need help testing a problem
?s 23:47 de 31/01/2024, Roy Mendelssohn - NOAA Federal via R-help escreveu:
> HI All:
>
> We are trying to figure out a problem that is occurring with a package, and we need a non-NOAA person with a Windows computer with the latest R to test for us what is failing (but works on Macs and Linux from different sites). Part of the problem is there is an Akamai service in between that we
2024 Jan 31
1
Need help testing a problem
HI All:
We are trying to figure out a problem that is occurring with a package, and we need a non-NOAA person with a Windows computer with the latest R to test for us what is failing (but works on Macs and Linux from different sites). Part of the problem is there is an Akamai service in between that we feel may be messing up things. To do this you would need to be willing to:
1. install the
2008 Jun 20
1
World Ocean Database files
Has anyone written a script or function to read data from NODC?s World
Ocean Database files?
(I know there are simple Fortran and C programs to read these files, but
the output is not suitable for easy analysis)
Thanks, Franz
_____________________________________________________
Dr. Franz J. Mueter
School of Fisheries and Ocean Sciences, Juneau Center
University of Alaska Fairbanks
11120
2017 Sep 06
3
withr::set_makevars
Hi All;
This problem has come about from trying to learn some of the review practices recommend by rOpensci. One of them is to use the package goodpractice. After installing goodpractice, it kept failing on my own packages which are under development, and I was concerned something was funny in my own , so I have a fork of the package rerddap, and I tested goodpractice on that. I get the
2017 Sep 07
0
withr::set_makevars
withr:::set_makevars() can give that error if the makefile named by the
'old_path' argument (default "~/.R/Makevars) contains more than one
definition of a variable of the form 'name=value'. You can see what file
it is reading and its contents by using the trace() function:
trace(withr:::set_makevars, quote({ cat(old_path, "\n");
writeLines(paste0(" ",
2012 Jan 13
3
The Future of R | API to Public Databases
Dear R Users -
R is a wonderful software package. CRAN provides a variety of tools to
work on your data. But R is not apt to utilize all the public
databases in an efficient manner.
I observed the most tedious part with R is searching and downloading
the data from public databases and putting it into the right format. I
could not find a package on CRAN which offers exactly this fundamental
2016 Jun 13
2
PJSIP does not qualify contacts after starting Asterisk
Hi all,
(sending this again from the correct address)
I'm running Asterisk 13.8.0 (I need to check if that happens with 13.9.1 too when I have the time to build it) with PJSIP realtime config.
I've defined several aors in the table ps_aors, like this (real url replaced by myurl):
*CLI> pjsip show aor pbx-node-1
Aor: <Aor..............................................>
2006 Mar 06
7
Set base url?
I have an application running on a Lighttpd instance which is proxied by an
Apache server. It seems to work fine but my urls are incorrect: all urls
reference / which is not where my application runs at the Apache server.
How do I set the base url of a Rails application?
My Apache has the following proxy rules:
ProxyPass /hieraki http://localhost:3001
ProxyPassReverse /hieraki
2016 Apr 27
0
R Script Template
The subject of your email is missing. Perhaps you need to read the Posting Guide (again?) about attachments. Embedding your example directly in the body of the email is generally more accessible in archives than attaching it.
--
Sent from my phone. Please excuse my brevity.
On April 27, 2016 1:14:17 PM GMT+01:00, G.Maubach at gmx.de wrote:
>Hi All,
>
>I am addressing this post to all
2006 May 30
1
Url encoding Help Pls!
Hi guys,
it''s me again, I want to come up with the following url:
www.mysite.com/webpage?myid=1
I keep coming up with the following url:
www.mysite.com/webpage%3Fmyid%3D1
require ''uri''
$myurl = URI.escape("webpage?myid=")
redirect_to(:action => $myurl + 1 )
what am I doing wrong?
I also tried
require ''cgi''
$myurl =
2016 Jun 13
2
PJSIP does not qualify contacts after starting Asterisk
Hi,
Yes, we're implementing the dialplan in realtime too.
Here the contents of sorcery.conf:
[res_pjsip]
endpoint=realtime,ps_endpoints
aor=realtime,ps_aors
contact=realtime,ps_contacts
[res_pjsip_endpoint_identifier_ip]
identify=realtime,ps_endpoint_id_ips
Cheers, Francisco.
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf
2015 Jul 09
4
R CMD build failure
I have a local library 'dart' that imports "httr". It has routines that access central
patient data such as birth date, so it is heavily used locally but of no interest to
anyone else.
The httr library (and 300 others) are in a shared directory, referenced by everyone in the
biostatistics group via adding this location to the .libPaths in their default .Rprofile.
2016 Apr 27
2
R Script Template
Hi All,
I am addressing this post to all who are new to R.
When learing R in the last weeks I took some notes for myself to have code snippets ready for the data analysis process. I put these snippets
together as a script template for future use. Almost all of the given command prototypes are tested. The template script contains snippets for best practices and leaves out the commands that
2011 Oct 03
2
read .csv from web from password protected site
I am very new to R and have been struggling trying to read a basic ".csv" file from a password protected site with the following code:
myURL ="http://www.frontierweather.com/degreedays/L15N15PowerRegionAverages_10weeks.txt"
test2=read.table(url(myURL),header=TRUE,sep=",")
A 'data.frame' is returned into the workspace, however it is not the data contained in
2008 Jan 25
8
simple routing & linking question
So I have an existing app & facebook app in same rails application,
for now I have decided to go the route of creating a controller for
facebook stuff (called FaceController).
(setup is canvas, fbml)
So I have:
facebook config
http://myurl:myport/face/
My controllers name is face, so I dont even need a manual route, for
the landing page it works like a charm.
but, when I try to make
2018 Oct 23
2
Suggestion: Make CRAN source URLs immutable
Hello, I hope the is the right list to send this suggestion to.
I was wondering if it might be possible to have CRAN store the most current
version of a package's source tarball at a location that does not change.
As an example, the source tarball for `httr` is stored at
https://cran.r-project.org/src/contrib/httr_1.3.1.tar.gz. However, once the
next version of `httr` is released, the URL for
2017 Nov 17
3
Dataframe is character
Hi everybody,
Question: why are my dataframe and numeric variables a character?
I read an excel file via readxl but my dataframe is a character, and
numeric variables, eg "yi", are also a character.
My excelfile is in English numeric
Sometimes the dataframe was indeed a dataframe, but I do not know why it
did sometimes.
Thank you in advance, Roberto
PS I used "guess". The
2011 Jan 21
1
Reading gz compressed csv file - 'incomplete line found'
Hi all,
I am trying to download, decompress and read a csv file. My code:
myurl <-
"ftp://ftp.ncbi.nih.gov/pub/geo/DATA/supplementary/series/GSE24729/GSE24729_MitoNuclear_suppl_male_stats.csv.gz"
#
myfile <- "GSE24729_MitoNuclear_suppl_male_stats.csv.gz"
#
download.file(myurl, destfile=myfile, mode="w")
#
mycon <- gzcon(gzfile(myfile,