Displaying 20 results from an estimated 200 matches similar to: "separate a variable in several variables"
2011 Jan 27
2
Unable to require installed package
Hi,
I write a package in Linux and ready to distribute, and I can install it in
linux and run it.
However, when I have install it in my Windows' R.
I can not 'require' it.
> is.element("grt", installed.packages()[,1])
[1] TRUE
> require(grt)
Loading required package: grt
Failed with error: ‘'grt' is not a valid installed package’
Is there any pitfall
2018 Apr 17
1
Minor glitch in optim()
Having worked with optim() and related programs for years, it surprised me
that I haven't noticed this before, but optim() is inconsistent in how it
deals with bounds constraints specified at infinity. Here's an example:
# optim-glitch-Ex.R
x0<-c(1,2,3,4)
fnt <- function(x, fscale=10){
yy <- length(x):1
val <- sum((yy*x)^2)*fscale
}
grt <- function(x, fscale=10){
nn
2010 Apr 02
2
How to save a model in DB and retrieve It
I'm wondering how to save an object (models like lm, loess, etc) in a DB to retrieve and use it afterwards, an example:
wind_ms <- abs(rnorm(24*30)*4+8)
air_kgm3 <- rnorm(24*30, 0.1)*0.1 + 1.1
wind_dg <- rnorm(24*30) * 360/7
ms <- c(0:25)
kw_mm92 <- c(0,0,0,20,94,205,391,645,979,1375,1795,2000,2040)
kw_mm92 <- c(kw_mm92, rep(2050, length(ms)-length(kw_mm92)))
modelspline
2024 Oct 22
1
invalid permissions
Dear Prof. Roger Koenker,
On Tue, 22 Oct 2024 09:08:12 +0000
"Koenker, Roger W" <rkoenker at illinois.edu> wrote:
> > fN <- rqss(y~qss(x,constraint="N")+z)
>
> *** caught segfault ***
> address 0x0, cause 'invalid permissions?
Given a freshly produced quantreg.Rcheck directory, I was able to
reproduce this crash by running
R -d gdb
# make
2024 Oct 22
1
invalid permissions
Gurus:
I have a new version of my quantreg package with minimal changes, mainly to fix some obscure fortran problems. It fails R CMD check ?as-cran with the error:
Running examples in ?quantreg-Ex.R? failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: plot.rqss
> ### Title: Plot Method for rqss Objects
2008 Oct 06
1
need ur kind advice
Dear All,
apprecite ur kind help n advice
I have a Centos 5 server running only squid for sometime and its workin
great.
i am concerned about security so i have a shorewall firewall on the
machine runnign squid n works grt
now i would like to know the follwing
1) does anyone one know of any good antivirus software i could install on
the centos OS squid server so as to scan for viruses so i cd
2009 Jul 30
2
sendmail slow to response
Dear All,
I am sorry for the post here but really apprecite if someone could help me
or advise.
actually i just could not subscribe to sendmail mailing list
I have the following setup for a long time on a single computer
Centos server running as my primary Mail & Dns server
CentOS release 5 (Final)
sendmail-8.13.8-2.el5
bind-9.3.4-6.0.3.P1.el5_2
MailScanner (4.76.25)
Mailwatch 1.0.4
I had
2007 Dec 24
1
Question on menu/Makefile
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Was just working with the latest 3.54, and find that the Makefile in the menu
directory didn't work until I added the /include/syslinux to the file.
< CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -W -Wall -
march=i386 -Os -fomit-frame-pointer -I$(LUDIR)/include -
I$(COM32DIR)/include -I$(COM32DIR)/include/syslinux -Ilibmenu -
D__COM32__
-
2010 Oct 28
1
Heatmap construction problems
I am very new to R and don't have any computer program experience
whatsoever. I am trying to generate a heatmap of the following data:
Phylum,AI,AJT,BY,GA,Grt,Sm
Acidobacteria,0.5,0.7,2.7,0.1,2.6,1.0
Actinobacteria,33.7,65.1,9.7,2.0,3.9,2.1
Bacteroidetes,9.7,5.6,0.7,13.2,41.1,21.6
CCM11b,0.0,0.0,0.0,0.0,0.0,0.1
Chlamydiae,0.1,0.1,0.0,0.0,1.0,0.2
2007 Jan 24
1
vesamenu samples?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I've been using the standard isolinux.cfg file for some time with
great success. Have it currently display a file at the beginning with
a little .lss graphic file, and some basic info then with the image
names and info. Also have 4 of the help files linked to the F1 - F4
keys.
But I just had a number of emails back
2007 Jan 25
4
vesamenu.c32 and cat.c32
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have done some additional testing, and gotten it a bit close to what I was
looking for. I had to modify the cat.c to eliminate the printing of the
arguments and file name, and added a Press Enter to return menu line.
With the below isolinux.cfg the options do display the files, and pressing
enter than returns to the vesamenu.
DEFAULT
2006 Jan 09
2
Question on Kernel boot options
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have a project that uses syslinux to load the kernels from the CD to create
disk and/or partition images. The process works great, but as I have been
building newer kernel images with new disk and nic drivers, I have had users
run into problems.
Example: one users machine would fail at hotplug detection, creating a
kernel with this feature off
2005 Jul 14
2
[ronvdaal@zarathustra.linux666.com: Possible security issue with FreeBSD 5.4 jailing and BPF]
This message was sent to bugtraq today:
While playing around with FreeBSD 5.4 and jailing I discovered that it was
possible to put an ethernet interface into promiscious mode from within the
jailed environment, allowing a packetsniffer to gather data not meant for
the jailed box. This also affects FreeBSD 5.3 (tested) but not FreeBSD 4.x
This can be reproduced on boxes where BPF support is
2006 Dec 15
6
Query regarding linking R with Matlab
Thank you sir for your prompt reply.
Currently i am stuck at point where I need to call an available Matlab program from an R 2.4.0 interface. How can I do this? I have downloaded the R.matlab file and also the manual in pdf. But still i am not able to get through the problem. I will be grateful to you if you can elaborate me on this.
Awaiting your reply,
regards,
Bhanu Kalyan K
2005 Oct 23
12
Showing a neat error message
Hi All,
I''m trying to prevent users from deleting a folder that has contents
like this:
class Folder < ActiveRecord::Base
has_many :myfiles
has_many :folders
belongs_to :folder
validates_uniqueness_of :name, :scope => "folder_id"
before_destroy :dont_destroy_folder_with_contents
def dont_destroy_folder_with_contents
if Folder.find(id) != nil ||
2005 Nov 24
1
caracter set problem
Hi, I'm from Brazil, and I'm having a problem with special
caracters when mounting shares upon Windows XP and 2003.
Even using the options codepage=850 and iocharset=utf-8 some caracters
like ?, ?, ?, ? are gone.
I've tried a lot of combinations of codepages and charsets, but the best
result
is the sample above.
Thanks in advance
Marcos?Antonio?Dellazari
55 - (45)?3520-6795
2006 Jun 27
2
special characters in db
This is my first message in this list, so hi everybody!!! (by the way, sorry
for my english)
I am developing a spanish applications, so some data has special characters
(?, ?, ?, etc...) in database....
The problem is that those caracters display incorrectly in browser, how can
I handle that situation with RoR???
Does it exist a "parser" that convert those characters in their
2012 Oct 10
6
How can I show only the shares that user have access to in SAMBA
Dear All,
I have implemented samba to right now in test environment to be implemented in production as? samba file server
so far its working grt
but I have one issue
i have right now one share and want only the users who have access to the share to see it
and the others should not
when I log into the user who has no access I see the share and when i double click it ask me for username and
2006 Nov 20
0
Problem with mixing regular kernels and 2.6.19 git kernels.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have a boot cd with multiple kernels to support various hardware, and was
recently adding the latest 2.6.19 git kernels. When I started with the git
kernels, it would boot, but could not mount the / root file system since the
block size was only 1024, and needed 4096. I found that changing the
mke2fs command with the -b 4096 option made this
2015 Mar 24
2
Question about performance difference between samba4 versions
Hi,
Can somebody maybe explain to me why there is a (huge) difference between
the default samba package in ubuntu trusty (4.1.6) and the from source
compiled stable version.
I cannot find the reason why the ubuntu version is so much faster when
doing a move (50 items p/sec) of a bunch of files and doing the same move
on the compiled version of samba (2 items p/sec).
Generic transfer rates