similar to: Writing a .pdf file within a function - what do I need to return()?

Displaying 20 results from an estimated 5000 matches similar to: "Writing a .pdf file within a function - what do I need to return()?"

2010 Mar 08
1
lapply and list indexing basics (after realizing I wasn't previously subscribed...sorry)
I have split my original dataframe to generate a list of dataframes each of which has 3 columns of factors and a 4th column of numeric data. I would like to use lapply to apply the fitdistr() function to only the 4th column (x$isi) of the dataframes in the list. Is there a way to do this or am I misusing lapply? As a second solution I tried splitting only the numeric data column to yield a
2010 Mar 08
1
lapply and list indexing basics
I have split my original dataframe to generate a list of dataframes each of which has 3 columns of factors and a 4th column of numeric data. I would like to use lapply to apply the fitdistr() function to only the 4th column (x$isi) of the dataframes in the list. Is there a way to do this or am I misusing lapply? As a second solution I tried splitting only the numeric data column to yield a list
2010 Jan 04
3
Extract vector elements until cumsum <= x
Hi All, I have a vector n, and for each n[i] I want to extract n[i], n[i+1], n[i+2]..., until the cumulative sum of n[i] and subsequent elements exceeds a CheckValue, whereupon I move to the next index and repeat. I am trying to find a Vectorized approach, and have seen similar posts where filter{stat} and rollmean{zoo} were suggested, but, I haven't been able to figure a way to use them
2001 Oct 31
4
Open SSL connection to HTTPS?
Hi All, I just tried to test my web server with telnet. The only problem was that my web server refuses non-encrypted connections (duh!). I know that SSL and SSH are *entirely* different, but ssh is the only commonly-available encryption-enabled command-line tool around. It would be greate to have an SSL-emulation mode in OpenSSH.... Just wishful thinking, Ciaran --
2010 Mar 30
4
list index rules evaluation behavior
I have what may be a simple/foolish question, but I've done the due diligence and looked through pages of posts here as well as several of the PDFs on the CRAN site, but haven't been able find what I'm after. I am working with a list of say 3 histogram objects A, B & C, and each histogram is a list of 7 elements. I would like to access $name, the 6th element, of histograms A,B and
2010 Mar 26
1
a vectorized solution to some simple dataframe math?
I have a data frame containing the results of time measurements taken from several cells. Each cell was measured in conditions A and B, and there are an arbitrary number of measurements in each condition. I am trying to calculate the difference of each measurement from the mean of a given cell in a given condition without relying on loops. >my.df id cond time 1
2005 Jul 21
1
About object of class mle returned by user defined functions
Hi, There is something I don't get with object of class "mle" returned by a function I wrote. More precisely it's about the behaviour of method "confint" and "profile" applied to these object. I've written a short function (see below) whose arguments are: 1) A univariate sample (arising from a gamma, log-normal or whatever). 2) A character string
2009 Oct 23
1
Functional data analysis - problems with smoothing
Hi all, I'm having major issues with smoothing my functional data I'm referring to Jim Ramsay's examples in his books. The following error message keeps appearing, despite all my data being numeric.... can anyone kindly offer any suggestions? isi - vector of argument values - i.e. the independent variable of the curves rlz - data array TMSfdPar - functional data parameter. >
2017 Sep 20
0
"Input/output error" on mkdir for PPC64 based client
Looks like it is an issue with architecture compatibility in RPC layer (ie, with XDRs and how it is used). Just glance the logs of the client process where you saw the errors, which could give some hints. If you don't understand the logs, share them, so we will try to look into it. -Amar On Wed, Sep 20, 2017 at 2:40 AM, Walter Deignan <WDeignan at uline.com> wrote: > I recently
2017 Sep 20
1
"Input/output error" on mkdir for PPC64 based client
I put the share into debug mode and then repeated the process from a ppc64 client and an x86 client. Weirdly the client logs were almost identical. Here's the ppc64 gluster client log of attempting to create a folder... ------------- [2017-09-20 13:34:23.344321] D [rpc-clnt-ping.c:93:rpc_clnt_remove_ping_timer_locked] (-->
2017 Sep 19
3
"Input/output error" on mkdir for PPC64 based client
I recently compiled the 3.10-5 client from source on a few PPC64 systems running RHEL 7.3. They are mounting a Gluster volume which is hosted on more traditional x86 servers. Everything seems to be working properly except for creating new directories from the PPC64 clients. The mkdir command gives a "Input/output error" and for the first few minutes the new directory is
2005 Jul 20
1
maps and data for german federal states
dear R-tists, i want to graph information for the German Federal States (Bundeslaender) using the maps package. unfortunately there is no maps for the German Bundeslaender. does anyone have an idea / a source where to get map data that can be used in the maps package that graphs structures below the country level. in the long run it would also be interesting to integrate Swiss Cantons and
2007 Jun 28
1
navel-gazing
I did some trawling on the ISI web of science, selecting all papers citing all papers with "R DEV COR TEAM" in the author field (which is how ISI seems to be tagging things). The results are interesting -- about 2400 references. Enjoy these summaries ... urlpref = "http://www.zoo.ufl.edu/bolker/R_isidata" types =
2003 Mar 22
1
extracting the names of the dataframe and variables in aov or lm
Dear R Users, I want to write a function that applies to the dataframe and variables that were used in a previous call to lm or aov. In order to do this, I need to write a function that applies to the output of lm or aov, and yields the names of the dataframe and variables that were used in the lm or aov analysis. For example, suppose that I give the command: aov.out <- aov( Rt ~
2008 Aug 27
2
coding rules
Dear all, I am organizing a set of specific R code as package (to ease the documentation and deployment of it to users). Before doing so, I would like to know if there are written coding rules for R (with functions, objects naming convention for example). Thanks a lot, Thomas -- ------------------------------------------------------------- Thomas LOUBRIEU IFREMER IDM/ISI BP70 29280
2001 May 10
1
MIME types registration
There has been talks on the User list about registering atleast one MIME type with the IETF for .ogg files. I am familiar with the procedures for this and will start doing it right now unless someone urgently wants me to stop. A discussion concerned wether audio/ogg or application/ogg should be registered, I will most definately register audio/ogg for Ogg Vorbis, and in the future video/ogg may
2007 Oct 22
2
SEARCH TEXT does not seem to search headers
The RFC says <http://www.isi.edu/in-notes/rfc3501.txt> this: TEXT <string> Messages that contain the specified string in the header or body of the message. But with the current hg tip (see linked rawlogs), SEARCH TEXT provides results disjoint from SEARCH FROM. I guess that's a bug?
2001 Mar 15
1
OGGs MIME type?
Hi! According to ftp://ftp.isi.edu/in-notes/iana/assignments/media-types there hasn't been any MIME type registered with OGG yet. What will it look like? audio/ogg, audio/prs.ogg, audio/basic or something like that? I'm asking because .ogg files are displayed as text in browser windows as long as it isn't registered. Netscape for Linux claims not to need a MIME type in its
2004 Sep 10
1
Making an official MIME type for FLAC?
Hi all, I'm new to FLAC, and even newer to this list. I'm pretty excited about the format, though. I was wondering if there was any work being done, or any interest at all, in officially registering a MIME type for FLAC with the IETF. (The details on the registration process can be found at ftp://ftp.isi.edu/in-notes/rfc2048.txt) Obviously something like "audio/flac" would
2009 Jan 13
2
Can not Create Maildir using userdb
Thank you for your reply. So, you mean that both user_query and password_query should have the same amount of parameter and the mail parameter from user_query should have the exact parameter as userdb_mail from password_query? And also I've to turn on userdb prefetch {} Kind Regards, Henry From: Timo Sirainen [mailto:tss at iki.fi] To: Dovecot Mailing List [mailto:dovecot at dovecot.org]