Displaying 20 results from an estimated 2000 matches similar to: ""landscaping" the graphics device"
2008 Feb 14
1
configure fails on new Redhat Enterprise System
Hello all,
I have a new Redhat enterprise system that I'm trying to get set up with all the goodies I need, including R-2.6.1. I got all of the required dependencies including readline. However, configure dies with:
configure: error: --with-readline=yes (default) and headers/libs are not available
Here are all the lines of output relating to readline:
checking readline/history.h
2006 Feb 20
1
Plots: displaying mathematical symbols in specific fonts
Dear SavioRs,
I am doing some research where characters in different microsoft
fonts serve as experimental stimuli. Hence, in plot labels, I would
like to display the characters in specific microsoft fonts. I have
figured out how to display letters and numbers, but I am having
trouble with symbols such as capital delta. Before I go further, I
am using R 2.2.1 on Windows XP with everything
2009 Nov 04
1
Building from source under Windows 7
I have downloaded all of the tools and read the readme's that I know about but I am still getting the following error when I try to build from source:
C:\Program Files (x86)\R\R-2.9.2\src\gnuwin32>make all recommended
make[1]: `Rpwd.exe' is up to date.
cp -p etc/Makeconf etc/Rcmd_environ etc/Rconsole etc/Rdevga etc/Rprofile.site et
c/rgb.txt ../../../etc
cp: preserving permissions for
2005 Apr 15
2
inconsistent fonts generated in postscript file (PR#7795)
Full_Name: Xiang Li
Version: 2.01
OS: WinXP
Submission from: (NULL) (128.248.174.125)
I am trying to use the font of "TT Courier New: bold" to get the equal size of
letters. The "TT Courier New: bold" is the 11th font listed in the Rdevga file.
You can just try a simple case:
plot(1:10, 1:10, xlab = "XILMV", font.lab = 11)
I save the plot in postscript format,
2004 Feb 04
2
Latin 2 encoding + fonts
Hi,
In the FAQ I read about options to specify different fonts than the default
ones for the console (in the file Rprofile) and for the graphical output
(Rdevga). I would however like to replace Latin 1 with Latin 2 enconding for
both (console and graphical) output in Windows and just graphical output in
Linux.
I guess it is possible but I did not find the way.
How can I use the fonts
2012 Dec 21
2
Can data.frame be saved as image?
Dear R forum
I have one stupid question, but I have no other solution to it in sight?
Suppose some R process creates graphs etc alongwith main output as data.frame e.g
output1 = data.frame(bands = c("A", "B", "C"), results = c(74, 108, 65))
I normally save this output as some csv file.
But I need to save this output as some image (I understand this is weird,
2013 Apr 17
3
Creating a vector with repeating dates
Dear R forum
I have a data.frame
df = data.frame(dates = c("4/15/2013", "4/14/2013", "4/13/2013", "4/12/2013"), values = c(47, 38, 56, 92))
I need to to create a vector by repeating the dates as
"Current_date", 4/15/2013, 4/14/2013, 4/13/2013, 4/12/2013, "Current_date", 4/15/2013, 4/14/2013, 4/13/2013, 4/12/2013, Current_date,
2012 Dec 20
2
How to count the nos. in a range?
Dear R forum
I have a following vector of random no.s
x = runif(100, 0.01, 0.99)
[1] 0.47212037 0.77867992 0.33947474 0.93369035
[5] 0.03720073 0.79307831 0.81801835 0.92710688
.................................................
I need to count the random no. falling in the range (0 - 0.10), (0.10 - 0.20), (0.20 - 0.30)..upto (0.90 - 1)
Thus, I
need to have a data frame as
2013 Mar 28
6
How to delete Identical columns
Dear R forum
Suppose I have a data.frame
df = data.frame(id = c(1:6), x = c(15, 21, 14, 21, 14, 38), y = c(36, 38, 55, 11, 5, 18), x.1 = c(15, 21, 14, 21, 14, 38), z = c("D", "B", "A", "F", "H", "P"))
> df
id x y x.1 z
1 1 15 36 15 D
2 2 21 38 21 B
3 3 14 55 14 A
4 4 21 11 21 F
5 5 14 5 14 H
6 6 38 18 38 P
2013 Mar 26
2
Counting various elemnts in a vactor
Dear R forum
I have a vector say as given below
df = c("F", "C", "F", "B", "D", "A", "D", "D", "A", "F", "D", "F", "B", "C")
I need to find
(1) how many times each element occurs? e.g. in above vector F occurs 4 times, C occurs 2 times etc.
(2)
2013 Oct 17
4
Subseting a data.frame
Dear Forum,
I have a data frame as
mydat = data.frame(basel_asset_class = c(2, 8, 8 ,8), defa_frequency = c(0.15, 0.07, 0.03, 0.001))
> mydat
basel_asset_class defa_frequency
1 2 0.150
2 8 0.070
3 8 0.030
4 8 0.001
I need to get the subset of this data.frame where no of records for the
2013 Oct 17
4
Subseting a data.frame
Dear Forum,
I have a data frame as
mydat = data.frame(basel_asset_class = c(2, 8, 8 ,8), defa_frequency = c(0.15, 0.07, 0.03, 0.001))
> mydat
basel_asset_class defa_frequency
1 2 0.150
2 8 0.070
3 8 0.030
4 8 0.001
I need to get the subset of this data.frame where no of records for the
2007 Oct 03
2
Windows OS, R and unicode
I'm trying to use the biological female and male signs in R2.5.1 under
Windows XP. I can access and insert these symbols using word-processors.
In general these should be available as \u2640 and \u2642 but I can't
make them happen in R using (say) text(5,5, "\u2640") message "invalid
\uxxxx sequence"
I've replaced Arial with Arial unicode MS in Rdevga and
2013 Apr 16
3
Splitting the Elements of character vector
Dear R forum
I have a data.frame
df = data.frame(currency_type = c("EURO_o_n", "EURO_o_n", "EURO_1w", "EURO_1w", "USD_o_n", "USD_o_n", "USD_1w", "USD_1w"), rates = c(0.47, 0.475, 0.461, 0.464, 1.21, 1.19, 1.41, 1.43))
currency_type rates
1 EURO_o_n 0.470
2 EURO_o_n 0.475
3 EURO_1w 0.461
2002 Apr 07
3
German umlaut in xlab
Dear all,
which font do I have to choose to use German umlauts at x/ylab in plot? Do I
have to change Rdevga; and how? Or should I use these Hershey vectors?
I looked quite a long time for a solution, which should be easy, so I
thought I'd better ask here.
Maybe some other people have already solved this problem.
Regards,
Petra
-
---------------------------------------------------
Petra
2007 Oct 24
1
rcmdr and mailing lists
I am trying to draw a bar chart with standard error bars for two
groups. I was struggling in R so have now managed to get rcmdr up and
running on my mac (although the help frequently crashes, everything
else seems fine, if a bit sluggish; wouldn't use it for stats). This
has allowed me to very easily create a plot of the means and standard
errors
BUT-does anyone know if it is
2013 Oct 16
1
How to write an error to output
Dear R forum,
The example below is just an indicative one and I have constructed it. My real life data and conditions are different.
I have a data.frame as given below
mydat = data.frame(A = c(19, 20, 19, 19, 19, 18, 16, 18, 19, 20), B = c(19, 20, 20, 19, 20, 18, 19, 18, 17, 16))
if (length(mydat$A) > 10)
{
stop("A has length more than 10")
}else
if (max(mydat$B) > 18)
{
2007 Oct 22
4
Bar plot with error bars
Apologies if this has been asked before. I am having trouble
understanding the R mailing list never mind R!
I am relatively new to R having migrated from Minitab and SPSS. I
have managed to do some more complicated statistics such as
hierarchical partitioning of variance on an 80,000 record dataset but
have to admit that drawing a simple bar plot I could do by hand is
proving extremely
2013 May 02
1
Clean Price of Bond : Can't install "RQuantLib" in R version 3.0.0
Dear Forum,
I have R version 3.0.0 installed and need to install RQuantLib pacakge. I tried to install it from CRAN Mirror and I couldn't load it. I had saved the package i zip format and tried to install it locally but I am getting following error.
> utils:::menuInstallLocal()
Error in read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
2013 Apr 15
6
Sorting data.frame and again sorting within data.frame
Dear R forum,
I have a data.frame as defied below -
df = data.frame(names = c("C", "A", "A", "B", "C", "B", "A", "B", "C"), dates = c("4/15/2013", "4/13/2013", "4/15/2013", "4/13/2013", "4/13/2013", "4/15/2013", "4/14/2013",