Displaying 20 results from an estimated 20000 matches similar to: "Forcing "virtual" digits"
2007 Jul 14
3
Send SMS out of R?
Hi everyone,
Now I read the posting guidelines again; COMPLETELY! ;-)
I use Windows XP Professional, R 2.5.1 and I have Blat to send eMails out of
R. Works perfect! Thank you for your help!
Now I want to send an SMS out of R! Any idea how it could work? Could I send
an eMail to a mobile phone number?
Thank you
Thomas
[[alternative HTML version deleted]]
2007 Oct 12
1
Batch-Plot Histograms
Hi everyone,
anybody’s got an idea why the following script doesn’t produce batch-histograms?
I’m using Windows XP and R 2.5.1.
Here’s the script:
matrix<-read.csv("C:\\Stadtwerke_mit_Umlage.csv", header=TRUE,sep=";",dec=".")
Stadtwerke<-colnames(matrix)
Bereich_blau<-66.67
Schleifen<-dim(matrix)[2]
2007 Oct 17
2
Problems with paste and blank
Hi there,
I've got the following problem under Windows XP, R 2.5.1:
When I'm pasting some objects:
Stadtwerksname<-"Mannheim"
Laufwerk<-"C:\\"
paste(Laufwerk,Stadtwerksname,".csv")
I get the result:
[1] "C:\\ Mannheim .csv"
The problem's are the superfluous gaps/blanks between the three parts.
Is there a way to get rid off this
2007 Dec 29
1
Avoiding "." when importing from csv
Hi guys, another question today:
If I import an external csv-file with headers (with read.csv2), the blanks
are interpreted as points. So "Test 1" becomes "Test.1".
Is there a way to change this?
Thanks,
Thomas
I'm using XP and R 2.6.1
[[alternative HTML version deleted]]
2010 Feb 15
3
Adressing multiple cores (CPUs)
Dear all,
I'm sitting here just in front of my new PC@work and wonder about the following question:
* How can I adress multiple CPUs (cores) out of R to speed up the simulations I run?
* What are the prerequisites to do so?
Maybe anyone could give me a hint where to start reading?
Regards,
Thomas
P.S.: I searched the R-archive to find an answer but did find none.
2007 Sep 03
2
The quadprog package
Hi everybody,
I'm using Windows XP Prof, R 2.5.1 and a Pentium 4 Processor.
Now, I want to solve a quadratic optimization program (Portfolio Selection) with the quadprog package
I want to minimize (\omega'%*%\Sigma%*%\omega)
Subject to
(1) \iota' %*% \omega = 1 (full investment)
(2) R'%*%\omega = \mu (predefined expectation value)
(3) \omega \ge 0 (no short sales).
Where
2007 Jul 12
3
eMail results out of R
Hi everyone,
I did my homework and read the posting guideline :-)
I want to eMail the results of a computing automatically. So I get the results (the parameters of a garch process) and I want to eMail them to another person. How can I do that?
Thx
______________________________
Thomas Schwander
MVV Energie
Konzern-Risikocontrolling
Telefon 0621 - 290-3115
Telefax 0621 - 290-3664
E-Mail:
2018 Sep 03
2
True length - length(unclass(x)) - without having to call unclass()?
Please don't do this to get the underlying vector length (or to achieve
anything else). Setting/deleting attributes of an R object without
checking the reference count violates R semantics, which in turn can
have unpredictable results on R programs (essentially undebuggable
segfaults now or more likely later when new optimizations or features
are added to the language). Setting attributes
2011 Apr 04
1
Ordering every row of a matrix while ignoring off diagonal elements
Sorry if this is a stupid question but I've been stuck on how to code
so that I can order rows of a matrix without paying attention to the
diagonal elements.
Say, for example, I have a matrix d:
> d
[,1] [,2] [,3] [,4]
[1,] 0.000000 2.384158 2.0065682 2.2998856
[2,] 2.384158 0.000000 1.4599928 2.4333213
[3,] 2.006568 1.459993 0.0000000 0.9733285
[4,] 2.299886
2004 Aug 06
2
a new directory service
I apologize for the delay in response time :)
I got busy. Now I'm back :)
> >Go read a basic document on Internet Standards. Encoding meta
> >information (especially type) in a filename or URL is broken and wrong.
>
> I wasn't suggesting it be encoded in the URL.. only that if you go to the
> URL (not the client-listen url, the website url) there should state
2014 Aug 27
3
dnsbackend options question
I?ve been doing some testing on Ubuntu server 14.04 (Version 4.1.6-Ubuntu) over the last week or so. I found some fairly good guidance and configured a PDC using BIND9 as the dnsbackend without too much trouble. Configuring a BDC is proving to be a bit more of a challenge but I think I?m closing in on it (no cheating on AppArmor, permissions and such).
I?m reading the wiki
2009 Nov 10
1
2 significant digits
Hi,
How to represent a rounded number ending with 0 with 2-significant digits? If I have for ex, 0.8031 and I use signif or round with digits = 2, I'll get 0.8. If I use format, I get character type (even if I pass number as parameter) and if I convert with as.numeric, I'll lose one significant digit (0):
> format(13.7, nsmall = 2)
[1] "13.70"
> as.numeric( format(13.7,
2008 Jun 09
1
Bug/Error in formatC? (Was: Why doesn't formatC( x, digits=2, format= "g")...)
Hi all
After posting what follows, Duncan Murdoch suggested perhaps a bug
in formatC, or an error on documentation. Any comments?
In particular, bug, error or not, any ideas about how I can
consistently get two significant figures to print?
P.
---------- Original Message ----------
Hi all
I am not a C programmer, but I am trying to understand formatC to
get consistent printing of
2011 Jul 31
5
Appending 4 Digits On A File Name
Greetings all,
I would like to append a 4 digit number suffix to the names of my
files for later use. What I am using now only produces 1 or 2 or 3 or
4 digits.
############
for (i in 1:1000) {
temp <- (kegg [i,])
temp <- merge (temp, subrichcdt, by="gene")
file.name <- paste ("kegg.subrichcdt.", i, ".txt", sep="")
2007 Nov 26
3
determine the number of digits printed into graph with "text(...)"
Dear R comunity,
I am printing a number in a graph using "text(...)" - see code
below: "fraction" is my number. I wish to print only two digits of the
number and struggle to do this... options(digit=3) does not work...
Thank you for your suggestions! Cheers, Georg.
**********************************
Georg Ehret
Johns Hopkins
Baltimore
2005 May 16
1
Solutions? "Intro Stats with R" - Dalgaard
Hi,
I'm going through the book "Introductory Statistics with R" by Dalgaard to teach myself R. At the end of each chapter there are some exercises. Does anyone know of any place on the net where someone has posted the answers to these?
I've looked at the author's and the publisher's site with no luck. And no, this is not cheating for a class, I graduated several
2009 Feb 24
1
biplot.princomp - changing score labels
Dear R helpers,
When producing a PCA biplot, vectors of environmental variables (as red
arrows with labels) and scores of the observations (black labels
(observation names)) are plotted by default. How can I change the
graphical output? Let's say I would like that the scores are plottet
only as symbols and not text. The only solution I found was this post in
the help archive
2007 Nov 06
1
Algorithms for coincidences
I'm looking at algorithms for determining coincidences. In educational
testing, it is interesting to look at cheating via the birthday problem
where I can assess the probability of n students having the same test
score in a class of size k.
I was writing my own code for the b-day problem until I ran into the
qbirthday() function, which has solutions for the overflow problems I
kept running
2007 Dec 05
0
Export to LaTeX using xtable() - Control the digits to the right of the separator [solved]
Hello everyone,
The thread title speaks for itself. Here's the code that worked for me:
> numSummary(finance[,"Employees"], statistics=c("mean", "sd", "quantiles"))
mean sd 0% 25% 50% 75% 100% n NA
11492.92 29373.14 1777 3040 4267 6553 179774 53 5
> str(numSummary(finance[,"Employees"],
2016 Jun 27
0
[cfe-dev] What version comes after 3.9? (Was: [3.9 Release] Release plan and call for testers)
On Mon, Jun 27, 2016 at 3:29 PM, Chris Lattner <clattner at apple.com> wrote:
> On Jun 27, 2016, at 8:26 AM, Hans Wennborg via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>> That's what concerns me about going to the scheme Richard and Rafael
>> suggested, of bumping the major version each time: we'd release 4.0,
>> and would Tom's dot-release then be