Displaying 20 results from an estimated 2000 matches similar to: "Error while loading R2HTML in Rprofile"
2006 Nov 27
2
[R-sig-Geo] plot() and Jpeg() increase font size and resolution
Thanks to Edzer and Roger,
I can now plot with increased font sizes. However, jpeg still does not
reproduce these, nor does it show up in high quality. What I would like
to do is produce some highresolution jpegs.
Any help would be appreciated
Thanx
Herry
R2.4 on Mandriva 10.2 linux.
Dr Alexander Herr
Spatial and statistical analyst
CSIRO, Sustainable Ecosystems
Davies Laboratory,
University
2007 Jun 14
1
blotched y-axis text in plot function
Hi List,
I have recently upgraded to opensuse10.2 and R 2.5 (compiled from
source). Now, whenever I use plot the y-axis and labels are black
blotches while x-axis and labels are fine.
Using demo(graphics) this occurs with plot/boxplot/hist/pairs/coplot but
not in the pie graphs and in the "The level of Interest in R" plot,
which uses axis to define the y-axis.
I presume this has to
2007 May 18
1
error: GLX extension missing on server
Hi List,
when loading library(rgl) I get error "RGL: GLX extension missing on
server". I have Mesa and xgl installed, but xgl info sais its an highly
experimental code. Does this mean I shouldn't bother for a while with
opengl or are there alternatives?
Any help appreciated
Thanx
Herry
R 2.4.1 on x86_64 opensuse 10.2
Dr Alexander Herr - Herry
Spatial and statistical analyst
2007 Aug 31
0
FW: sapply to return factors in dataframe
Ahhrg List,
there was a hitch in the previous code. Updated and functional version
follows after my initial question:
I am trying to randomise a dataframe with mixed factors/numeric
variables and return a new (randomised) dataframe with the same columns
(as factors/numeric).
simgap<-function(x) {
ma<-max(x)
mi<-min(x)
Xout<-runif(length(x),min=mi,max=ma)
return(Xout) }
2006 Nov 24
2
plot() and Jpeg() increase font size and resolution
Dear list,
I am having troubles increasing the fontize when plotting a
variogram{gstat} and its model (vgm) with plot and using jpeg(). Also
the resolution in the jpeg call does not work. I am using R2.4 on
Mandriva 10.2 linux.
I can change fontsize with cex.axis in a normal plot, so I presume it
has to do with plotting the variogram model. Any help on how to increase
the font size and
2007 Feb 01
1
rgl.postscript{rgl} crashes R
Hi list,
I am trying to print a rgl scene. I can do this with
rgl.snapshot("test.pnt",fmt="png"), but
rgl.postscript("test.pdf",fmt="pdf") does crash R and returns to the
linux shell after extented time period.
I am running R 2.4.0 on i686 linux mandrake 10.2. Do I need any other R
external program to make this work?
Thanks
Herry
Dr Alexander Herr -
2006 Dec 18
2
surface3d grid from xyz dataframe
Hi List,
I am trying to plot a grid with an overlayed height. I have a dataframe
with four variables:
x,y,gridvalue,height. The dataframe has 2.5mio observations (ie grid
points),
I assign colors through the gridvalue using map_color_gradient thus
producing:
x,y,gridvalue,height,gridcol as variables of the dataframe. The grid
dimensions are 1253 x 2001 (=2507253 data points).
My attempts with
2003 Sep 11
1
Customised legend in lattice
Hi List,
Am trying to customize a legend in trellis: Draws 2x5 lines in 5 colors and
2 linetypes. I would like to add two more items to the legend showing the
key for the line types above the colored legend.
Any suggestions welcome - thanks Herry
#############################
#Following example code:
library(gregmisc)
trellis.device(bg="white")
i1=0
i2=-1.89767506
i3=-1.17087085
2004 Oct 22
1
R2HTML installation on R 1.9.1
Hello,
I am trying to install R2HTML version 1.4-3, but am getting errors when I try to use it. I am running R 1.9.1 on Redhat Linux Ent 3 AS x86_64. I installed R2HTML using the following command "R CMD INSTALL R2HTML_1.4-3.tar.gz". I did not get any errors when installing it. When I launch R and type library('R2HTML'), I get the following error:
>
2002 Dec 18
3
summary stats including NA's into new dataframe
List,
I am trying to extract summary statistics from a data frame with several
variables (and NAs) into a dataframe with the columns: Variablename (ie the
colnames of original data), mean, stdev, max, min, Valid N, Missing Values.
Extracting the statistics is straightforward using stack and aggregate.
However, I haven''t succeeded in obtaining the number of Missing Values. I
can extract
2007 Jun 18
1
Loading problem with R2HTML package
I have downloaded latest version of R2HTML (v1.54) for 64-bit windows PC. My
R version 2.5.0. My problem arises when i want to install SciViews-R which
need R2HTML package.
> library(R2HTML)
Error in `parent.env<-`(`*tmp*`, value = NULL) :
use of NULL environment is defunct
Error: package/namespace load failed for 'R2HTML'
Any remedy ?
Regards
--
View this message in
2010 Aug 01
2
R2HTML giving "NULL" in output
Dear List,
I am using R 2.11.1 and R2HTML 2.1. I am able to write output to an HTML
file but after every line of output I get a line saying NULL. R2HTML seems
to be including <p class='character'>NULL</p> after each entry.
Here is an example of my R code and the source of the HTML...
HTMLStart(outdir=OutPath, file="M1000.Report", extension="html",
2007 Jul 17
2
Combine R2HTML and Rcmd BATCH?
Hi All,
I have an R script that spawns output in the form of an HTML page. This
is done by the R2HTML package.
Now I want to run the same script using Rcmd BATCH. However, it seems
that it is not possible to use R2HTML in this case.
My script ends with this error message:
#########################
Error in dev.print(png, file = AbsGraphFileName, width = Width, height =
Height, :
can only
2010 Jan 03
3
R2HTML Report number format, or Better Way?
Here I am again with question I'll feel foolish for asking, when I
see the answer.
I'm trying to produce a report and here's where I get stuck:
How do I get R2HTML to produce the same number format?
Particularly remove the decimal places for Par and Sal.
Are there better methods to produce this type of report?
Thanks,
L.A.
R version 2.10.0 XP
2007 Nov 05
1
R2HTML package and Open Office: text only pasted
I am trying to use R2HTML (just downloaded from CRAN) to paste R (2.6.0)
results output via the clipboard to OpenOffice Writer and Calc
(version 2.3on WinXPPro)
Pasting into Excel gives a formatted table of results (as expected), but
pasting into Calc simply pastes the HTML code. Trying paste special only
gives an option to paste unformatted text.
Equally, with Writer, in the past when I tried
2004 Jul 05
1
Apparent conflict between \Sexpr in Sweave and R2HTML
I have come across an apparent bug in the operation of Sweave. If I
load the package R2HTML then execution of \Sexpr{} in an *.Rnw file no
longer works. The \Sexpr{} code is simply written to the *.tex file.
Below are my *.Rnw file, commands, and output.
The Sweave file, Sweave-test-1_short.Rnw:
% -*- mode: noweb; noweb-default-code-mode: R-mode; -*-
\documentclass{article}
\title{A Test
2003 Mar 31
2
Using R2HTML
Hello,
I''m using R2HTML library to make a HTML page output (both data frames and
graphics):
HTMLStart(outdir=paste(getwd(),"/prove html", sep = ""),filename="index",
echo = F, HTMLframe = T, withprompt = "HTML> ", CSSFile = "R2HTML.CSS",
Title = "Indici di attivit?")
...
2008 Dec 18
1
R2HTML and output from a function
Dear list,
I am trying to construct a report function that would go through all
the object in the current environment and print them in HTML form.
What I have got is:
dataReport <- function(){
#First tables
tabs <- ls(sys.frame(), pattern=".*table")
for(currT in tabs){
cat("\n\n")
print(currT)
if(length(dim(get(currT))) > 2){
#We have to use ftable
2007 Dec 06
2
R2HTML how to pair graphic.png and table
Dear list,
i have this problem:
how to pair a graphic.png and a table in R2HTML ?
The better showing of a mutiple analysis is sometimes to mate graphic and
table
Can anyone help me in this task ??
In the example below graphisc and table are subsequent and not pair..
directory=getwd()
myfile<-file.path(directory,"testHTML.html")
2006 May 04
1
a clipboard problem while using R2HTML
I followed the examples of previous posts about R2HTML to practice
exporting a data to a clipboard, but the result is not as smooth as I
had expected:
library(R2HTML)
data(iris)
HTML(iris, file("clipboard","w"), append=FALSE)
I got an error message:
> HTML(iris, file("clipboard","w"), append=FALSE)
Error in file("clipboard", "w")