Hi Marc, I think it would be wrong to leave readers with the
impression that it's somehow improper to use c() in drawing a legend,
because in fact, it works so well. What doesn't work so well is mixing
expression() calls with escaped characters like "\n" (or "\r"), and
that's probably due to
Hi Marc
I forgot about the other things than atop in my reply. Others seem to have
exhausted base graphics options
Could using grid.text solve your problems ?
e.g. Guide code
plot(1,1)
grid.clip()
vp <- viewport(width = 1, height = 1)
pushViewport(vp)
grid.text( "text", 0.25,0.25)
Just a very brief footnote.
I is easy to write badly structured spreadsheets.
But if people dong this would not have spreadsheets
and be forded to write code, they probably also
would write badly structured code.
There is a lot of bad R code around also!
> On Dec 29, 2016, at 15:40, Bert
Something like that. For all I know, MacOSX might work. Read the system
requirements yourself. I don't know all the systems that can meet those
requirements.
--
Sent from my phone. Please excuse my brevity.
On December 29, 2016 1:04:53 PM PST, Paul Bernal wrote:
Hi,
Thanks a lot to Duncan Mackay for the trick using atop() [but the
legends are centered and not left aligned] and also for the suggestion
of William Michels to use simply ",". However this last solution
prevents to use several legends.
Here is a solution to allow both return within a
Hola,
Puedes hacerlo entre otras formas así:
library(lubridate)
gastos$fecha <- dmy(gastos$fecha)
Saludos,
Carlos Ortega
www.qualityexcellence.es
El 29 de diciembre de 2016, 21:27, Horacio escribió:
> Buenas, esta pregunta es un poco elemental, pero estoy haciendo mis
Dear Jeff,
Thank you for your fast and kind reply. When you say that you do not think
this can be done on windows, then I would have to use something like Ubuntu
or Linux?
Best regards
Paul
2016-12-29 16:00 GMT-05:00 Jeff Newmiller :
> Read the system requirements
Read the system requirements [1]. I don't think you can do this on windows.
[1] https://cran.r-project.org/web/packages/rzmq/index.html
--
Sent from my phone. Please excuse my brevity.
On December 29, 2016 12:23:26 PM PST, Paul Bernal
wrote:
>After connecting to a
Buenas, esta pregunta es un poco elemental, pero estoy haciendo mis
primeras experiencias en R.
Yo tengo un CSV con el siguiente formato...
fecha;Gastos;media móvil;Holt Winter
31/08/02;2498,5;;2498,5
29/09/02;2250,93;2320,63;2424,229
31/10/02;2212,46;2097,87;2360,6983
After connecting to a mirror, I typed the following command:
install.packages("rzqm")
but I received the following message:
ERROR: compilation failed for package 'rzmq'
removing 'E:/Documents/R/win-library/3.3/rzmq'
package which is only available in source form, and may need compilation of
> On Dec 29, 2016, at 7:38 AM, Habtamu Gebreselassie
> wrote:
>
> I had installed R studio desktop in my laptop but i could n't use it
> properly due an output "Error in normalizePath(dir, winslash = "/",
> mustWork = TRUE) :
> unused argument(s) (winslash = "/",
Use coord_fixed()
--Ista
On Thu, Dec 29, 2016 at 9:59 AM, Fix Ace via R-help
wrote:
>
>
>
> Hello, there,
> What exactly does "expand" do for this function?
> I followed the examples from the manual to get a plot:
>
> d <- ggplot(subset(diamonds, carat > 1), aes(cut,
I had installed R studio desktop in my laptop but i could n't use it
properly due an output "Error in normalizePath(dir, winslash = "/",
mustWork = TRUE) :
unused argument(s) (winslash = "/", mustWork = TRUE)" on r console. please
i am in need of your
immediate assistant.
with regards.
Hello, there,
What exactly does "expand" do for this function?
I followed the examples from the manual to get a plot:
d <- ggplot(subset(diamonds, carat > 1), aes(cut, clarity)) +geom_jitter()
I would like to have all the dots in a square instead of rectangular range.
When I applied d +
Hi Bryan (and Petr),
If you want to write tsv-style data from R to clipboard on a Mac (e.g.
for pasting into Numbers), you should do:
> x1 <- matrix(1:6, nrow =2)
> clip <- pipe("pbcopy", "w")
> write.table(x1, file=clip, sep = "\t", row.names = FALSE, fileEncoding =
> "UTF-8" )
> close(clip)
Oh nuts! I replied all. I apologize for the noise!
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Thu, Dec 29, 2016 at 6:40 AM, Bert Gunter
(Private -- as this is just my personal opinion and not really helpful).
I found your comments informative. Thank you.
My own experience with scientific colleagues -- biologists mostly --
who use Excel in the way that you describe is that the "haptic" (great
word!) ease with which they
Hi Jim,
Your assumption is correct. When running the analyses in R and want to export
the output that appears in the console window to Excel(.csv) file.
I believe it is easier to do if the export it done to an Excel (.CSV) file.
So is there a way to export the analyses in the console window to
Thanks to all the persons who replied,
I was hoping for a quick "grid-free" solution but I guess it is not
Christmas time anymore :D
Grid coding it is.
On 12/29/2016 12:13 AM, Richard M. Heiberger wrote:
Yes, but it will probably require work. I think you will need to
write a grob that
The "writeFindFn2xls" function in the sos package include 3
different ways to write an Excel workbook, depending on which packages,
etc., you have installed. I wrote that, because I could not find one
contributed package that as easy to install on every operating system.
This writes an
I don't really disagree with the below, but part of the issue is that analyses
do not typically output results in data frame like formats (neither in the
textual form or as R objects). Some people have attacked this issue by
wrangling output into data frames, check the "broom" package.
(The
Hi Marc,
I can't seem to get "\n" to work, but simply using c() and "y.intersp
= 1" looks fine:
> plot(1, 1)
> v1 <- c(expression(italic("p")*"-value"), expression("based on
> "*italic("t")*"-test"))
> legend("topright", legend=v1, y.intersp = 1, bty="n")
Hope this helps,
Bill
William
Well, my few cents again.
the packages
openxslx and xlsx allow to write dataframes as Excel sheets.
(xlsx is Java based, so it has more requirements to run than openxlsx,
which is just C++ based)
On Windows, R tools for Visual Studio allows Excel export.
For Windows, there also is our Excel
Hi Marc
Try atop
plot(1, 1)
v1 <- expression(atop(italic("p")*"-value","based on "*italic("t")*"-test"))
legend("topright", legend=v1, y.intersp = 3, bty="n")
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2351
Email: home:
Hi everyone,
Could someone help me to get both \n (return) and italic() in a legend.
Here is a little example showing what I would like (but without the
italic) and second what I get:
plot(1, 1)
v1 <- "p-value\nbased on t-test"
legend("topright", legend=v1, y.intersp = 3, bty="n")
plot(1,
Hi Bryan,
What functions like "htmlize" (prettyR) do is format the basic R
output into HTML tables with the option of interspersed graphics.
While I usually stop at the HTML stage, the output files can be
imported into Word for those who cannot work out how to open them with
an HTML browser. I
On Wed, 28 Dec 2016 13:45:25 -0800
Bryan Mac wrote:
> Hi,
>
> How do I export results from R to Excel in a format-friendly way? For
> example, when I copy and paste my results into excel, the formatting
> is messed up.
>
> Thanks.
>
> Bryan Mac
> bryanmac...@gmail.com
27 matches
Mail list logo