Displaying 20 results from an estimated 40000 matches similar to: "R library help files"
2012 Mar 18
3
a very simple question
Dear All,
I have a seemingly very simple question, but I just cannot figure out the answer. I attempted to run the following:a=0.1*(1:9);which(a==0.3);it returns integer(0). But obviously, the third element of a is equal to 0.3.
I must have missed something. Can someone kindly explain why? Thanks a lot.
Regards,Dajiang
[[alternative HTML version deleted]]
2009 Aug 22
3
integer and character conversion
Dear all,I want to convert a long integer to a string, and for example,
100000000
I used as.character(1000000000) e.g, and it gives me back 1e+???. What I
want is a exact form, not exponential form. Any ideas how to do it? Thank
you very much.
Regards,
Dajiang
[[alternative HTML version deleted]]
2009 Apr 26
2
RWeka prediction
Dear All,I encountered a problem when I use RWeka for prediction.
Specifically, I use the following:
res=J48(X1~.,data=mydata);
predict(res), #it worked fine
but when I tried to use a different data set,
i.e. predict(res,newdata=mynewdata);
all the predictions I get is 0, which apparently is problematic.
What is weird is, if I use the old data, but use the newdata option,
i.e.
2011 Mar 25
2
a question on R optimization functions
Dear All,
I use nlminb or optim for maximizing likelihood functions. Sometimes,
the parameter values happen to be NA, then the program will hang there
and iterate forever without stopping. No error message will be
produced. So I can not use error catch method such as "try". Are there
any suggestions how I can circumvent this problem? Maybe I can time a
function, and if the time exceeds
2017 Aug 18
1
Issues of R_pretty in src/appl/pretty.c
Examples similar to
pretty(c(-1,1)*1e300, n = 1e9, min.n = 1)
with smaller 'n':
pretty(c(-1,1)*1e304, n = 1e5, min.n = 1)
pretty(c(-1,1)*1e306, n = 1e3, min.n = 1)
A report on 'pretty' when working with integers, similar to what led to change of 'seq' fuzz, is https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15137
--------------------------------------------
On Tue,
2012 Mar 15
1
R CMD Rd2pdf [options] files
Hi all,
Sorry if I seem a bit pissed because I am!
Basically, I have written some script and I wanted to make a "documentation"
for it using .Rd format.
############################################################################
I followed the example here in
http://stat.ethz.ch/R-manual/R-devel/library/utils/html/prompt.html
created the file plot.default.rd in my directory. But
2011 Oct 26
4
Error message library()
Dear all,
When one tries to load a non-installed package you get the error:
Error in library(xyz) : there is no package called 'xyz'
I noticed on several occasions that this puzzles beginners. Therefore I suggest to change the error description in:
Error in library(xyz) : there is no package called 'xyz' installed on this machine. Check the name of the package or use
2009 Oct 06
4
Text editors for Sweave (rnw) files
Hi fellow R-users,
Are there any text editors that recognize sweave (.rnw) files? I am running Windows Vista and in the past I used Tinn-R for R files but it (surprisingly) doesn't recognize rnw files and does not do any syntax highlighting for them.
Thanks in advance,
Greg
__________________________________________________________________
Make your browsing faster, safer, and
2019 Feb 18
1
Extract.data.frame.Rd about $.data.frame
The statement in R devel:
There is no \code{data.frame} method for \code{$}, so \code{x$name}
uses the default method which treats \code{x} as a list (with no partial
matching of column names). The replacement method (for \code{$}) checks
\code{value} for the correct number of rows, and replicates it if necessary.
The added "(with no partial matching of column names)" is wrong.
2009 Jun 30
3
Matrix with random number
Hello!
I have a program in Fortran and would like to build a matrix with random numbers, I have a function in C.
However, I have problems with the use of function in R.
Code to compile: R CMD SHLIB mat.f myrbeta.c -o func.so
Code in C.
#include <R.h>
#include <Rmath.h>
void F77_SUB(fseedi)(void){
GetRNGstate();
}
void F77_SUB(fseedo)(void){
PutRNGstate();
}
void
2010 Aug 30
2
S4 Method Rd Warning
Hello,
I am using R 2.11.0. I have a curious problem where I get a warning in R CMD check which is seemingly not relevant to my Rd file.
The warning says :
* checking Rd \usage sections ... WARNING
Bad \usage lines found in documentation object 'enrichmentCalc':
<unescaped bksl>S4method{enrichmentCalc}{GenomeDataList, BSgenome}(rs, organism, seqLen=NULL, ...)
<unescaped
2010 Aug 30
2
S4 Method Rd Warning
Hello,
I am using R 2.11.0. I have a curious problem where I get a warning in R CMD check which is seemingly not relevant to my Rd file.
The warning says :
* checking Rd \usage sections ... WARNING
Bad \usage lines found in documentation object 'enrichmentCalc':
<unescaped bksl>S4method{enrichmentCalc}{GenomeDataList, BSgenome}(rs, organism, seqLen=NULL, ...)
<unescaped
2010 Feb 20
1
Fax, T38 and NAT
Gentlemen,
I have 3 faxes attached to an Asterisk. Fax - SPA2102 - Asterisk.
0851711201 and 0851711290 is on our WAN, no NAT.
0197673581 is outside our WAN and needs to be NAT'ed.
Sending a fax from 0851711201 to 0851711290, no problem, switches to T38
and fax goes through.
Sending a from 0197673581 to 0851711201, no problem as long as i dont
enable T38 on 0197673581.
But, if i enable T38
2008 May 02
3
removing rows from matrix
Hi, I have a problem regarding matrix handeling. I am working with a serie of matrixes containing several columns. Now I would like to delete those rows of the matrixes,that in one of the columns contain values less than 50 or greater than 1000. How would this be possible, I have tried to create a simple function for this, but I just don't seem to get it right.Thank you so much for your help,
2012 Jan 22
1
hook for configuring checking of \example{} sections of the documentation during R CMD check
Dear all,
In a new package, I try to check the examples given in the \example section of the Rd files.
However, the examples cannot be run if the package is not instructed, during startup time, in the place where some data are to be found ( with system.file("exampleData", "xyz", package="rcqp").
Is there any hook available, or a place where some code might be
2020 Jan 22
2
Fetchmail
Hi all,
Anyone know how to specify for fetchmail in .netrc the "folder" to read ?
If tried folder XYZ
and it says unknown token folder.
Man page says that should work.
Jerry
2018 Jul 11
2
Connection refused (61)
sorry forgot to mention the port in the roundcube config file!
$config['smtp_port'] = 587;
On Wed, Jul 11, 2018 at 11:36 PM, Larry Rosenman <larryrtx at gmail.com> wrote:
> What mail port are you expecting it connect to on 127.0.0.1?
>
> Here's my config.
> $ grep -v "^//" config.inc.php
> <?php
>
> /* Local configuration for Roundcube Webmail
2007 May 27
3
Use metadata files in Samba
Hello,
Often people (or applications) want to store additional information
about a file. E.g. history, approval state, search tags, etc. Some
file formats offer to integrate these metadata, some not (e.g. exif-
headers, id3, etc.).
My idea would be to create an additional <filename.xyz>.meta file next
to a <filename.xyz> in the same folder. If the <filename.xyz> gets
2018 Jul 11
2
Connection refused (61)
connection refused! But why?
On Wed, Jul 11, 2018 at 11:40 PM, Larry Rosenman <larryrtx at gmail.com> wrote:
> What happens if you telnet 127.0.0.1 587?
>
> --
> Larry Rosenman http://www.lerctr.org/~ler
> Phone: +1 214-642-9640 E-Mail: larryrtx at gmail.com
> US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
>
> ?On 7/11/18, 4:39
2019 Mar 23
2
Generating object files more efficiently
Johannes,
I tried the last one and it gave me this:
error: unknown target CPU 'XYZ'
note: valid target CPU values are: nocona, core2, penryn, bonnell, atom,
silvermont, slm, goldmont, goldmont-plus, tremont, nehalem, corei7,
westmere, sandybridge, corei7-avx, ivybridge, core-avx-i, haswell,
core-avx2, broadwell, skylake, skylake-avx512, skx, cascadelake,