Displaying 20 results from an estimated 2000 matches similar to: "unicode&pdf font problem"
2011 Mar 01
0
unicode&pdf font problem RESOLVED
Just to add to this (I've been looking through the archive) problem with display unicode fonts in pdf document in R
If you can use the Cairo package to create pdf on Mac, it seems quite happy with pushing unicode characters through (probably still font family dependant whether it will display)
probstring <- c(' \u2264 0.2',' \u2268 0.4',' \u00FC 0.6',' \u2264
2011 Jul 29
4
finding a faster way to run lm on rows of predictor matrix
Hi, everyone.
I need to run lm with the same response vector but with varying predictor vectors. (i.e. 1 response vector on each individual 6,000 predictor vectors)
After looking through the R archive, I found roughly 3 methods that has been suggested.
Unfortunately, I need to run this task multiple times(~ 5,000 times) and would like to find a faster way than the existing methods.
All three
2002 Sep 19
1
Use of font with accents in graphs
Hi,
I was searching archives, manuals and web to solve usage of fonts
with accents in R, but I was not succesfull.
Had anybody solve problem with usage of fonts with accents
(czech)?
Thanks for advice,
Jakub Zlamal
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send
1998 Oct 17
1
SAMBA digest 1846
> Date: Fri, 16 Oct 1998 18:07:45 -0700
> From: RICK_@t-online.de =?ISO-8859-1?Q?(J=DCRGEN?= ANZER)
> To: dszekely@csoft.ro
> Subject: Re: WIN 98 password problem
> Message-ID: <3627EDE1.38A@t-online.de>
>
> Szekely Denes wrote:
> >
> > Three days ago I had a mad ideea to install Win 98 on my PC. Until this
> > date I cannot map or access from WINDOWS
2020 Oct 19
1
Is there any way to check the class of an ALTREP?
Thank Denes for the clarification, glad to see my package got one citation
from my own question:) Also, thank Benjamin
for sending many useful documents.
Actually, the question is related to the SharedObject package that Benjamin
has pointed to. I wanna
avoid sharing an object that has already been shared, so I need to check
whether an object is an ALTREP
that is defined in my package. Since the
2020 Nov 21
0
return (x+1) * 1000
I may be unusual but I don't find these examples surprising at all/
I don't think I would make these mistakes (maybe it's easier to make
that mistake if you're used to a language where 'return' is a keyword
rather than a function?
My two cents would be that it would make more sense to (1) write
code to detect these constructions in existing R code (I'm not good at
2020 Nov 20
2
return (x+1) * 1000
Without having dug into the details, it could be that one could update
the parser by making a 'return' a keyword and require it to be
followed by a parenthesis that optionally contains an expression
followed by end of statement (newline or semicolon). Such a
"promotion" of the 'return' statement seems backward compatible and
would end up throwing syntax errors on:
2020 Nov 21
1
return (x+1) * 1000
On 20/11/2020 7:01 p.m., Ben Bolker wrote:
> I may be unusual but I don't find these examples surprising at all/
> I don't think I would make these mistakes (maybe it's easier to make
> that mistake if you're used to a language where 'return' is a keyword
> rather than a function?
>
> My two cents would be that it would make more sense to (1) write
2024 Jun 29
0
R related tools - GUI
For years I used Deducer (Package Deducer) developed by Ian Fellows.?
This is still available and partially remains mostly functional.? He was
working on a new GUI years ago but appears no longer to be in the
pipeline I think replaced by R-Studio.
> Send R-help mailing list submissions to
> r-help at r-project.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
2020 May 01
1
Request: tools::md5sum should accept connections and finally in-memory objects
On 5/1/20 11:09 PM, John Mount wrote:
> Perhaps use the digest package? Isn't "R the R packages?"
I think it is clear that I am aware of the existence of the digest
package and also of other packages with similar functionality, e.g. the
fastdigest package. (And I actually do use digest as I guess 99% percent
of the R developers do at least as an indirect dependency.) The point
2018 May 03
1
Converting a list to a data frame
This is very nice to learn about, Denis, but it seems only fair to point out that the result of rbindlist is not a data frame. You can convert it to a data frame easily, but the copy and indexing semantics of data tables are quite different than data tables, which could be a real headache for someone not prepared for those differences. (To learn more, read the data tables vignette.)
Tibbles (as
2018 May 03
0
length of `...`
This question is better aimed at the r-help mailinglist as it is not about
developing R itself.
having said that,
I can only gues why you want to do this, but why not do something like this:
f <- function(...){
L <- list(...)
len <- length()
# you can stll pass the ... as follows:
do.call(someotherfunction, L)
}
-Mark
Op do 3 mei 2018 om 16:29 schreef D?nes T?th
2018 May 03
0
length of `...`
In R-3.5.0 you can use ...length():
> f <- function(..., n) ...length()
> f(stop("one"), stop("two"), stop("three"), n=7)
[1] 3
Prior to that substitute() is the way to go
> g <- function(..., n) length(substitute(...()))
> g(stop("one"), stop("two"), stop("three"), n=7)
[1] 3
R-3.5.0 also has the ...elt(n)
2020 Mar 12
0
support of `substitute(...())`
Note that substitute(...()) and substitute(someFunc(...))[-1] give slightly
different results, the former a pairlist and the latter a call.
> str((function(...)substitute(...()))(stop(1),stop(2),stop(3)))
Dotted pair list of 3
$ : language stop(1)
$ : language stop(2)
$ : language stop(3)
>
str((function(...)substitute(someFunc(...))[-1])(stop(1),stop(2),stop(3)))
language
2020 Oct 19
0
Is there any way to check the class of an ALTREP?
> You happened to send a link which points to the OP's own package :) I
> think Jiefei would like to know how one can "officially" determine if an
> arbitrary ALTERP object belongs to a class that he owns.
Argh, I am sorry! I did not notice that. My best bet for what I
thought the question was is section 1.1.2 of R Internals where they
note that: `unsigned int alt : 1; /* is
2020 Nov 20
0
return (x+1) * 1000
Yes, the behaviour of return() is absolutely consistent. I am wondering
though how many experienced R developers would predict the correct
return value just by looking at those code snippets.
On 11/21/20 12:33 AM, Gabriel Becker wrote:
> And the related:
>
> > f = function() stop(return("lol"))
>
> > f()
>
> [1] "lol"
>
>
2018 May 03
2
length of `...`
As of 3.5.0 the ...length() function does exactly what you are asking for.
Before that, I don't know of an easy way to get the length without
evaluation via R code. There may be one I'm not thinking of though, I
haven't needed to do this myself.
Hope that helps.
~G
On Thu, May 3, 2018 at 7:52 AM, Mark van der Loo <mark.vanderloo at gmail.com>
wrote:
> This question is
1998 Oct 16
5
WIN 98 password problem
Hi!
I'm new on the list, so please, be patient with me!
I have a problem for wich I can't find the answer in the FAQ. Until
recently I was running a 16 PC-s network with SCO OpenServer 5.0.4 and
Samba 1.9.16p11 on the server and mixed clients (Win 3.11 to Win 95
OSR2). The users on the network have access to a PUBLIC directory on
they own user directories on the server without
2009 Dec 22
1
Sweave: font problems with Signif. codes lines
[Environment: Win Xp, Miktex 2.7, R 2.9.2]
In an Sweave document, I'm displaying the results of car:::Anova()
tests, that look like this in the
generated .tex file:
\begin{Soutput}
Type III MANOVA Tests: Pillai test statistic
Df test stat approx F num Df den Df Pr(>F)
(Intercept) 1 0.86 90.38 4 60 <2e-16 ***
---
Signif. codes: 0 ?***? 0.001 ?**? 0.01 ?*? 0.05 ?.? 0.1 ? ? 1
2020 May 01
0
Request: tools::md5sum should accept connections and finally in-memory objects
Perhaps use the digest package? Isn't "R the R packages?"
> On May 1, 2020, at 2:00 PM, D?nes T?th <toth.denes at kogentum.hu> wrote:
>
>
> AFAIK there is no hashing utility in base R which can create hash digests of arbitrary R objects. However, as also described by Henrik Bengtsson in [1], we have tools::md5sum() which calculates MD5 hashes of files.