Displaying 20 results from an estimated 5000 matches similar to: "Confused"
2012 Mar 14
1
How to extend a slot of a class?
Hej hej,
is there a way to extend the SpatialPointsDataFrame data slot?This is the structure of an object of it:> str(coord)
Formal class 'SpatialPointsDataFrame' [package "sp"] with 5 slots
..@ data :'data.frame': 214 obs. of 2 variables:
.. ..$ location.long: num [1:214] -79.8 -79.8 -79.8 -79.8 -79.8 ...
.. ..$ location.lat : num [1:214] 9.16 9.16 9.16
2010 Dec 01
3
Save R2HTML as an object instead of file
Hi
Is it possible to instead of getting the HTML code written to a file, get it
saved as a string in an object instead?
Or is there any kind of package that can do this?
//Joel
--
View this message in context: http://r.789695.n4.nabble.com/Save-R2HTML-as-an-object-instead-of-file-tp3066776p3066776.html
Sent from the R help mailing list archive at Nabble.com.
2012 Feb 09
2
XL toolstack and drbd
Hej folks,
I''m messing around with DRBD once again but with a new Xen 4.1.2 installation
using the XL toolstack instead of the xend daemon.
However, after getting my DRBD installed and a device operational, trying to create
a domU using the drbd block device doesn''t want to work:
xl create -c test.cfg
Parsing config file test.cfg
Unknown disk type: drbd
My config has:
disk
2010 Jun 11
2
Problem using Ruby On Rails with rspec to write user stories
Hej out there,
i''m a newbie on ror and im trying to install rspec on my computer. I
installed rspec an rspec-rails via gem.
when i''m running the file script/generate rspec it works. but i have
no folder called stories....
how can i fix this problem?
thanks...
hope to get some help;)
--
You received this message because you are subscribed to the Google Groups "Ruby on
2006 Aug 23
3
rgl: exporting to pdf or png does not work
Hej,
When exporting a image from rgl, the following error is encountered:
> rgl.postscript('testing.pdf', fmt="pdf")
RGL: ERROR: can't bind glx context to window
RGL: ERROR: can't bind glx context to window
Warning messages:
1: X11 protocol error: GLXBadContextState
2: X11 protocol error: GLXBadContextState
The pdf file is created and is readable, but all the labels
2012 Oct 18
1
R CMD check --force-biarch
I'm having problems getting R CMD check to work correctly on Windows 7 (64 bit) in a package that uses C code. What I want to do is to be able to pass the equivalent of the "--force-biarch" option to check, but this is only supported for INSTALL.
Background:
I'm writing a package (RNetica) which forms a link between R and a third-party library (Netica.dll). The vendor supplies
2020 May 11
2
Segfault on read.socket with long message
I'm trying to implement a connection between two processes using a
simple socket mechanism. The messages are rather long object stored as
JSON.
R is crashing with a segmentation fault when I try to read my test
message (which is 5305 bytes long). I first send the length in bytes
and then I send the actual message.
Here is my R code:
library(jsonlite)
library(futile.logger)
2020 May 12
1
Segfault on read.socket with long message
Thanks for the link.? Somehow the information about how to join the
bugzilla site was not available at bugzilla and buried in the CRAN web
site instructions on reporting bugs (which pointed me at Bugzilla and
not the page you showed me).
The example is pretty minimal.? I left the tracing statements
(flog.trace()) and the toJSON, fromJSON in as I thought they might
provide some context for
2001 Apr 30
1
Swat in samba.
Hej.
I am using Red Hat 7.1 and samba 2.2.0 TNG.
I have installed RPM for red hat 7.0 but i don't think this is a problem.
2007 Aug 23
1
two labels on x-axis (year and month)
hej
i'm plotting time-series and label the x-axis as follows:
r <- as.POSIXct(round(range(p1$time), "month"))
to define the time range for labeling the xaxis
plot(p1$time,p1$ p1, type="l", xaxt="n")
plots p1 against time
axis.POSIXct(1, at=seq(r[1], r[2], by="month"), format="%m")
labels the axis in mothly steps.
what I want do do
2002 Dec 09
1
HELP ME WITH SLLOOOOWWW PRINT
Hej
I have a minolta Magicolor 2+ on my redhat 7.3 linux box
I'm using samba to share the printer.
But when i print to the dam thing i'm it take serios LONG time before the print aktivates, and even some times the print desaperes into no ware
Please some one help me
Best Regards
Jan Madsen
2007 Oct 11
1
strange: yaxis inversion with zoo not possible?
hej there
I want to invert the yaxis as follows:
x<-rnorm(1:50)
plot(x^2, type="h", ylim=c(0,10))
plot(x^2, type="h", ylim=c(10,0))
then doing the following it won't work - kind of strange isn't it?
x.zoo<-zoo(x^2)
plot(x.zoo, type="h", ylim=c(10,0))
plot(x.zoo, type="h", ylim=c(0,10))
how can I invert the axis with zoo objects?
Marc
--
2008 Dec 08
1
partial correlation
Hej!
I have the following problem:
I would like to do partial correlations on non-parametric data. I checked
"pcor" (Computes the partial correlation between two variables given a set
of other variables) but I do not know how to change to a Spearman Rank
Correlation method [pcor(c("BCDNA","ImProd","A365"),var(PCor))]
Here''s a glimpse of
2006 Aug 23
1
rgl package: color of the axes
Hej,
When plotting triangles with rgl.triangles and setting the axes afterwards
with decorate3d(aspect=TRUE), the axes get the color used for the last
triangle plotted.
Example:
rgl.triangles(c(1,2,3),c(1,2,5),c(1,3,2),col="#55FF55")
decorate3d(aspect=TRUE)
Using
decorate3d(aspect=TRUE,col="#000000")
or
decorate3d(aspect=TRUE,color="#000000")
does not help,
2011 Jun 16
1
Read file line by line
Hi
I got a file that looks like this: (i have shorten it alot the real file is
over 200k rows long)
chr10 rs7909677 101955 A G 0 1 0 1 0 0...
chr10 rs2436025 238506 C G 1 0 0 1 0 0...
chr10 rs11253562 148946 C T 0 1 0 0 1 ...
chr10 rs1105116 230788 G T 0 0 1 0 0 1...
chr10 rs4881551 149076 A G 0 1 0 0 1 0 0 1...
What I want it to go trough the file and get the highest value in the third
column
2008 Jul 08
3
undefined method `name' ...........
Hi Community....
I''m new in this game, so this might be a easy question, but I have
done my google, without result, so I will try this....
I''m learning ROR, and I''m using Patrick Lens ''Ruby on Rails'' book.
(This is written for ror 1.x - and I''m using NetBeans 6.1 - ror 2.x -
this might be the problem...)
But...
I have made this
2012 Nov 28
1
R CMD check --force-biarch
I'm having problems getting R CMD check to work correctly on Windows 7 (64
bit) in a package that uses C code. What I want to do is to be able to pass
the equivalent of the "--force-biarch" option to check, but this is only
supported for INSTALL.
Background:
I'm writing a package (RNetica) which forms a link between R and a
third-party library (Netica.dll). The vendor supplies
2001 Aug 13
1
export-problem
Hello!
I am trying to export a data-file from SAS to R. It says in the R program
that the SAS file should be in XPORT-format. I assume that the file should
have and .xpt extension. But when I try to open the file in R I get only
the message "compressed" written all over. So, probably I should
un-compress the file in the R-program, the question is how?
Very greatful for quick help!
2012 Oct 12
1
Problem with which function
Hej,
i need the which() funktion to find the positions of an entry in a matrix.
the entries i'm looking for are : seq(begin,end,0.01) and there are no
empty spaces
i'm searching in the right range.
so i was looking for the results R can find and i recieved this answer.
for (l in
2010 Sep 29
2
R crashes when loading rgl package before minqa package
Hej,
Calling newuoa (from the minqa package) makes R crash when the package rgl
is loaded first. This however only on certain selected data.
The data used for testing (saved to 'bugs.R'):
xvals = c(1,2,4,5,7,8,9,10,11,12,14,15,16,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36)
yvals =