Displaying 20 results from an estimated 8000 matches similar to: "Compiling R"
2008 Aug 24
3
R project web site
Is anyone else encountering trouble viewing the basic www.r-project.org page?
Or has it been changed recently so that google hasn't kept up? I find I can
access the mirror of the CRAN page at http://www.maths.bris.ac.uk/R/, none of
the *.org pages. Nor can I jump to the R homepage from the CRAN mirror.
JWDougherty
2003 Dec 09
2
Font problem
Some plots fail due to a problem with the X11 fonts. I get a message that
"X11 font at size 22 could not be loaded." The demo() graphics routine for
instance dies during the third chart. The graphics demo calls "font.main=1"
and that seems to be where the error is. I believe this is due to a
configuration problem on my system, however I can't find where in the
2005 Jul 08
1
Problem compiling R 2.1.* on SUSE 9.2
I have been unable to compile either R 2.1.0 or 2.1.1 under SUSE 9.2. The
system simply hangs as far as I can tell. All key board and mouse
service dies. I have had no problem compiling earlier versions of R through
2.0.1, aside from remembering to include readline in the configuration.
Configure runs without any warnings except that Info or html versions of the
R Manuals. The SUSE 9.2
2005 Jan 15
1
pair() and X11 fonts error
I am encountering an font error when using either plot() or pairs() for a
scatter plot matrice under some circumstances. For instances pairs(hills)
using the "hills" data set in MASS results in the following error:
"Error in text.default(x, y, txt, cex = cex, font = font) :
X11 font at size 16 could not be loaded"
However pairs(iris) works fine. Since the iris
2012 May 18
2
Runs up and runs down test
Can someone point me to an implementation of the "runs up and runs
down" test, or does such beast exist in R? From web searches the
"runs up and runs down" test is commonly used for testing pseudo-random
number generators and in simulations. John C. Davis describes its use
in geology in his book on geological statistics (2002). Having
searched the full site, I can locate only
2018 Oct 18
2
After updating to 16 "Some non-required modules failed to load"
I just noticed this upon startup since updating from 15.6.1 to 16.0.0
- do any of these matter?
[Oct 18 12:12:18] WARNING[4489]: loader.c:2228 load_modules: Some
non-required modules failed to load.
[Oct 18 12:12:18] ERROR[4489]: loader.c:2243 load_modules:
res_pjsip_transport_websocket declined to load.
[Oct 18 12:12:18] ERROR[4489]: loader.c:2243 load_modules:
cdr_sqlite3_custom declined to
2010 Feb 18
3
row indexes from logical statment
Is there any easy way to pull out the row indexes for a logical
matching statment?
#################example code#########################################
foo <- data.frame(name=c(rep("A", 25), rep("B", 25), rep("C", 25),
rep("A", 25)), stuff=rnorm(100), and=rnorm(100), things=rnorm(100))
#this is what I want but I would like the row indexes
2007 Sep 27
3
different colors for two wireframes in same plot
Hello R,
According to:
g <- expand.grid(x = 1:10, y = 5:15, gr = 1:2)
g$z <- log((g$x^g$g + g$y^2) * g$gr)
wireframe(z ~ x * y, data = g, groups = gr,
scales = list(arrows = FALSE),
drape = TRUE, colorkey = TRUE,
screen = list(z = 30, x = -60))
i have two wireframes in one plot.
How could i change the color of the top - one to transparent (or only the grid).
2006 Jun 08
9
find :order =>
Hi,
I have the following find statment
@client_pages, @clients = paginate :clients, :per_page => 20, :order =>
"organisation_id, surname"
currently im ordering by organisation_id however I need to order by the
field in the organisation table organisations.name
how can this be done?
Thanks
Scott
--
Posted via http://www.ruby-forum.com/.
2017 Aug 27
0
Connect to postgreSQL
On Sat, 26 Aug 2017 18:35:31 -0700
Ira Sharenow via R-help <r-help at r-project.org> wrote:
Can you access the postgres database through psql or some other route?
Also, do you require a password to access the database from these
alternatives?
JWDougherty
2006 Mar 24
1
R for MacOSX - History and command line problems
Hi!
I have the following issues using "R for Mac OS X 2.2.1" (from the
ppc-.dmg) on a Mac OS X 10.4.5:
1) The command history is never saved (automatically) to .Rhistory.
(The file stays empty.)
2) If I save a history to some file via the "Save History" button,
and I load it afterwards via "Load History", only the first entry of
the saved History appears in
2006 Jul 05
2
get value from array.
hi,
Im running the following sql statment which returns 1 result.
pSql = "SELECT sum(amount)
FROM payments
WHERE expected_pay_date LIKE ''"+pWholeDate+"%''
AND invoice_id IS null "
aResult = Payment.find_by_sql(pSql)
how can I get the result of this?
(when doing @aResult.inspect it
2008 Oct 21
2
[help] Realtime Swich any context dinamically
when i wnat to working with realtime and mysql
for any context i have to insert (switch => Realtiem/context at extensions) statment into extensions.conf
for example if i want to have 10 context, i have to insert these lines into extension.conf :
[context1]
switch => Realtiem/context1 at extensions
[context2]
switch => Realtiem/context2 at extensions
[context3]
switch =>
2010 Jun 28
2
Using if statement on function
Hello everybody,
I'm trying to use a if-statment on a function. For a better
understanding I want to present a small example:
FUN=mean # could also be median,sd or
any other function
if (FUN == mean)
plot(...)
if (FUN == median)
plot(...)
...
This doesn't work, because FUN is a function. I've already tried to
coerce the
2018 Mar 31
1
R and Java 10 ➜ rJava not able to build
Don't waste too much time on this. It is due to a change introduced in Java 10 at short notice. I believe the rJava maintainers are working on a fix/workaround.
-pd
> On 31 Mar 2018, at 10:22 , John <jwd at surewest.net> wrote:
>
> On Tue, 27 Mar 2018 22:25:33 +0300
> Luis Puerto <luiss.puerto at gmail.com> wrote:
>
> I don't run a Mac so this may not
2005 Mar 10
8
Login controller additions
I have added roles and roles_users table and updated the model so that
my users can have multiple roles.
("Admin" role does always have id = 1).
I have added these methods to my application controller.
<code>
helper_method :is_admin?
helper_method :is_user?
def is_admin?
if @session[''user'']
@session[''user''].roles.find(1)
2012 Jun 09
2
Error when attempting to install tkrplot
I am getting following error when attempting to install the tkrplot
package.
...
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -I/usr/include/tcl8.5
-I/usr/include/tcl8.5 -fpic -O3 -pipe -g -c tcltkimg.c -o
tcltkimg.o tcltkimg.c:2:16: fatal error: tk.h: No such file or
directory compilation terminated. make: *** [tcltkimg.o] Error 1
ERROR: compilation failed for package ?tkrplot?
*
2006 Jan 30
3
Date Not Staying in Date Format
I have a column in a data frame that has a class of "Date" and a mode of
"numeric". When I:
max(df$Date)
My output stays in Date format, i.e. "2006-01-03".
However, when I run the following statment:
tapply(df$Date, df$SomeFactor, max)
my output looks like this: 9129 9493 9861 10226 10591 10956 11320
11687 12052 12417
The returned object is of
2018 Nov 30
2
Asterisk non-root - selinux - astdb
Hi
I'm trying to use Asterisk running as non-root user and selinux enabled.
Asterisk is running ok, but astdb not works. When i try to put in astdb,
console shows this message:
WARNING[1853]: db.c:350 ast_db_put: Couldn't execute statment: SQL logic
error or missing database
CentOS 7.5.1804
Asterisk certified/13.21-cert3
[root at sv03 asterisk]# ls -lahZ /var/lib/asterisk/astdb.sqlite3
2010 Jan 19
4
apply command
Can you please help on the issue?
I using the apply command on a matrix below the example:
Create a vector
x =c(5, 3, 2:4, NA, 7, 3, 9, 2, 1, 5)
create a matrix of 2 rows by 6 columns
b=matrix(x, 2,6)
print(b)
[,1] [,2] [,3] [,4] [,5] [,6]
[1,] 5 2 4 7 9 1
[2,] 3 3 NA 3 2 5
using the command apply
print(apply(b, 1, function(y) sort(y, na.last=F)))
the